blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 2 327 | content_id stringlengths 40 40 | detected_licenses listlengths 0 91 | license_type stringclasses 2
values | repo_name stringlengths 5 134 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 46
values | visit_date timestamp[us]date 2016-08-02 22:44:29 2023-09-06 08:39:28 | revision_date timestamp[us]date 1977-08-08 00:00:00 2023-09-05 12:13:49 | committer_date timestamp[us]date 1977-08-08 00:00:00 2023-09-05 12:13:49 | github_id int64 19.4k 671M ⌀ | star_events_count int64 0 40k | fork_events_count int64 0 32.4k | gha_license_id stringclasses 14
values | gha_event_created_at timestamp[us]date 2012-06-21 16:39:19 2023-09-14 21:52:42 ⌀ | gha_created_at timestamp[us]date 2008-05-25 01:21:32 2023-06-28 13:19:12 ⌀ | gha_language stringclasses 60
values | src_encoding stringclasses 24
values | language stringclasses 1
value | is_vendor bool 2
classes | is_generated bool 2
classes | length_bytes int64 7 9.18M | extension stringclasses 20
values | filename stringlengths 1 141 | content stringlengths 7 9.18M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
cdb9c0fe2922832106b99617747ccf897e0d95c4 | 1e7503a32f037d8e4826d66911f7a96950841690 | /R/emigration_map.R | 0f60afc46efe8d962c9e752d590b9629e9a6dcd0 | [
"Apache-2.0"
] | permissive | willettk/nobel | bd7dcf6c1bdaee9839cafe684c5cc97147dacee7 | df7dd5f48735e84425e5eb2c62aac0d54636e9a9 | refs/heads/master | 2021-01-19T18:17:32.077865 | 2018-08-16T01:54:07 | 2018-08-16T01:54:07 | 68,550,062 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,433 | r | emigration_map.R | # Function for drawing arrows on paths
arrowLine <- function(x, y, color,N=2){
lengths <- c(0, sqrt(diff(x)^2 + diff(y)^2))
l <- cumsum(lengths)
tl <- l[length(l)]
el <- seq(0, to=tl, length=N+1)[-1]
for(ii in el){
int <- findInterval(ii, l)
xx <- x[int:(int+1)]
yy <- y[int:(int+1)]
## poin... |
b9102d6ccb093f91da0feacb54c695969551f67b | 11e7058fe6c009ff63b7977c6d5fd3ae426c817d | /f20-IBEVAR/figure20.R | 49cb13fc72c9a24a92407cee0b275fe46e1336d6 | [] | no_license | energy-modelling-toolkit/figures-JRC-report-power-system-and-climate-variability | 77d37a835761e28d6d59002c164ee88d67793e26 | ef4e431d2de5dc3d31c5e82af4edec3c1f9b1e41 | refs/heads/master | 2022-05-27T15:29:33.119267 | 2020-04-30T10:57:22 | 2020-04-30T10:57:22 | 259,654,008 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,089 | r | figure20.R | # This code has been used to generate the figures in the following report:
# De Felice, M., Busch, S., Kanellopoulos, K., Kavvadias, K. and Hidalgo Gonzalez, I.,
# Power system flexibility in a variable climate,
# ISBN 978-92-76-18183-5 (online), doi:10.2760/75312 (online)
# This code is released under Creative Commons... |
f2e1f9ad8357419e58a8810ff35f7613d891f891 | 1b7d9b59fbc41a83f204a7678ae1e9837a1aea22 | /scripts/XX_centre_of_gravity_plots.R | 610108438aff03e49bfc1e5c88a3cc93ca9c9d87 | [] | no_license | HelloMckenna/WKFISHDISH | 3ea6b1c5bdf5f112a4d7337d617330b8569748d2 | d170b6848814e5c3617b8a658f22c42088e5a577 | refs/heads/master | 2021-01-19T06:20:10.065618 | 2016-12-01T09:30:52 | 2016-12-01T09:30:52 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,791 | r | XX_centre_of_gravity_plots.R | # -------------------------------------
#
# Fit density surface for each species and survey
#
# -------------------------------------
source("scripts/header.R")
# read in spatial datasets
load("input/spatial_model_data.rData")
if (!dir.exists("figures")) dir.create("figures")
plot.report <- function(df) {
if (n... |
187305c19ff8a3cdca0dc24db0dabd72c428e3a8 | bb48af2d119db733039cacc40b5c2ad75565edbb | /01Data/ETL_dominant_race.R | c94f349ffdd663166c7c01b62a25903ecd425fdf | [] | no_license | CannataUTDV/s17dvfinalproject-dvproject5-wilczek-lopez-perez-pant | 5253f9df17d21c833e78cabd4e23147792b57c3e | f44c70a977eab274e22769c7c595cc9a32c4583c | refs/heads/master | 2021-01-20T04:50:36.757034 | 2017-05-02T17:17:58 | 2017-05-02T17:17:58 | 89,740,812 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,772 | r | ETL_dominant_race.R | require(readr)
require(plyr)
# Set the Working Directory to the 00 Doc folder
file_path = "../01Data/dominant_race.csv"
df <- readr::read_csv(file_path)
print(head(df))
measures <- c()
dimensions <- setdiff(names(df), measures)
# Get rid of special characters in each column.
for(n in names(df)) {
df[n] <- data.fr... |
3844f3218339aec6015a12baa5ac3e60740f5faa | bc2f20832f789add3a32d76c0df09ce0ee6158e2 | /R/help.R | ad90ab75e2b80eed1d1eac2933e851174cf2db70 | [] | no_license | ehsanx/matchingWeight | c8f35b7a2545d7dfd67ec04e5847fe9bb7f98cb7 | d6fa1db9fa69dd8eba66d509d7c14ba12cda6dc3 | refs/heads/master | 2021-01-03T19:20:16.214997 | 2014-08-26T18:39:10 | 2014-08-26T18:39:10 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 479 | r | help.R | #####################################################################################################
# Package documentation
#####################################################################################################
#' @title ggrfsrc package for smooth plotting of \code{\link{randomForestSRC}} objects.
#'
... |
d316e4204a505b19820f1149aa05580840995444 | 681241d52b64bbe04ac45dc474aea2e07c4a399b | /run_analysis.R | 4aad581dfd94e61abe093fb3c26fe4845b3f8933 | [] | no_license | dirkpadfield/getting_and_cleaning_data | 6b53c817284bc49787e823e79e3493e8bc9e382e | 195ec85f1f57df33fd82a67a6c6ad816cd4dbe7f | refs/heads/master | 2020-06-04T15:03:23.527765 | 2015-08-23T08:41:14 | 2015-08-23T08:41:14 | 41,239,385 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,751 | r | run_analysis.R | library(dplyr)
# This code reads a set of data and labels that are stored in multiple files and joins them together into a coherent dataframe.
# It also summarizes a subset of the columns to generate a tidy dataset.
# Merge the training and the test sets to create one data set.
# Read the train data
X_train <- read.c... |
42d0f987ba5fb2ca2ba9f168663c87b1126b6b64 | b5a1fdc3a50b2a87fd0cf26042b108727730afbf | /PlotVacantVsTotalUnitsV2.R | 0427825126903c1477c2c3ea146963860550a626 | [] | no_license | drjanieforbes/VacanciesVisualization | 0000c7a17ddf555e67787963e7539b10ba7380f9 | 0fa15df6b44ad764e34c777e358f7c9747ffbff1 | refs/heads/master | 2020-05-25T15:14:53.642111 | 2017-03-30T19:19:05 | 2017-03-30T19:19:05 | 84,943,112 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 20,706 | r | PlotVacantVsTotalUnitsV2.R | # ##################################################################
# Author: Dolores Jane Forbes
#
# Date: 03/10/2017
#
# Email: dolores.j.forbes@census.gov
#
# File: PlotVacantVsTotalUnitsV2.R Version 2
#
# Branch: Geographic Research & Innovation Staff/Geography
#
# ##################################... |
5e0451b3340bd721e9209efbecac7ba3a302b3b8 | 2f4ac698e45acd2509a7a2cfb6444ed44f07129a | /code/search.r | 9f12c7d4941512b9998e94fd824fd10366bd9379 | [] | no_license | lebebr01/software_pop | 63d506c5fda2aad64bf4dce4689c8e40c6ddd110 | d3b75c9778c27c43a9e7a2c63f1f4979f6fae1ce | refs/heads/main | 2021-07-30T04:37:05.625566 | 2021-07-20T18:31:26 | 2021-07-20T18:31:26 | 218,545,723 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,138 | r | search.r | library(pdfsearch)
# -------------------------
# Setup
soft_keywords <- c('SPSS Statistics', ' R ', 'SAS', 'STATA', 'MATLAB',
'Statistica ', 'Statsoft', 'Java', 'Hadoop',
'Python', 'Minitab', 'Systat', 'JMP', 'SPSS Modeler',
'Tableau', 'Scala', 'Julia... |
2d6260e50cdae9e98d922d9070219de8992d5ce2 | cedc620c85b5f34eb2ea5c1aa4b79354e7a57d21 | /man/plotPart.Rd | 24837c0e587b1f39214ad5f2782e38963fa3b990 | [] | no_license | AntonGagin/nanop | 35ba062587376eb351c63dcf6a94f5bcb2a4ff96 | 56211a00fecac9d95cb620189bfb72934ee4b750 | refs/heads/master | 2021-01-15T22:57:55.806166 | 2015-09-25T17:23:10 | 2015-09-25T17:23:10 | 33,210,645 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,590 | rd | plotPart.Rd | \name{plotPart}
\Rdversion{1.1}
\alias{plotPart}
\title{Draws a three-dimensional scatterplot}
\description{Function to visualize a nanoparticle using \href{http://CRAN.R-project.org/package=rgl}{rgl} package.}
\usage{
plotPart(nanop, radius=0.4, legend=TRUE, col=NA, box=FALSE,
play=FALSE, atoms=NA, miller=NA, lat... |
2498684b3c4bee68abb050012c3f24d829499f7f | e869c00a1e32dd8bc304ceb9e9843e87db91752c | /R/conformal_mapping_code_circlepack.R | 493c186c580f28ce0e52e73e539fca2f7c6ff3b1 | [
"MIT"
] | permissive | rdinnager/Australia_as_a_circle | 68246e7a078181182fa545423dfeb2ff3073157a | 5a96a48d5ffab35c98a05975f35bd643d7981dab | refs/heads/master | 2021-07-12T19:25:59.362236 | 2020-10-08T11:15:44 | 2020-10-08T11:15:44 | 212,463,175 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,271 | r | conformal_mapping_code_circlepack.R | library(rnaturalearth)
library(sf)
library(maps)
library(rmapshaper)
library(tidyverse)
library(ggplot2)
library(ggrepel)
library(ggforce)
library(distances)
library(spdep)
library(packcircles)
Oz_cities <- world.cities %>%
dplyr::filter(country.etc == "Australia",
pop > 1000000 | name == "Darwin" | ... |
e5d32990a22c82a1f5c15542f43099a1048710ec | 905ff318e8e26ab8121cef57034e08e459ff041f | /man/sq_numbers_cpp_tbb.Rd | b0d536558ce04323e399f6e25fb2c07e56a4546d | [] | no_license | thijsjanzen/enviDiv | 1442568cf490ba3bdd55bafe85c6f89f0f417e47 | a67953d35b08eaa305896d4dd799c3b911bb0f5c | refs/heads/master | 2021-06-28T13:40:22.413730 | 2020-09-09T06:29:45 | 2020-09-09T06:29:45 | 171,687,841 | 0 | 0 | null | 2019-09-05T11:30:48 | 2019-02-20T14:26:57 | R | UTF-8 | R | false | true | 380 | rd | sq_numbers_cpp_tbb.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/RcppExports.R
\name{sq_numbers_cpp_tbb}
\alias{sq_numbers_cpp_tbb}
\title{test multithreaded works!}
\usage{
sq_numbers_cpp_tbb(n, num_threads)
}
\arguments{
\item{n}{size of vector}
\item{num_threads}{number of threads}
}
\value{
vector of ... |
2e0fac7256d1a1b863a47ee3519e39952ececbdc | bfd0a3a3e84a6e8cb4f2806ddaf1dd771529cf31 | /R/gradethis.R | 86a397fded41ec3ce462251b6cfa2271a03a1fd8 | [] | no_license | DataScienceProjectsJapan/tutorialR4DS | e4964d1fae6b3f5d211640336da5f91d1efccbe7 | 6306130615f91add472afd73a1eff72a8f9145e9 | refs/heads/main | 2023-07-16T05:58:27.700536 | 2021-08-31T04:28:27 | 2021-08-31T04:28:27 | 394,162,367 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 238 | r | gradethis.R | ```{r delay-check}
gradethis::grade_this_code(correct = "Good work! Shortly we will learn an alternative way to construct a new variable with the mutate() function", incorrect = "Not quite. {code_feedback()} {random_encouragement()}")
``` |
dfec3ea47ea8fe5263729d0f4981ef5accbd4857 | 032d5b16e6d9afa5d08cae5e4121b4f2e5e161f6 | /map_event.R | 0200b0e26c186e0f86e11a7b0da45e3da4d20678 | [] | no_license | tysonwepprich/photovoltinism | 93d3dca661f97a3bb559c791b3bb7a90670eef67 | 7c951f4983570bbf9f7c894f887ce57ea2e096a1 | refs/heads/master | 2022-11-21T21:26:12.152840 | 2022-11-03T21:54:03 | 2022-11-03T21:54:03 | 100,308,351 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,724 | r | map_event.R | # Make pest event maps
# given a degree-day value, plot date it occurs by raster
# could also extract distribution of dates by shapefile polygons
library(sp)
library(rgdal)
library(raster)
library(ggplot2)
library(viridis)
library(mapdata)
library(dplyr)
library(tidyr)
library(geofacet)
theme_set(theme_bw(base_size ... |
789c1ba001b444e9e7f78ee96e6b232fee4a5f40 | a04b9f8edf6be22aa7ee7c6222bbb32cc6443b40 | /lib/helpers.R | a634b448fb17e7214ecdeb2d6bbaf4581ae19676 | [] | no_license | whasew/rstanPK | 560d8d74e3478135ef89782ae1c3c2e6fc2f9902 | 063b619c6565ac7846dbbbc402ef6f572b2c5d0d | refs/heads/master | 2021-01-01T20:42:33.982641 | 2015-04-11T08:14:45 | 2015-04-11T08:14:45 | 33,406,646 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 943 | r | helpers.R | f2n<-function(f) as.numeric(levels(f))[f]
geomSeries <- function(base, max) {
base^(0:floor(log(max, base)))
}
cumulationFactor<-function(tstar,k,n,tau) (1-exp(-n*k*tau))/(1-exp(-k*tau))
bateman<-function(Dose,time,fm,ka,CL,V,n=1,tau=24){
K<-CL/V
tstar<-time-(n-1)*tau
cumulationFactor(tstar,k,n,tau)
fm*k... |
fcbdfc0aee8df06c82d4269ff38209d985649526 | f4563b000f2db75daae46b5653d6afc0a432907f | /life-exp-across-canada.R | e8c484a384b46c178ce10e3325d399a5fb13bddc | [] | no_license | emily-gong/hackseq18_project8 | 22e529ef9923f783a41cb4a9bb6405113078a2b2 | 851d35c14a83cdc31bfc91c37f5eeb89076aa50d | refs/heads/master | 2020-04-01T06:19:45.419001 | 2018-10-14T21:38:32 | 2018-10-14T21:38:32 | 152,943,150 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 894 | r | life-exp-across-canada.R | library(data.table)
library(ggplot2)
library(plotly)
data <- fread("data/life_data_sep_avg.csv", sep = ",")
lifeExp <- data[data$Element == "Life expectancy (in years) at age x (ex)" & data$Sex == "Both" & data$GEO == "Canada",]
Age <- lifeExp[,lifeExp$Age_group]
LifeExp <- lifeExp[,lifeExp$AVG_VALUE]
Year <- lifeE... |
4209d9220848a959d72f6c3091bc01e80a8a8af3 | 3da145d8919a361f83ea04184d80c21c253ac981 | /LogisticRegression.R | 26d558f327f78984a353db5ac02a90e32fa64cc3 | [] | no_license | AJaafer/ML-Benchmark | 5c0b66416d96f8c722d3a2c3ec2f0cc94cd35455 | 457364f39737589ef54337c5a3c73b9abdf18754 | refs/heads/master | 2020-03-07T09:44:49.666028 | 2018-03-30T10:30:01 | 2018-03-30T10:30:01 | 127,415,225 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 779 | r | LogisticRegression.R | train=german_credit_dataset[-1,-1]
train$Good<- factor(train$Good, levels = c("1", "2"), labels = c("0", "1"))
install.packages('caTools')
library(caTools)
set.seed(88)
split <- sample.split(train$Good, SplitRatio = 0.75)
#get training and test data
dresstrain <- subset(train, split == TRUE)
dresstest <- subset(train... |
a0928912fff2e6659098ab27e06e1148e9405ca4 | c77734e81fec57e93f2b264e0367a90d3dba288f | /first.R | b2a231f037ab619f14c1997bc52da7349c515745 | [] | no_license | jfxu/Rcode | c6c01d44b15c7ae1959c36b0166c5918dbe2b60f | 2ebe98cdde2ccd82ca2876604237d49d50ae976d | refs/heads/master | 2020-04-08T10:30:05.754569 | 2015-04-13T21:42:44 | 2015-04-13T21:42:44 | 14,380,981 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 44 | r | first.R | ### A simple test for GitHub
set.seed(1942)
|
93e6762e0926a247620e0a85acc55897a0329418 | c5c1c9c8ebfc5a50de7550b67fad878666540336 | /jpg_convert.R | b1f99feb3fa28346cfb5fbb0f8bf8660bd440417 | [] | no_license | IngridLimaS/RGB | a2efbf18bebbc6e38a368e4c8b15c7805867dcc4 | 9f5090c2fe7cf97b5a958dc8b09d09e0a6a2b1ac | refs/heads/main | 2023-06-20T11:11:45.290975 | 2021-07-19T16:15:26 | 2021-07-19T16:15:26 | 377,680,618 | 0 | 2 | null | 2021-06-19T18:29:40 | 2021-06-17T02:19:22 | R | ISO-8859-1 | R | false | false | 842 | r | jpg_convert.R |
################################################
# D: Converter jpg em tiff
# Autor: Victor Leandro-silva, Ingrid Lima
# Criação: 19-06-2021
# Última edição: 21-06-2021
################################################
#dir
setwd("C:/Users/ingri/Documents/GitHub/RGB/imagem_para_cor")
getwd()
dir()
#packa... |
07bcb82fbc5213b5c432800e73d6daa3e3958d3c | 0500ba15e741ce1c84bfd397f0f3b43af8cb5ffb | /cran/paws.machine.learning/man/sagemaker_create_transform_job.Rd | 904959c131d54b8af8f2b1477b86a3185ce91eed | [
"Apache-2.0"
] | permissive | paws-r/paws | 196d42a2b9aca0e551a51ea5e6f34daca739591b | a689da2aee079391e100060524f6b973130f4e40 | refs/heads/main | 2023-08-18T00:33:48.538539 | 2023-08-09T09:31:24 | 2023-08-09T09:31:24 | 154,419,943 | 293 | 45 | NOASSERTION | 2023-09-14T15:31:32 | 2018-10-24T01:28:47 | R | UTF-8 | R | false | true | 5,292 | rd | sagemaker_create_transform_job.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/sagemaker_operations.R
\name{sagemaker_create_transform_job}
\alias{sagemaker_create_transform_job}
\title{Starts a transform job}
\usage{
sagemaker_create_transform_job(
TransformJobName,
ModelName,
MaxConcurrentTransforms = NULL,
Mo... |
1ee3142089ef3966e9375faaaa980b709005056d | 6929d12941949f290d98379913048ee93143e491 | /man/string_to_numeric.Rd | 38ed353c9671f7038a1b778ae36571b7f04f3d20 | [
"MIT"
] | permissive | srmatth/value.investing | 9aeaaa476e7731a6cf5a6012f4c0ae38f016dc42 | 720dbd7ba4f38c2ca896515d72cb2bfa4009582d | refs/heads/master | 2023-07-19T04:06:13.679639 | 2021-09-18T16:46:33 | 2021-09-18T16:46:33 | 275,306,180 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 482 | rd | string_to_numeric.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/fct_webscrape_utils.R
\name{string_to_numeric}
\alias{string_to_numeric}
\title{String to Dollar}
\usage{
string_to_numeric(x)
}
\arguments{
\item{x}{a vector of character strings that represent abbreviated
dollar amounts}
}
\value{
a double ... |
32e13db96a956fa7a97129b2215c76bb0c22dd65 | 0b1b048bc2c5efd33c7eadfd72862f758f9e2447 | /scripts/build_sqlit.R | bedc87454201b846f4acca91e1a28764aa374e45 | [] | no_license | biopig/chip-seq.snakemake | 1b7a634683f87a42823f4611fe67edc2cc852b77 | c2a9871266fea18561a216a24ce333c70ea69575 | refs/heads/master | 2020-04-28T17:01:32.922982 | 2019-11-24T12:38:25 | 2019-11-24T12:38:25 | 175,431,386 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 960 | r | build_sqlit.R | #使用genomicfeatures来构建txdb对象,首先就是安装对应的包
if (!requireNamespace("BiocManager", quietly = TRUE))
install.packages("BiocManager")
BiocManager::install("GenomicFeatures", version = "3.8")
BiocManager::install("biomaRt", version = "3.8")
library("GenomicFeatures")
library("biomaRt")
library("httr") #in china will ... |
933e0de847e7a3f8e7fa4d9f3eeb256ac53143a1 | c843f06528d8512f85cdd8a29337c567125604c9 | /supplement_paper/Rscripts/IMG_GenBank_Datasets/IMG_tvt_selection.R | 557644f22d305978212e945efa4a79c3aa382df0 | [
"MIT"
] | permissive | JakubBartoszewicz/DeePaC | 0f036f8e729135cf2d06e1efbac6dca4dfd08ab2 | eab1be09df6bc0bdc7a015c48a5d9636ed9516e5 | refs/heads/master | 2023-08-05T02:24:22.441187 | 2022-12-21T10:48:45 | 2022-12-21T10:48:45 | 199,677,945 | 3 | 2 | MIT | 2023-07-06T23:35:37 | 2019-07-30T15:23:09 | Jupyter Notebook | UTF-8 | R | false | false | 9,795 | r | IMG_tvt_selection.R | set.seed(0)
library(stringr)
date.postfix.img <- "_fungi"
random.best <- FALSE
ambiguous.species <- FALSE
# no of folds to generate
k <- 9
validation_percent <- 0.1
test_percent <- 0.1
fold_names <- paste0("fold", 1:k)
download_format = ".fna"
# no of folds to download
k_download <- 1
# generate urls
urls <- TRUE
IM... |
c95bd768365e1eb211872663e2e9d64014c00403 | 7b1c749b93cde9572c32af65a34d86f708dac114 | /TP2/acp.R | 37ce87c232e503277b9a951c7dd10f0894e835fb | [] | no_license | slebastard/PISA_Results_Analysis | 5dfb996ac897c2c8e9fbf208515684ca8fe02807 | 11afe131bd44effb1caecd7cdab9c743399b051f | refs/heads/master | 2021-01-10T04:13:06.763735 | 2016-03-11T12:10:18 | 2016-03-11T12:10:18 | 51,708,109 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,445 | r | acp.R | rm(list = ls())
graphics.off()
Voitures <- read.table("emissions.csv", sep = ";", row.names = 1, header = TRUE)
Voitures <- na.omit(Voitures)
quant = Voitures[,1:9]
qual = Voitures[,10:11]
print(Voitures)
pairs(quant)
acp = princomp(quant, cor = T, scores = T)
summary(acp)
valp = acp $ sdev^2
dev.new()
plot(valp, t... |
a91f3c734ff461f953e11487fdcf9c3d5d04284a | 2b41bcab679bc4569261f22f0024a5e727e4f59f | /rnbl3_prophetX_Hols_clean.R | 8895b073211da99f46487c413463e9f89119789e | [] | no_license | akuppam/timeS | f86b5afe7d4f64be2d502322f36870e1bafba6af | 9299f1cedb0039a01e4afe4392f88ffdb40f2af1 | refs/heads/master | 2021-09-08T14:38:07.123880 | 2021-09-02T20:57:30 | 2021-09-02T20:57:30 | 147,609,389 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,866 | r | rnbl3_prophetX_Hols_clean.R | # ----------------------
# Prophet Model w/ regressors
# propherX
# ----------------------
library(corrplot)
library(plotly)
library(prophet)
library(tidyverse)
library(bsts)
library(prophet)
library(dplyr)
library(ggplot2)
# -------------------------------------------------------------------------
# --------------... |
0319039bd1e3865fc7164ec8009a483161a1187c | ea4fed8707dc916aa765137de316ce428ba29a06 | /h.R | c473a628050d18a13874a7eff426cfbf5a236d20 | [] | no_license | troywu666/R | 475fb38ec8bff948dc3117fddda2466a2f9a3982 | 62fdc26feddd71ae5b19f12a9772a09693ccc0d1 | refs/heads/master | 2020-07-19T00:30:55.700466 | 2019-09-12T14:07:06 | 2019-09-12T14:07:06 | 206,342,799 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 76 | r | h.R | x <- 0
x[1] <- 1
i <- 1
while (x[1]<100) {i=i+1;x[i]= x[i-1]+2}
print(x) |
b2cc09c8cfc2a10eac76cccf8a1d32a8f27bad50 | 837369fea4392c7429f3fe2ab8d2119b1b7013e2 | /plot3.R | d021972d9a08b6a67ff6cfcb985e2f127a655175 | [] | no_license | shadowmoon1988/ExData_Plotting1 | 7d0c1a8ac543bf81ff74dbb48aba602d41b0670c | c9a99f30c4a414f216756fcb50ce046ea409caaf | refs/heads/master | 2021-01-15T17:20:51.337941 | 2016-02-04T08:50:20 | 2016-02-04T08:50:20 | 51,030,906 | 0 | 0 | null | 2016-02-03T21:11:57 | 2016-02-03T21:11:57 | null | UTF-8 | R | false | false | 613 | r | plot3.R | library(data.table)
data <- fread("household_power_consumption.txt",header=TRUE,na.strings="?")
data[,Date:=as.Date(Date,format="%d/%m/%Y")]
data <-data[data$Date>=as.Date("2007-02-01")&data$Date<=as.Date("2007-02-02"),]
t <- strptime(paste(data$Date,data$Time),format="%Y-%m-%d %H:%M:%S")
png(file="plot3.png",width=480... |
b82a6780389e7c3d5c48fe04d3c839e6222c7f76 | 7c8b9c6b91d344acb7f3dd8212d3a8ec23488a9f | /App/HTMLR/input.R | 2624c7a33d7b84f6ee8f004a9230992a2b5fc662 | [
"MIT"
] | permissive | dnordgren/Finance-O-Tron | d69cd014a6e8a2e541191f5323f0aebeed0128ed | 22a98a1a4f39ad67d9a87fef73ac8bf760e1b10e | refs/heads/master | 2021-05-30T01:20:28.192056 | 2014-12-11T05:33:06 | 2014-12-11T05:33:06 | 26,923,922 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 918 | r | input.R | actionButtonHalf <- function(inputId, value){
tags$button(id = inputId, type="button", style="margin-top:10px", class = "btn btn-primary action-button shiny-bound-input", value)
}
actionButtonRow <- function(inputId, value){
div(tags$button(id = inputId, type="button", class = "btn btn-primary action-button shiny-... |
40934dbb3f6e26060a7bea6546c14c757311970c | 0ad1708efc25df24d2243f75d0fa54b920b2b1bb | /man/bootstrapThresholds.Rd | 8db07e25c6d6bfb0296753e0f34751d110f155c4 | [] | no_license | pearcedom/survivALL | 6cdc6112394b02904170e71c5ce49dd21ec3881a | efcbf6ba09cc90b8b14ee7e7491d5963b7298241 | refs/heads/master | 2021-01-15T23:22:20.393168 | 2018-05-24T14:52:04 | 2018-05-24T14:52:04 | 99,936,011 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,013 | rd | bootstrapThresholds.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/bootstrapThresholds.R
\name{bootstrapThresholds}
\alias{bootstrapThresholds}
\title{Calculate per-separation point hazard ratio thresholds}
\usage{
bootstrapThresholds(bs_dfr, n_sd = 1.96)
}
\arguments{
\item{bs_dfr}{A matrix of bootstrapped ... |
1e9a98eaa4a067f6b3f2ac0b1f251e268f3220f6 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/BiocInstaller/examples/packageGroups.Rd.R | fc9a18aa55e9b0b525116804661b1d5ecea92e06 | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 692 | r | packageGroups.Rd.R | library(BiocInstaller)
### Name: Package Groups
### Title: Convenience functions to return package names associated with
### Bioconductor publications.
### Aliases: biocases_group RBioinf_group monograph_group all_group
### Keywords: environment
### ** Examples
## Get the names of packages used in the book
## "B... |
709f3f60829b13de181eab81a91f1a21d82a513f | 3b62ffa02efef29b8bbaa9041d74a1ee72b4807a | /man/rhrIsopleths.Rd | 7faea9f927249663631cd174e4f3dccdd6fb1fad | [] | no_license | jmsigner/rhr | 52bdb94af6a02c7b10408a1dce549aff4d100709 | 7b8d1b2dbf984082aa543fe54b1fef31a7853995 | refs/heads/master | 2021-01-17T09:42:32.243262 | 2020-06-22T14:24:00 | 2020-06-22T14:24:00 | 24,332,931 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 562 | rd | rhrIsopleths.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/rhrIsopleths.R
\name{rhrIsopleths}
\alias{rhrIsopleths}
\title{Isopleths of Home Range Estimate}
\usage{
rhrIsopleths(x, ...)
}
\arguments{
\item{x}{Instance of \code{RhrEst}.}
\item{...}{see details.}
}
\value{
\code{SpatialPolygonsDataFram... |
feaf9e264bb125dc958d46dd50e04ff2bea51db2 | 6519538b5837012573465ce9471b053622fe0830 | /ZOL851/Elise_Zipkin/notes/ggplot2_demo.R | ebcb2a12a6c02107da316fd754dcd6c5fb8ac955 | [] | no_license | pvaelli/Advanced_Statistics | 926e4229918d3a50ceebeefdf4469e2173c08c95 | 27b628b0355f9c4d8f2e1648a33aa1ec21b230c5 | refs/heads/master | 2021-08-29T20:18:27.970826 | 2017-12-14T22:54:20 | 2017-12-14T22:54:20 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,848 | r | ggplot2_demo.R | install.packages("ggplot2")
library("ggplot2")
diamonds # sample dataset present in ggplot2 library
summary(diamonds)
help(diamonds) # can only do this because it's a sample dataset
ggplot(diamonds, aes(x=carat, y=price)) + geom_point() #(dataset, aesthetics, ) + layers for plot()
ggplot(diamonds, aes(x=carat, y=pri... |
2523f67aaa5b137bdfb806ebd6d00516ade1fe3a | e8dc4d4a4988126f8beedd9b8e920c8c0468df7a | /INPUT/script_gene.r | 9e166255410674f973d442cc2c0d8ebf9537f373 | [] | no_license | marta-coronado/master-thesis | ca5ddc36a1637487e4b0ad7872b1f65ce84cd466 | a0a1c19c3bd4b9a21f00731af7c7996d921cc13c | refs/heads/master | 2021-01-01T18:34:43.007019 | 2014-05-30T14:50:35 | 2014-05-30T14:50:35 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,872 | r | script_gene.r | library(car)
library(lattice)
library(ppcor)
library(pls)
rm(list = ls())
#data<-read.table(file="GENE",header=TRUE,sep="\t")
#data<-read.table(file="GENE.SHORTINTRON.65",header=TRUE,sep="\t")
data<-read.table(file="GENE.SHORTINTRON.65_8-30",header=TRUE,sep="\t")
data <- na.omit(data)
data <- subset(data,comeron... |
93a05d081ad0c132c736464c565ed6fd6a5f02a5 | 3ee266f78c11d751c94a0d8ca3d77bc216e4f621 | /code/2-prep_names.R | 6006b5e0d8f9d9e6651e2fb207c54285a4325c1e | [] | no_license | sakho3600/names_eval | c59a3a2b40e5d1947d38a83c981b56286a3e701b | 41f81ee5e9015db27489b49515a52e1125f89471 | refs/heads/master | 2020-05-09T22:54:35.115245 | 2017-09-14T15:31:59 | 2017-09-14T15:31:59 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,769 | r | 2-prep_names.R | rm(list = ls())
gc()
# Cole Tanigawa-Lau
# Sun Jul 16 10:21:19 2017
# Description: Prepare name strings from 2007 and late-2012 voter registers.
library(data.table)
library(stringr)
library(dplyr)
library(multidplyr)
library(parallel)
library(babynames)
source("code/functions.R")
# Clean up 2012 name strings with v... |
6262fbc021a023a846913384a83d44f48ee54179 | aba4026c593dc205b2b12735ec51427d0a1d1bd1 | /LFR_Data_Genration_File.R | daa527c258709884fb064cc518fd05bf63d6f109 | [] | no_license | Adnanbukhari123/SMA | 023256d2ad59ae7c9de8188a0947133df298c187 | a4a77795b2053aee370f272f2245597292b46bed | refs/heads/main | 2023-08-22T00:46:46.737724 | 2021-11-01T13:38:56 | 2021-11-01T13:38:56 | 423,462,535 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,243 | r | LFR_Data_Genration_File.R | library(ggplot2)
library(igraph)
library(writexl)
library(readxl)
config_df = as.data.frame(read_excel("SMA_Project/Configurations.xlsx"))
col_names <- c( "SNO","FileNO","n","pt", "n0", "mu","multilevel_community_modularity","walktrap_community_modularity", "infomap_community_modularity", "louvain_community_modulari... |
324030ecf95d22a10732a183e8b8a8d06c37f240 | 595a4ead5c1d7761c429d9dde8f3c84e5a6e99ca | /R/power_ftest.R | ca940231072dc598753a3d6138fc4497feb4852d | [
"MIT"
] | permissive | arcaldwell49/Superpower | 163804ae7682be43c3f7241671948bc73f1706ea | ed624538f6b28d9243720994b3428edfe80b8bfa | refs/heads/master | 2023-02-16T19:24:16.312351 | 2023-02-11T00:20:47 | 2023-02-11T00:20:47 | 206,843,269 | 60 | 17 | NOASSERTION | 2023-02-10T23:41:36 | 2019-09-06T17:28:44 | HTML | UTF-8 | R | false | false | 5,309 | r | power_ftest.R | #' Power Calculations for an F-test
#'
#' Compute power of test or determine parameters to obtain target power. Inspired by the pwr.f2.test function in the pwr package, but allows for varying noncentrality parameter estimates for a more liberal (default in pwr.f2.test) or conservative (default in this function) estima... |
bb6235a4ef8c6afb10ac8116835842fbe8904340 | 642d338221f44aad742b39230cffcbc297f48306 | /R/getANTsRData.R | 51a3ef9f194471840fb2b7de34269e8858d304b0 | [] | no_license | stnava/itkImageR | 3577ccb5785893c510f6e0fabd6a68d5d6c095a2 | 8b218e81d8e3cc642c8891a4eb4c43dc941cf870 | refs/heads/master | 2016-09-05T14:29:26.851337 | 2013-11-25T22:53:34 | 2013-11-25T22:53:34 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,260 | r | getANTsRData.R | getANTsRData <- function(fileid, usefixedlocation = FALSE) {
library(tools)
myusage <- "usage: getANTsRData(fileid = whatever , usefixedlocation = TRUE )"
if (missing(fileid)) {
print(myusage)
return(NULL)
}
# ch2b = brodmann ch2a = aal mnib = brodmann mnia = all mnit = tracts
myurl <- switch(... |
3430d7113a927cbb3161afbecf972cb4e5d2451a | 21d326b9b3f7acc825ee422e58a20ab1bfc4ab57 | /ui.R | 51205d1927973bdb5222f3ffed5c4ebeafcd1d83 | [] | no_license | jiayi9/diagrammer | 8a9c0d01886bb0e5fb642f6757f4fd8af61ca485 | 549935c04e23b2d356b13d7783406e379f1ccf87 | refs/heads/master | 2020-03-21T07:15:47.304190 | 2018-06-22T07:34:45 | 2018-06-22T07:34:45 | 138,270,521 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 182 | r | ui.R | library(shiny)
shinyUI(fluidPage(
navbarPage("Analytics",
tabPanel("Example",
DiagrammeR::grVizOutput("CHART",height = 700)
)
)
))
|
7717f7bd52965fc0e76407c14506b2e2b982c3cf | 6aed7b75c2bb33695908366e0faa14dfa42e5b35 | /R/code/total_entropy_utility.R | 646154d4c116cbeb323f3087f3eae573028886fd | [] | no_license | ebonilla/sequential_design_for_predator_prey_experiments | e026f1e876302d2f37f6c4443a5fb1cef4271522 | adc76644a203b922b6a586b0e0dafd393934ce6d | refs/heads/master | 2022-07-11T11:46:56.192525 | 2020-05-13T04:07:33 | 2020-05-13T04:07:33 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,679 | r | total_entropy_utility.R | #-----------------------------------------------------------------------------------------------#
# Script Name: total_entropy_utility #
# Author: Hayden Moffat #
# email: hayden.moffat@... |
80a8fd787dfd93ac3a41f33c7772cad69a765b8a | 10c2c5d15f68e6b01aea824e8515083faee9d77c | /R/plot.PAM.R | 9dca37d96373f6299118660a79ddf39d10a7d2b0 | [] | no_license | cran/PAMhm | 0d285b078cb745a32e6a09355bba0af6ff9f8a56 | af3755892dc8e20d5a98d41b653cd061495ee479 | refs/heads/master | 2023-07-27T13:12:33.167946 | 2021-09-06T06:50:02 | 2021-09-06T06:50:02 | 403,674,607 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,735 | r | plot.PAM.R | #' @noRd
plot.PAM <-
function (clust, what, res.folder = ".", cols = "bwr", trim = NULL,
winsorize.mat = TRUE, autoadj = TRUE, pdf.width = 13,
pdf.height = 10, labelwidth = 0.6, labelheight = 0.25,
reorder = c(TRUE, TRUE), r.cex = 0.5, c.cex = 1, PDF = TRUE,
PNG = FALSE... |
546068f9b11295f72bd23c5ccbabbbed6a78b617 | 91ae8c92263dacf2d0072d434e64171e6a77e143 | /chapter 14.4.4.1 exercise.r | 3f9b13de3721d208dbe6c11f1bdd9d9911f9bd87 | [] | no_license | lawrencekurniawan/r4ds | da41599a37a7fa5a1646aec8a0298d220faefaaa | bdcd898302c69ea774886ef5cf533763b2d419e2 | refs/heads/master | 2020-05-23T23:06:12.466441 | 2017-03-14T16:34:10 | 2017-03-14T16:34:10 | 84,798,748 | 0 | 1 | null | 2017-03-13T08:39:06 | 2017-03-13T07:53:58 | null | UTF-8 | R | false | false | 750 | r | chapter 14.4.4.1 exercise.r | library(tidyverse)
library(stringr)
#q1
regex <- "(the) ([A-z]+)" #replace (the) with (number) to find that there is 0 match
has_number <- sentences %>%
str_subset(regex) %>%
head(10)
str_view_all(has_number, regex)
#below is alternative with tibble to generate both the sentence and the ... |
0715582457c5bb228d458bbb7c0cfc1724c5decc | 21327fc1d5030fc4bb69e6505b66b471290fae5e | /overrideTestValue.R | e3b3c81658b3aecf493fae7c94e2cd72237418e7 | [] | no_license | sportebois/Rbash | 995f6c6aac874cde109c7ae661d76cc49d005421 | de809e643055f4856c5175bb44e71bdb4f4d53f3 | refs/heads/master | 2021-01-10T03:42:28.372645 | 2016-03-14T01:23:53 | 2016-03-14T01:23:53 | 53,816,427 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 105 | r | overrideTestValue.R | #overrideTestValue.R
print("sourcing 'overideTest2Value.R'")
options(test2="defaultTest2InOverrideFile")
|
2011e6901bbabf2271f98a787171e3b7ca092f57 | a0971d0f9a66d32318e2f1eb98ea2b4766288839 | /man/projMat.Rd | 43da5adfc86ed2de438577945a31e3370649241f | [] | no_license | cran/infoDecompuTE | cd4ed6500b6fc3353cb87af1c63f3f400aca3e33 | be77a310872650b7c2eba1bfb811d6f261b65d82 | refs/heads/master | 2020-06-06T21:24:21.145140 | 2020-03-28T08:10:02 | 2020-03-28T08:10:02 | 17,696,778 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 429 | rd | projMat.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/projMat.R
\name{projMat}
\alias{projMat}
\title{Construct a Projection Matrix}
\usage{
projMat(X)
}
\arguments{
\item{X}{a square matrix.}
}
\value{
A square matrix.
}
\description{
Compute the projection matrix from a square m... |
9b69690039461a2f9c69877991f60a002fabba8f | 7e06448831ee45fef970b6f705e08b1de01911e1 | /Basic R_1/GraficosTarea.R | a6d35fd9f4a58163c34a56c8749a0cb3d31f3fc7 | [] | no_license | ejgarcia1991/UniversityProjects | e9a3e5cfbcbdfe06a5ff11ba4eb5f54daa7faeca | 334aa97058c6f17a183ad48ab289e1bb22488060 | refs/heads/main | 2023-02-18T06:27:01.277050 | 2021-01-19T16:09:05 | 2021-01-19T16:09:05 | 330,946,626 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,260 | r | GraficosTarea.R | #Ejercicio 1
#Mostrar graficamente la informacion correspondiente a summary(iris[1:4]).
#Pista: uso de boxplot
boxplot(iris[1:4])
#Ejercicio 2
#Rellenar una matriz nrow = 200, ncol = 4, con numero aleatorios cada
#columna, supongamos que son las tasas de exito en clasificacion
#correspondiente a 4 algoritmos distinto... |
14a40675214aa9e86b11ede969d57ec20a3606cc | 9ad4b4acb8bd2b54fd7b82526df75c595bc614f7 | /Plot/PlotEloRD_PBMC_Umap.R | 9ae7d567452dae904210d767b9f3ae3bbc111480 | [] | no_license | sylvia-science/Ghobrial_EloRD | f27d2ff20bb5bbb90aa6c3a1d789c625540fbc42 | 041da78479433ab73335b09ed69bfdf6982e7acc | refs/heads/master | 2023-03-31T14:46:27.999296 | 2021-04-02T15:09:49 | 2021-04-02T15:09:49 | 301,811,184 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,632 | r | PlotEloRD_PBMC_Umap.R | library(wesanderson)
library(RColorBrewer)
library(scico)
library(pals)
library(nord)
library(palettetown)
# Plot EloRD_PBMC_noNPBMC Umaps
folder = paste0('/home/sujwary/Desktop/scRNA/Output/Harmony/Batch_Sample_Kit/Cluster/PCA30/res3/Plots/Paper/EloRD_PBMC/')
data_harmony_run_label_remove = data_harmony_run_label_r... |
746cd6094d78acef6684c00019f79bdc80982b88 | ebfa2d15c93474e0118f8bec9987d135c45bf42d | /format_process_data.R | a3d03d6f6af9ed5e3cf22b0d10df8441ec145834 | [] | no_license | daviinada/dashboard_precipitacao | 983ce5aa48203fd5b3d746e6f041e62626750097 | bc76e174e0fb13efd1698550a51a18e11ea08461 | refs/heads/master | 2020-03-16T04:00:13.074074 | 2018-05-08T12:59:22 | 2018-05-08T12:59:22 | 132,500,676 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,686 | r | format_process_data.R | library(ggplot2)
library(dplyr)
library(tidyr)
library(readxl)
library(lubridate)
library(plotly)
library(heatmaply)
library(qgraph)
library(highcharter)
library(dygraphs)
library(d3heatmap)
setwd('/home/toshi/Desktop/work_butanta/dashboard_precipitacao/')
raw_data <- read_excel(path = 'tabela_precipitacao_tome_acu.x... |
bbd8507ac796c5acaf468b76c7965a86c54fe35f | 8062b05ae60f135948d94eb8576845cfd49872a4 | /man/fuzzyBHexact.Rd | acafa2ced76b768f0c8e23122e17f959615fbdee | [] | no_license | cran/fuzzyFDR | 4c40bf07e4085af2e4ca348f7658186138bc8768 | 20eea638d935915d825bd6245dc2514de950c546 | refs/heads/master | 2016-09-11T04:03:10.368045 | 2007-10-16T00:00:00 | 2007-10-16T00:00:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,474 | rd | fuzzyBHexact.Rd | \name{fuzzyBHexact}
\alias{fuzzyBHexact}
\title{Exact calculation of fuzzy decision rules (Benjamini and Hochberg
FDR)}
\description{
Exact calculation of fuzzy decision rules for multiple
testing. Controls the FDR (false discovery rate) using the
Benjamini and Hochberg method.
}
\usage{
fuzzyBHexact(pvals, pprev... |
8ce35dc5be702f7dba6d17b2eec7b9c42425e08e | 4bd7d7f4ea836ea8ff61f6ca66df766cb9ac831d | /Derby Horse Sentiment Analysis.R | bb690ddf6ddf934c6c8c5f67d50200d613df145e | [] | no_license | nick-holt/kentuckyderby144 | 7c26e6728eff9b5e42196f1e1fb57e5b5d45fd10 | 53389279b7c02328720c0f0cb28f530f3e6817f8 | refs/heads/master | 2020-03-15T12:29:26.910759 | 2018-05-04T13:54:42 | 2018-05-04T13:54:42 | 132,145,309 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,428 | r | Derby Horse Sentiment Analysis.R | # 2018 Kentucky Derby (144th) - Social Listening Analytics Visualization Demo
# libraries
library(tidyverse)
# read in data
derby <- read_csv("derby_book_2018.csv")
colnames(derby) <- tolower(str_replace_all(colnames(derby), " ", "_"))
colnames(derby) <- str_replace_all(colnames(derby), "_tweets", "")
# re... |
e86eb252fe5c4851fa4106e088f5061728e415c1 | 6bd5b97104280c2f2d80fd233923dcd8cb4b2304 | /run_intcode.R | c21d9fa6efb60865e9856baee3d897bf4480b3a8 | [] | no_license | cettt/Advent_of_Code2019 | 0982fce90118faed23d212beae9dfe304cfde6e0 | 2d467a0120624fc37b721581286a8c3486c9ab51 | refs/heads/master | 2023-02-15T12:42:13.475154 | 2021-01-03T14:46:44 | 2021-01-03T20:20:09 | 326,495,655 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,474 | r | run_intcode.R | #this is the base function for running intcode and can be usesd starting on Day 9
# z is the intcode programm (usually the problem input)
# input_fun is a function which generates an based on previous outputs
run_intcode <- function(z, input_fun = function(output) 1, o_fun = NULL, j = 1L,
base ... |
7acff1dd2235cca33c15cd50a06829df15102bcc | 2bec5a52ce1fb3266e72f8fbeb5226b025584a16 | /lsbclust/man/summary.int.lsbclust.Rd | 8cfdfa49bfce8ea574dbaa58f5be4cb8425c8de8 | [] | no_license | akhikolla/InformationHouse | 4e45b11df18dee47519e917fcf0a869a77661fce | c0daab1e3f2827fd08aa5c31127fadae3f001948 | refs/heads/master | 2023-02-12T19:00:20.752555 | 2020-12-31T20:59:23 | 2020-12-31T20:59:23 | 325,589,503 | 9 | 2 | null | null | null | null | UTF-8 | R | false | true | 511 | rd | summary.int.lsbclust.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/summary.int.lsbclust.R
\name{summary.int.lsbclust}
\alias{summary.int.lsbclust}
\title{Summary Method for Class "int.lsbclust"}
\usage{
\method{summary}{int.lsbclust}(object, digits = 3, ...)
}
\arguments{
\item{object}{An object of class 'in... |
0b5c8275ddfbc9452d0b6391f769dfe9323ab493 | 3e5abd06979afc7b8da873831279ea6739b37961 | /man/report_get.Rd | 7a65e1bd57b51941a1089803c9f0bfe1408774bf | [] | no_license | isabella232/crowdflower | f0f704669cc29d7713ee94687b260b1f88ec04c5 | 6d545e8d2106fdaf3b1c44ac5bfcfc0f9ec89a1b | refs/heads/master | 2022-04-11T02:24:55.272712 | 2017-08-28T16:12:25 | 2017-08-28T16:12:25 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 2,537 | rd | report_get.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/report_get.R
\name{report_get}
\alias{report_get}
\alias{report_regenerate}
\title{Generate and retrieve job results}
\usage{
report_get(id, report_type = c("full", "aggregated", "json", "gold_report",
"workset", "source"), csv_args = list(... |
3c36df9ac1a4c9918fc0f39156dae71d0437edd8 | 302d026524486f0ad386599fac8dd4f57278ba38 | /man/modelSetPredictors.Rd | 5aadc8b6f601c7d9f133d1ab0905078ab7c43927 | [
"CC0-1.0",
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | cwhitman/GenEst | 96d72e50eafe5e71c25a230c8046f80e152b1963 | 7c84c887b3f671fa8786eee8077512b8d80b7883 | refs/heads/master | 2020-03-30T18:03:28.168191 | 2018-10-11T07:04:03 | 2018-10-11T07:04:03 | 151,481,672 | 0 | 0 | NOASSERTION | 2018-10-03T21:17:44 | 2018-10-03T21:17:44 | null | UTF-8 | R | false | true | 424 | rd | modelSetPredictors.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/model_utility_functions.R
\name{modelSetPredictors}
\alias{modelSetPredictors}
\title{Determine the predictors for a whole model set}
\usage{
modelSetPredictors(modelSet)
}
\arguments{
\item{modelSet}{model set}
}
\value{
vector o... |
333c1f107c270f305d3fa001f731e2acaa586f18 | f3dbe1612c0e80886df0e2fd02a444b5f7d5efa9 | /man/LVMMCOR.Rd | b7066053c1749de1a59c92e0c2e70aad27647d58 | [] | no_license | cran/LVMMCOR | 072778f2546f565290c4187ad3c22dda48b36d94 | e6958dbf94bd6807c418efb20c03578236e59131 | refs/heads/master | 2021-01-13T02:11:53.987968 | 2013-05-10T00:00:00 | 2013-05-10T00:00:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,172 | rd | LVMMCOR.Rd | \name{LVMMCOR}
\alias{LVMMCOR}
\title{
A Latent Variable Model for Mixed Continuous and Ordinal Responses.
}
\description{
A model for mixed ordinal and continuous responses is presented where the heteroscedasticity of the variance of the continuous response is also modeled. In this model ordinal response can be ... |
cf4a3b37191dfb287c84b5aef4561a3056782e20 | dfb18d1b4608c4404cc291a5232692abe04ca230 | /R/phase.zg.R | dae84e40c2e2da00ab99a9d775a80495ae116f11 | [] | no_license | sugam72-os/dendRoAnalyst-1 | 0d2fb30336cc7fa287eb428472347a711bd6aaf9 | 9b009f909dddbbba0837f6e2aa18b97f0b2e17c8 | refs/heads/master | 2022-11-13T16:15:10.604682 | 2020-07-03T18:00:07 | 2020-07-03T18:00:07 | 285,296,186 | 1 | 0 | null | 2020-08-05T13:28:24 | 2020-08-05T13:28:23 | null | UTF-8 | R | false | false | 14,954 | r | phase.zg.R | #' @title Application of the zero-growth approach to calculate different phases, their duration and to plot them.
#'
#' @description This function analyses data using the zero-growth approach. Initially, it divides the data in two categories: 1) Tree water deficiency (TWD), i.e. the reversible shrinkage and expansion... |
0043ba3fa23a9645aaed2ce2b789b2f38df43c6a | 21d829fe665a3177c03b2020c581399a51a1ba6c | /scripts/20181027_sfs_generation/new_sfs.R | cd4103e383082ff736bd703bfd088a983e5afa74 | [
"MIT"
] | permissive | AndersenLab/sfs-dfe | 1cd88ca511d4cc5bcf8fa5fc3f1c2bb64387817a | 1c466e0fb8c96c8823238af90cac0909d3b8011c | refs/heads/master | 2021-10-08T05:04:44.974223 | 2018-12-07T23:04:17 | 2018-12-07T23:04:17 | 105,313,149 | 0 | 1 | null | 2017-10-02T13:04:26 | 2017-09-29T20:14:25 | Python | UTF-8 | R | false | false | 3,271 | r | new_sfs.R | #!/usr/bin/env Rscript
library(tidyverse)
library(glue)
multi_dfe_out <- function(df, fname) {
writeLines(
c(
nrow(df) - 1,
paste(df$Selected, collapse =" "),
paste(df$Neutral, collapse =" ")
),
con = glue::glue(fname),
sep = "\n"
)
}
# writing function
process_sfs <- function(... |
ae7d21104a57d6de91faaeb308e18d7b260011f9 | 439322912321e742e7f92374ecb76c76743984cb | /R/generics.R | 0f8c2074053df7a02ae67bcbb021801731d3275d | [
"MIT"
] | permissive | vbaliga/univariateML | 62d2c00017b93f2e1ed8357dd5d9062cf66744cd | 0410647e2528dc61fa7b7b7cce95273777059baf | refs/heads/master | 2020-09-11T19:04:44.904257 | 2019-11-24T19:12:20 | 2019-11-24T19:12:20 | 222,160,994 | 0 | 0 | NOASSERTION | 2019-11-16T21:23:07 | 2019-11-16T21:23:07 | null | UTF-8 | R | false | false | 5,529 | r | generics.R | #' Wrangles arguments for use in the plot, lines and points functions.
#'
#' @param x The input data.
#' @param range Range of the data.
#' @param points Boolean; should points be plotted by default?
#' @keywords internal
plot_wrangler = function(x, range, points = FALSE, ...) {
if(is.null(range)) {
if(abs(attr... |
387489689298a4d8d3c426c2a857a3d4ae3119dd | 6c71e2f04573abc8498a6ba1303413c088bbaec8 | /Evaluacion.R | deb98bb034248a455cd492d4ccc1d3b3d336d742 | [] | no_license | Jgallo-R/TareaClase05 | f8c86375a11086c5d20d96fed7529661ffc3e72a | 51d243b84c18056983cdd9b999ab9862af98d4c1 | refs/heads/master | 2022-11-10T22:35:18.667881 | 2020-06-21T01:45:15 | 2020-06-21T01:45:15 | 273,814,931 | 0 | 0 | null | null | null | null | ISO-8859-1 | R | false | false | 17,237 | r | Evaluacion.R | ############################################# EVALUACION ##########################################
# Describir modelos AR(2), graficarlos para valores diferentes
# de los argumentos (ar=c(p1,p2))
#AR(2)
AR2 <- arima.sim(model=list(order=c(2,0,0), ar=c(0.1,0.2)),
n=100, sd=0.1)
#Prob... |
7b8202045d93426ffd7b40a2dd36d0f7525f25e4 | e4b5596f5dc9dd0b1408ee2a72d5274eb97fc0a5 | /Course2/week3/w3.R | 4b6b2bc55651f0c14d06ce1bbd7c686c84be3a16 | [] | no_license | luuduytung/statistics-with-r-coursera | 145cd0541fb1b4e0de24526cc9e40ed0df261708 | bee573560badb61500cbb713f2a131c7250bfda8 | refs/heads/master | 2020-03-31T13:43:06.435476 | 2018-10-09T23:15:55 | 2018-10-09T23:15:55 | 152,266,738 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 701 | r | w3.R | library(statsr)
library(dplyr)
library(ggplot2)
data(nc)
str(nc)
summary(nc$gained)
ggplot(data = nc,aes(x=habit,y=weight))+geom_boxplot()
nc %>% group_by(habit) %>% summarise(x_bar = mean(weight))
nc %>% group_by(habit) %>% summarise(nb = n())
inference(y = weight, x = habit, data = nc, statistic = "mean", type = "... |
5bf7b4c19cf2a235720371db10bfa3cd8a6fafba | 5e2726e2ea5bff209473d757bce76ac20e4bd17a | /fishy_hz.R | b755ed47382b3540f834f67f7b658a1d52735569 | [] | no_license | julievdh/FHL | f8170d01300897b2d4a0359883ca7830ec24d917 | ad68e1d2615b8f09a84090a1d3de9de6cc04679b | refs/heads/master | 2020-04-24T17:48:22.110459 | 2018-05-27T16:04:29 | 2018-05-27T16:04:29 | 38,321,517 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,801 | r | fishy_hz.R | # look at fin beat stuff....
# David L Miller 5 December 2017
hz <- read.csv("FishVO2Hz.csv")
# make codes for the speeds
hz$speedcode <- "H"
hz$speedcode[hz$speed == 0.5] <- "L"
hz$speedcode[hz$speed == 1.5] <- "M"
# speeds set at 0.5, 1.5 and then the max that got data for both turbulent
# and laminar flows. (Me... |
7a6df44812890c492ab702c67fa9c78695e5e0eb | 2704ea941fbbd3f3e0a9ac7cf03b03111429b46c | /man/WRRnnls.Rd | 6a7732d93db041ce972266dc2c2740f12a032d07 | [
"Apache-2.0"
] | permissive | olangsrud/experimentalRpackage | 6b43daf72e56069161ec36605c548f4a628f72f9 | a897f1f608af62c8fafb2a51d8f06a0764902a85 | refs/heads/master | 2021-09-24T23:05:52.640787 | 2021-09-16T13:54:19 | 2021-09-16T13:54:19 | 215,278,537 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 2,503 | rd | WRRnnls.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/WeightedRidgeRegression.R
\name{WRRnnls}
\alias{WRRnnls}
\alias{WRRginv}
\alias{WRRglmnet}
\title{Special weighted and ridge penalized regression}
\usage{
WRRnnls(x, y, xExact = NULL, yExact = NULL, wExact = 1000, lambda = 1e-04^2)
WRRginv(x... |
62fb70eec3304d108affe82f1b87bd16941285a4 | 94e33777e055bf71f867bd158d25f76d75e01bcc | /R/read_SegmentDirectory.R | e23be11eb673f46a524dd8dbc1c1fc001d812a48 | [] | no_license | norgardp/psd4 | 305bd8094815dca6cf55f276e5b6d37f29ecb82c | 5b8a291c6b4e072d463876b4e88d771256e98783 | refs/heads/master | 2022-09-24T15:13:36.762092 | 2020-06-03T20:25:59 | 2020-06-03T20:25:59 | 269,189,048 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 703 | r | read_SegmentDirectory.R | read_SegmentDirectory = function(dname, dets=NA, type)
{
initial_directory = getwd();
setwd(dname);
# Determine if some or all detectors are to be included in the return list
detectors = dir(pattern = "det[0-9]{2}.raw");
if( (length(dets) > 1) & !any(is.na(dets)) )
{
desired_detectors = sapply(1:length(dets), ... |
a6801b1c5bd2f6afb10f8c1affb9f35582eb44ed | 74fa8fe5f0d5568fcde60e569463469a8d172190 | /man/get_mentioned_gkg_gcams.Rd | 5904086f05252f99f459b4f89ef9b2a423ac9e59 | [] | no_license | raj0926/gdeltr2 | d3d792affdef8230a4cf4a86cbc15aecad07b670 | 398a97a64bebac6a1662da2fcb5d5b65f33c2f2b | refs/heads/master | 2020-12-25T11:21:05.914927 | 2016-06-05T18:30:59 | 2016-06-05T18:30:59 | 60,638,860 | 2 | 0 | null | 2016-06-07T19:02:54 | 2016-06-07T19:02:52 | R | UTF-8 | R | false | true | 403 | rd | get_mentioned_gkg_gcams.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/gdelt_event_gkg.R
\name{get_mentioned_gkg_gcams}
\alias{get_mentioned_gkg_gcams}
\title{Returns GCAM codes from a gkg data frame}
\usage{
get_mentioned_gkg_gcams(gdelt_data, merge_gcam_codes = F, filter_na = T,
return_wide = F)
}
\arguments... |
64370aeb15a3cf2c0f9bb62c71d1d16df2bc1210 | 96de9c558793e8a9d88406d4848112d28b9f3a8b | /server.R | 7b914930651d81002e5883b05fdf6a68af9258c8 | [] | no_license | xujz4f/Shiny-Application-and-Reproducible-Pitch | 7226f126636b25bbe2269fe98a3108051311f824 | 493d4ee739ce0ea0886087037a2b891a6fd66664 | refs/heads/master | 2021-01-21T06:39:34.742869 | 2017-02-27T04:30:07 | 2017-02-27T04:30:07 | 83,268,320 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 221 | r | server.R | library(datasets)
function(input, output) {
output$phonePlot <- renderPlot({
barplot(WorldPhones[input$year,],
main=input$year,
ylab="Number of Telephones",
xlab="region")
})
} |
513f54438ae412c24c3a455eeee4d036f96a04db | df84e16f31db27af9cb69d95cd802ef7e4b4a065 | /R/get_functions.R | 76c61bc8de05eddd1b54e34d658578a3fc8f3f1e | [] | no_license | banskt/ebmr.alpha | 375d1cace6dce2c59e5ddf0095c3eec36d30d80b | 53c025f09e46f72e20f7240839408c79fbcfc807 | refs/heads/main | 2023-03-22T00:52:12.301317 | 2021-03-15T18:25:00 | 2021-03-15T18:25:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 110 | r | get_functions.R | ebmr_get_elbodiff = function(fit){
niter = length(fit$elbo)
return(fit$elbo[niter] - fit$elbo[niter-1])
}
|
96653fe856ed2cb6cc62744fb482e10721c3d87d | 1c0975d66acdc096f06f7827618f69a6792a3e77 | /man/match_font.Rd | 7e741ab85d1be697e0262dc635f72bd0de9a7647 | [
"MIT"
] | permissive | r-lib/systemfonts | 2ad74f06f42e54e0bc48d5dd88c8e9cbc3442818 | 4ccb03c9e5d6f64b63fcd5e133830f906dab405f | refs/heads/main | 2023-05-10T23:41:40.440662 | 2023-05-08T14:04:11 | 2023-05-08T14:04:11 | 190,163,549 | 58 | 16 | NOASSERTION | 2023-04-20T01:16:32 | 2019-06-04T08:45:46 | C++ | UTF-8 | R | false | true | 1,021 | rd | match_font.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/match_font.R
\name{match_font}
\alias{match_font}
\title{Find a system font by name and style}
\usage{
match_font(family, italic = FALSE, bold = FALSE)
}
\arguments{
\item{family}{The name of the font family}
\item{italic, bold}{logicals ind... |
673bd9d16c4b7be0b033c2b14cde51361da57869 | d5e85cab536f569fb662d942ebe1d51315234ab5 | /man/HiddenF.Rd | a99c6e640a0608783966de33897bef9f277beef7 | [] | no_license | cran/hiddenf | 60017a965a7200d172da4ded5b42197327c33f34 | 2e26480358c38caa1da8fc08da4c0c320d8ca6a7 | refs/heads/master | 2020-12-24T15:49:52.621097 | 2016-01-05T22:29:08 | 2016-01-05T22:29:08 | 20,746,855 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,452 | rd | HiddenF.Rd | \name{HiddenF}
\alias{HiddenF}
\title{Hidden F function for matrix data
}
\description{
Fits linear model to ymtx, a matrix of responses of dimension r-by-c. Constructs all possible configurations of rows into two non-empty groups, then, for each configuration, fits full factorial effects models with three factors for... |
cd6f91e2d1d0f786da3fd70139221dea46f37362 | 46c1cdb91955b383ea6176d108f2d67fd0cd5a8d | /ISCAM2/R/iscamaddlnorm.R | 58fe85faf9a55f4c56a68179bbe8ad15b9d87c91 | [] | no_license | shannonpileggi/SP--Pablo--RProgramming | 0f1a6621847d013e0c445059894e5bad5a940086 | ad60dc509b077dd9657f7e97f587809251e19c18 | refs/heads/master | 2018-10-22T19:21:27.375766 | 2018-07-21T07:01:43 | 2018-07-21T07:01:43 | 114,397,446 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 452 | r | iscamaddlnorm.R | #' iscamaddlnorm Function
#'
#' This function creates a histogram of the inputted variable and overlays a log normal density function.
#' @param x a vector of numeric values.
#' @keywords lognormal
#' @export
#' @examples
#' iscamaddlnorm(x)
iscamaddlnorm <- function(x){
hist(x, freq=FALSE, xlab = deparse(substitute... |
a7be725e7d5b3e7e4dcea16a1da5a883ffba26cc | 8951569f9b40c540e8606867db71c40a27539422 | /2019_R_Files/Partials_Header_Treatment.R | 2f62aa7627fdf5869151752418339c58a071300f | [
"CC-BY-4.0",
"MIT"
] | permissive | HannesOberreiter/coloss_honey_bee_colony_losses_austria | 3be5c198d8e253d3e6c810025b71bf63b7b933e4 | f1bdb47e2c5e647788a080925a82c21e51e0199e | refs/heads/master | 2021-06-15T13:09:58.171620 | 2021-04-02T12:33:22 | 2021-04-02T12:33:22 | 181,077,729 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,899 | r | Partials_Header_Treatment.R | ##############################
### Survey Bee Hive Losses ###
# (c) 2019 Hannes Oberreiter #
##############################
##############################
# List of Factors we want in our Plot
treatmentList = list(
c("T_drone_", "T_drone_total", "Drone brood removal"),
c("T_hyperthermia_", "T_hyperthermia_total", ... |
57d0084c7e0f061119df7ec1ad13be305b0d0d51 | c365e70f7489e674a1785db128f7aab931322333 | /fig/plot2.R | 4348ab15dba2bac293886e9d3f9d54877e90ab6a | [] | no_license | varghesearunct/ExData_Plotting1 | 042c47eaf407f3b782c225647e5a1d93ccbdc63c | ae975c13f3ffef3f1cedd7cd6a86b7434adf5ca5 | refs/heads/master | 2020-12-24T12:34:35.352239 | 2016-11-06T08:15:38 | 2016-11-06T08:15:38 | 72,976,288 | 0 | 0 | null | 2016-11-06T07:30:05 | 2016-11-06T07:30:04 | null | UTF-8 | R | false | false | 786 | r | plot2.R | #opening file "household_power_consumption.txt"
f<-file("household_power_consumption.txt")
#reading only the lines starting with 1/2/2007 or 2/2/2007
val<-read.csv(text = grep("^[1,2]/2/2007", readLines(f), value = T), sep = ";",stringsAsFactors=F,header=F)
#naming the column variables
names(val)<-c("Date", "Time"... |
297fc9abf1c3747e9a6fd2687aa08fb596d2754d | ecc6602d6be09b1e24160da680dc0068710660d7 | /man/power.RatioF.Rd | 43f6b6e3671c76d44fb5feff251f9de8a9a8736e | [] | no_license | ShuguangSun/PowerTOST | a60e97794d00301d048a7cba2b84454be3493b59 | b94655713782cab9ba09ac9ecb2042731ce9d272 | refs/heads/master | 2020-08-03T07:46:11.927805 | 2019-09-25T08:41:58 | 2019-09-25T08:41:58 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,902 | rd | power.RatioF.Rd | \encoding{utf-8}
\name{power.RatioF}
\alias{power.RatioF}
\title{
Power for equivalence of the ratio of two means with normality on original scale
}
\description{
Calculates the power of the test of equivalence of the ratio of two means
with normality on original scale.\cr
This test is based on Fieller’s confidence (... |
698a3f125302960076debf9d66b0240d0284162e | 639b8ca98fe73eb7732322ea2260031286f4aedc | /Dropbox_Conflicts/main (Ben Gibson's conflicted copy 2015-01-17).R | 09cad27a44a49b6cc19ca87726cf9fa51da36d33 | [] | no_license | cbengibson/QCArevision2 | 373d443b390597c10561b1ef1fdb700bc80db4bb | 2b50bad8e79cc194af50490cf357bcbb6b54f785 | refs/heads/master | 2020-06-16T08:27:20.749639 | 2017-03-01T23:02:28 | 2017-03-01T23:02:28 | 75,122,791 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 323 | r | main (Ben Gibson's conflicted copy 2015-01-17).R | laQCA<-function(mod, ncut="", sim=100){
source("sim.ltQCA.R")
source("configuration.table.R")
library("QCA")
#
#if (type=="crisp"){
s.data<-sim.ltQCA(mod, ncut=ncut, sim=sim)
#}
#if (type=="fuzzy"){
#s.data<-sim.fsQCA(qca.data, ncut=ncut, sim=sim)}
results<-conf.table(s.data[[1]], ncut=s.data[[2]])
return(results)... |
1029eec634aea3829d376cdd6870e17e33413ee3 | 26523018c9b3da0b3e2ff0f8d644920208ed7bc3 | /man/interaction.fit.Rd | b04d7407e7bdf50ec74f56d2ef0c5c20d3831661 | [
"MIT"
] | permissive | jlevy44/InteractionTransformer | 5dfa7aa1bdbee8ffdb6c2f6b509fdfc30b92a887 | e92473889cca25a292baa4a54e84490bf7699063 | refs/heads/master | 2023-02-17T06:01:43.658463 | 2021-01-18T15:12:56 | 2021-01-18T15:12:56 | 208,927,856 | 7 | 1 | null | null | null | null | UTF-8 | R | false | true | 1,276 | rd | interaction.fit.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/interaction_transformer.R
\name{interaction.fit}
\alias{interaction.fit}
\title{Generate design matrix acquired from using SHAP on tree model.}
\usage{
interaction.fit(
X.train,
y.train,
untrained_model = "default",
max_train_test_sam... |
e9abfa5a8e137a0ae210e8e115384ce2239ac2c5 | a7cf32a5dcd89906f697cd10537ecbbe83794fd5 | /exam-exx/GenAlgoForTSP/results/graphs/graphs42/time_plotter.r | 8ab45b2e1635bd58372e8d95798ff198067f2330 | [] | no_license | Cyofanni/MeMoCo-exercises | acc57bedad0dea4e920242afa574c973d6441e87 | c41d0c4942b0231e15af8a49cac7303599646937 | refs/heads/master | 2021-09-09T15:24:55.379843 | 2018-03-17T12:48:55 | 2018-03-17T12:48:55 | 110,260,599 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 653 | r | time_plotter.r | #run 'png(time.png)' from R shell
generations <- c(100,200,300)
time1 <- c(8.08,9.22,9.18) #no simulated annealing
time2 <- c(5.01,5.18,5.56) #simulated annealing
plot(generations, time1, main="Running time against number of generations for 800-500 indiv.", sub="", xlab="generations", ylab="time (in seconds)",... |
f7590eacdd9a8017729a13eaa5fe59aea5bb3b43 | 7aeaed0b07d51f91529c758ad4230df5faaf9fb6 | /tests/testthat/test-doctest-onetime_mark_as_done.R | 39911c1f315809a8264fe96ff40f621d2e75e149 | [
"MIT"
] | permissive | hughjonesd/onetime | e7adaf5d0bfdcef36701f407e910989a0ddffb96 | e463d43a4410c0aa9228d9d6191a9a5951d25b17 | refs/heads/master | 2023-06-08T08:17:28.297841 | 2023-05-29T11:24:52 | 2023-05-29T11:24:52 | 234,599,989 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 449 | r | test-doctest-onetime_mark_as_done.R | # Generated by doctest: do not edit by hand
# Please edit file in R/utils.R
test_that("Doctest: onetime_mark_as_done", {
# Created from @doctest for `onetime_mark_as_done`
# Source file: R/utils.R
# Source line: 60
oo <- options(onetime.dir = tempdir(check = TRUE))
id <- sample(10000L, 1)
expect_true(oneti... |
a8ea96d03a7c2546c679d844ca080a2676d32599 | 5b7324f2e2b119bddf9e5519aae63bb42f881a09 | /man/MCA.Rd | f7678b3e855c447f6b592b6f75031d30da18f9de | [] | no_license | guenardg/codep | 58a3fcc743ebe89bdb6712f4789e5d65db631ed1 | aa2ed70755a1c54645f444c531c8a82015f7e9d4 | refs/heads/master | 2023-04-06T06:08:19.620970 | 2023-04-01T16:43:41 | 2023-04-01T16:43:41 | 155,072,033 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 9,927 | rd | MCA.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/MCA.R
\name{MCA}
\alias{MCA}
\alias{test.cdp}
\alias{permute.cdp}
\alias{parPermute.cdp}
\title{Multiple-descriptors, Multiscale Codependence Analysis}
\usage{
MCA(Y, X, emobj)
test.cdp(object, alpha = 0.05, max.step, response.tests = TRUE)
... |
1678ab62695ff836149374ebbe816ce56e215a94 | bb897377948a02b7ab68df22ab5aa2acbc73215a | /R/SummaryTableExcel.R | bbb4b1948e01df8679cc6257dc6f972d470f119a | [] | no_license | ShunHasegawa/WTC_Extractable | 8ed0c9c1d27b883c9f76fe3b75cff80491ee7597 | 43922caa9acf819337a188838fbab2b9414998e6 | refs/heads/master | 2021-01-10T22:05:33.631756 | 2015-07-26T08:07:45 | 2015-07-26T08:07:45 | 20,788,814 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,136 | r | SummaryTableExcel.R | # melt data frame
extrMlt <- melt(extr, id = c("time", "date", "chamber", "location", "side", "id", "temp"))
# chamber summary table & mean
ChSmmryTbl <- dlply(extrMlt, .(variable), function(x) CreateTable(x, fac = "chamber"))
ChMean <- ddply(extrMlt, .(time, date, temp, chamber, variable), summarise, value = mea... |
ef0e38c4e9402d66fda445a48f138fe81e9c275c | 49645c4e57889635638399e88cb490a49b79607d | /R_scripts/EBSEQ_Multi.R | 9de524679d702d956708abbe9c245816643b7360 | [] | no_license | pbpayal/Bioinformatics-Documents | f9440c5efb735c5f9ac705f15832d4eb163248cc | 3c79fc8c9afc87b962c7297edde8cbf5dffe12b0 | refs/heads/master | 2023-05-21T02:04:12.057441 | 2021-06-14T19:55:09 | 2021-06-14T19:55:09 | 170,368,307 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,678 | r | EBSEQ_Multi.R | setwd("/Users/pbanerjee/Desktop/Bioinfo Unit_RNA seq/AB/")
load("Forbrain.RData")
save.image("Forbrain.RData")
library(EBSeq)
#write.csv(MultiPP_Forebrain_heatmap_datamat, "MultiPP_Forebrain_heatmap_datamat1.csv") ##incase to write the data out to a csv
#Forebrain - EBSEQ
Forbrain_data = read.table("all.genes.results... |
573b92c90095c84b969966e7ab84ea0cd6593e02 | cd606a7cb762c786f92b7fe7ba974b49a899c732 | /scripts/update-plots.R | 9e73f90c7661c262e9ecd3e1ed07475959b95026 | [
"CC0-1.0"
] | permissive | seabbs/CovidInterventionReview | 31e8c92645f11c47c16f6977fc17cedcbd38a4f8 | 7397cc48559d10056c111e990648f50acd079cb2 | refs/heads/master | 2022-04-18T18:50:24.828751 | 2020-04-05T11:02:57 | 2020-04-05T11:02:57 | 245,412,109 | 3 | 0 | CC0-1.0 | 2020-04-05T11:02:59 | 2020-03-06T12:18:45 | R | UTF-8 | R | false | false | 2,178 | r | update-plots.R | # Packages ----------------------------------------------------------------
## Get required packages - managed using pacman
if (!require(pacman)) install.packages("pacman"); library(pacman)
p_load("dplyr")
p_load("readr")
p_load("lubridate")
p_load("ggplot2")
p_load("cowplot")
# Functions ----------------------------... |
946aa3ef00982a247d2c765901eb8c35551fa9b7 | 0960dbdf02e232f2a8d6bd5f116a36876a57183a | /man/segmentPMDs.Rd | 924a22c9abfadc8c799da8b84f76ac343d4e508d | [] | no_license | LukasBurger/MethylSeekR | fb9003cbeff6276be77f2e3fab4f0c3b045131f3 | efb31e260fd2be0a2e1310c552e07d91a048c4a4 | refs/heads/master | 2023-06-06T09:22:17.932335 | 2021-06-21T06:13:09 | 2021-06-21T06:13:09 | 327,341,839 | 4 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,901 | rd | segmentPMDs.Rd | \name{segmentPMDs}
\alias{segmentPMDs}
\title{
PMD segmenter
}
\description{
This function trains a Hidden Markov Model (HMM) to detect partially methylated domains (PMDs) in Bis-seq data.
}
\usage{
segmentPMDs(m, chr.sel, pdfFilename = NULL, seqLengths, num.cores = 1, nCGbin = 101)
}
\arguments{
\item{m}{
GRan... |
0b74fe201bfeba8df4f6318c141f7b5a44392272 | 7a93571135c17e7ea4d3d3ed2e52b5ada1f8483f | /test-cassandra-part.r | 6047f1424466630bdd34562827d7731a2b53349b | [] | no_license | kaneplusplus/cnidaria | cf5b7cd751f5dd67890884a764e03bd9847a0c98 | d33f812641df51739ce31e6558ddcac4b6a9a137 | refs/heads/master | 2021-01-19T22:29:37.014301 | 2018-01-25T14:31:00 | 2018-01-25T14:31:00 | 16,467,882 | 8 | 0 | null | 2016-09-22T13:38:00 | 2014-02-03T01:54:14 | R | UTF-8 | R | false | false | 215 | r | test-cassandra-part.r | source("cassandra-part.r")
# Initialize disk parting.
init_cassandra_part()
# Create a new part from a matrix.
a <- as_part(matrix(1:10, ncol=2))
# Get rows 1, 3, 4.
get_values(a, c(1, 3, 4))
get_attributes(a)
|
3fa94a7c7d5d326185640ee1fe1e479f34350025 | 2be9db22fd29bd6925944b19cbc880bbe465957b | /05-LogisticRegression/CaseStudy-02/Script.R | c48a1b4bc8a78de4c6cd7f1445f0862c702d4561 | [] | no_license | wilberlinhares/Statistic_R | 760df5dfd458cedd368b7330dd91fcce53533726 | ddd6036fda9b9eb8e234585d2ea4d32d09ba9fd3 | refs/heads/main | 2023-07-08T23:10:53.944595 | 2021-08-11T13:27:39 | 2021-08-11T13:27:39 | 394,981,017 | 0 | 0 | null | null | null | null | ISO-8859-1 | R | false | false | 16,103 | r | Script.R | #**********************************************************
# ESTUDO DE CASO - MODELO PREDITIVO DE CHURN
#**********************************************************
setwd("/Users/wilbe/OneDrive/Documentos/GoogleDrive/Estudos/FIA/Estatística Aplicada/Aula 17 e 18")
getwd()
# ************************************... |
d5c666c2795aad1d49227f00f0838cfd9a1c1958 | bffaec26f4f82430912725f9d83006aa63b8a4ab | /man/arima_multistep.Rd | 52ad97de718a1b075ca84effe2dae7068fadd621 | [] | no_license | vcerqueira/vest | 37b0ce7d61796ad3474cd8a0a96ed519933c5509 | a19aac8d7b9c2ada96f9afc4d8fcfe033ad75c4b | refs/heads/master | 2022-12-17T17:49:21.603487 | 2021-02-08T21:31:26 | 2021-02-08T21:31:26 | 239,560,166 | 17 | 4 | null | 2022-12-08T11:51:49 | 2020-02-10T16:37:16 | R | UTF-8 | R | false | true | 357 | rd | arima_multistep.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/arima-expsmooth.r
\name{arima_multistep}
\alias{arima_multistep}
\title{ARIMA MODEL}
\usage{
arima_multistep(train, test, freq, h)
}
\arguments{
\item{train}{train series, ts}
\item{test}{test series, ts}
\item{freq}{frequency}
\item{h}{ho... |
c7035901ed3db4deb175726051f4b37280bafc11 | abe567a26b3b20081ecf6a3952f16b90035f7ecf | /man/conways_game_of_life.Rd | 34c80210eda1f5ad057d6d14d5f627fddee589a7 | [] | no_license | KIT-IfGG/pets | 4af61de028f29fa0495ecb149f3d774f4d3ef332 | 3cee6fe620354d682b5cef917b44a89f640d3748 | refs/heads/master | 2021-01-18T11:24:45.130165 | 2018-11-21T11:48:22 | 2018-11-21T11:48:22 | 100,360,310 | 2 | 2 | null | null | null | null | UTF-8 | R | false | false | 1,999 | rd | conways_game_of_life.Rd | \name{conways_game_of_life}
\alias{conways_game_of_life}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{
Conways game of life
}
\description{
%% ~~ A concise (1-5 lines) description of what the function does. ~~
}
\usage{
conways_game_of_life(x)
}
%- maybe also 'usage' for other objects document... |
f2bbb2292ebfeed4af9ef082f2dcebc7522b9aa1 | 54e6946ed588b5b2814b818249163e53ab14e9ce | /man/hdg_norm.Rd | f3eb7ebbab22246fdebdf2d9561be9e9be5cbbd6 | [
"MIT"
] | permissive | paleolimbot/headings | 1b640a96d6fa4420c1616fe80440d9fbcf4f5b3b | e7489d8f44c3d4ffd8c88044a3b6943196abba00 | refs/heads/master | 2023-04-01T20:03:06.835779 | 2021-04-07T15:19:35 | 2021-04-07T15:19:35 | 341,327,046 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 956 | rd | hdg_norm.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/heading.R
\name{hdg_norm}
\alias{hdg_norm}
\alias{uv}
\alias{uv_norm}
\alias{uv_from_hdg}
\alias{hdg_from_uv}
\alias{rad_from_hdg}
\alias{hdg_from_rad}
\title{Create and export headings}
\usage{
hdg_norm(hdg)
uv(u, v)
uv_norm(uv)
uv_from_h... |
8aafe079fe98dbc98fc4ad64ac3023c4ab1ac8d9 | 6d0999bafd5986933e13719034254d9bfab4d47c | /Code/R/megacategory_assign.R | 2c1176bef86f8ebf9657c645f25c9517032198eb | [] | no_license | emilio-berti/rewiring-rewilding | 63199f62d1b403c5f59b2e38d4942f448da3416d | 864ac86669162238154da89a974b0ef66c95a9a7 | refs/heads/master | 2022-12-22T00:18:43.366985 | 2020-09-24T06:43:23 | 2020-09-24T06:43:23 | 290,488,904 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 575 | r | megacategory_assign.R | megacategory <- function(species){
mass <- subset(phy, Binomial.1.2 == species)$Mass.g
family <- subset(phy, Binomial.1.2 == species)$Family.1.2
if(family %in% c("Ursidae", "Felidae")){
candidates <- subset(phy, Family.1.2 == family)[c("Binomial.1.2", "Mass.g", "IUCN.Status.1.2")]
candidates <- subset... |
06331e8db041003e35bca1b8051af964cf26e353 | dc7d3873fd7896fd4a81329a7aa24d4704a8bd90 | /scripts/BcBOTnet/09_BOAforMEGA.R | 6ae903cc97fd68d804c950937e1e52bbbf96a4aa | [] | no_license | nicolise/BcAt_RNAGWAS | 4cd4cf169c06f46057e10ab1773779c8eaf77ab1 | 64f15ad85186718295c6a44146befa3ca57b7efc | refs/heads/master | 2021-01-12T11:40:59.400854 | 2019-10-21T19:54:53 | 2019-10-21T19:54:53 | 72,249,016 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,763 | r | 09_BOAforMEGA.R | #Nicole E Soltis
#--------------------------------------------------
#need FASTA file input for MEGA
#want: beginning of C1 (5133) to 97414
#BcBoa17 goes up to 69449. 3 genes downstream is gene:Bcin01g00190. end position is 97414.
#or, if looking within deletion ONLY:
#last base of deletion = 82614
#first base of de... |
6bffb21b87f5c60c695e46ab7976037bdac61903 | 31bb7850a8f76259887e142611bab3f3e45ff981 | /NCAR/code/stl2/stl.tw617.td2.sw103.sd1.i10.o0/tmax.100stations.stl2.R | 8ad266bc18bc8d6700cbfe1145c008dbfce2589b | [] | no_license | XiaosuTong/Spatial | 4bb6951697f69477612fcef6c987a3a2a72b0143 | 068d1a00a2b5f08404da23049f7ddd3c76d03c96 | refs/heads/master | 2020-12-29T01:54:00.658233 | 2016-06-16T18:30:46 | 2016-06-16T18:30:46 | 20,975,405 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 22,809 | r | tmax.100stations.stl2.R | ############################################################################
##Max temperature, 100 stations, seasonal+trend with raw data by stl2
##########################################################################
#load the data
library(lattice)
library(plyr)
library(stl2)
library(maps)
outputdir <- "~/Project... |
1f62a6b7063441d7d4cf5397ccb7ef1607a29a42 | b5ae747457d833c6543319332f47bd937a4d446e | /man/cvPSYmc.Rd | 579541cc294d1ac5db30f46ed0febc71554d1dab | [] | no_license | cran/psymonitor | 278f6d1e53a4c1b7a5f9441e6e39440dd6903968 | 84029dc78224d495a3e880d26300403998f01a15 | refs/heads/master | 2020-04-07T00:21:08.173656 | 2019-03-20T06:00:03 | 2019-03-20T06:00:03 | 157,900,046 | 0 | 2 | null | null | null | null | UTF-8 | R | false | true | 1,988 | rd | cvPSYmc.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/cvPSYmc.R
\name{cvPSYmc}
\alias{cvPSYmc}
\title{Simulate the finite sample critical values for the PSY test.}
\usage{
cvPSYmc(obs, swindow0, IC = 0, adflag = 0, nrep = 199,
multiplicity = TRUE, Tb, useParallel = TRUE, nCores)
}
\ar... |
c9bf9952577317033b8fc2a2cf2870425de3bf2d | d3c24352a2959a31ec0d452ca94fde270594e0c8 | /R/fars_read.R | 0a06cf89444ec3c73126fd78116b0a16a83d9dcd | [
"MIT"
] | permissive | tikizu/famove | 9f80d92aa63b3c1673357b0b86a3d08de802fa0b | 7cc44171079c148c2eb21a93499a5bc41661d6b2 | refs/heads/master | 2023-02-25T11:16:23.524967 | 2021-02-05T16:34:33 | 2021-02-05T16:34:33 | 330,194,970 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 419 | r | fars_read.R | #' Read in a CSV file
#'
#' Create a tibble from CSV file
#'
#' @param filename as a character
#'
#' @return tibble
#'
#' @importFrom readr read_csv
#' @importFrom dplyr as_tibble
#'
#'
#' @export
fars_read <- function(filename) {
if(!file.exists(filename))
stop("file '", filename, "' does not exist")
data <- ... |
0d82055558396388b16f8da1c9fc8f9db2be510c | 72261129cc58ac0368b012eebfad8b9cb9b9a94b | /Data Cleaning for sales data in R.R | f07b2643504f7e1f9902a6a9df5b9fbe9b0bfe0e | [] | no_license | AifenW/Project-for-R | 4192849996085489c40c75292cbd38286c8005ec | 13c3bc02c6ef1f567d64b7ab0d4c19419249e395 | refs/heads/master | 2020-08-09T05:56:54.020905 | 2020-01-02T18:37:25 | 2020-01-02T18:37:25 | 214,014,510 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,859 | r | Data Cleaning for sales data in R.R |
# Import data
install.packages("readxl")
library(readxl)
salesdata<-read_excel("~/Data Cleaning/salesdata.xlsx")
# glimpse salesdata
library(tidyverse)
glimpse(salesdata)
# subset salesdata which contain only 5 attributes
install.packages("sqldf")
library(sqldf)
subset_salesdata<-sqldf("
select Customer, ... |
5f60c8fd8cfa710a67ca60a3b984768c95c6cb3f | 45ace96c2914c90eadca3f5b9e0c381b414a480b | /data-code/_BuildFinalData.R | a50ffec05a09a0959b235e91ff491f9dc1785f19 | [] | no_license | subeniwal/Physician-Shared-Patients | 3b855e633b6f8a02fe8c01a261d0398ac673bfd1 | 71644ae7e9682b71610347379d1cd5ddb17a6b29 | refs/heads/master | 2023-07-17T14:20:04.617460 | 2021-08-26T21:22:56 | 2021-08-26T21:22:56 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,538 | r | _BuildFinalData.R | # Meta --------------------------------------------------------------------
## Title: Physician Shared Patients Data
## Author: Ian McCarthy
## Date Created: 10/10/2019
## Date Edited: 9/15/2020
# Preliminaries -----------------------------------------------------------
if (!require("pacman")) insta... |
6d5f5dea55d6e8104b040499d75e4dd99ccd9dc3 | 18893292dc638efa94c92bb826a7aaa772fa7a52 | /man/bnets.Rd | 5a91c9cb550cc2ef745f555defaa2b76d1d5ba40 | [] | no_license | rithwik/bnets | 1da4218d50c999cb4ad321abd99dee6b431537cb | e4a747493ac0e81a72f259fca2671ec2519ecaec | refs/heads/master | 2021-01-10T05:09:57.730354 | 2016-02-25T07:43:20 | 2016-02-25T07:43:20 | 52,260,662 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 332 | rd | bnets.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/bnets.R
\docType{package}
\name{bnets}
\alias{bnets}
\alias{bnets-package}
\title{bnets: A package to play with Bayesian Networks}
\description{
bnets combines functionalities from bnlearn, visNetwork, and shiny to make interactive bayesian n... |
67d27d1d1a504b869c2b729f2630fb22af4ebcc9 | d1d1d4d7cf34ffac0c5c421c0f6fb3846ae97939 | /Plot1.R | b0f70eb72c35ac73d4b3a2676207a7aa9fef3d55 | [] | no_license | vallvi/ExData_Plotting1 | afed4f4d500d51c6bb5a92ead71068e9e02e8f72 | 2b887b11cc6b21e7a82349e71d41cd646d2bc8d7 | refs/heads/master | 2021-01-17T19:57:01.605608 | 2014-12-07T01:14:03 | 2014-12-07T01:14:03 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 613 | r | Plot1.R | file <- read.table("household_power_consumption.txt",sep=";",header=T,colClasses=c("character","character","numeric","numeric","numeric","numeric","numeric","numeric","numeric"),na.strings="?")
file1 <- file[file$Date=="1/2/2007",]
file2 <- file[file$Date=="2/2/2007",]
powdata <- rbind(file1,file2)
powdata$DateTime <- ... |
6788d9ac3ea2eb14d153f6c051c967e29c90137a | 677962a3141a34254a91e6c7ea7855695340e89e | /Bo-Chen-Code/3-1.R | c2f2944f8f43b7a5dbdd0192f1564aa3b99dbf8f | [] | no_license | YuCheng21/nkust-data-science | 2f70f9eb007dac1b6ee9c5d556922afc4fbbbaba | c10812007fdec27e8cccf03b26f868964ebda1ea | refs/heads/master | 2023-06-02T01:36:35.474870 | 2021-06-24T19:05:06 | 2021-06-24T19:05:06 | 346,954,244 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 124 | r | 3-1.R | a <- 1:9
b <- 1:9
for(i in a){
for(j in b){
x <- sprintf("%d * %d = %d",i,j,i*j)
print(x)
}
}
|
58f9437c8babe12a97949dd1275726f8146bcab1 | 52b818cfc1d707cbc08e3d54b5db9bce828b83d2 | /script.R | 30c4dfc2025d1859d8475696c8ee4c067c2e1199 | [] | no_license | julianpsd/SICSS2020 | 283a8ab1eff2d8ac157ad7e14c70062f4d3d501f | bea4d3b569779fe8bd3dc71b80a9c926dfcb763b | refs/heads/master | 2023-07-18T22:24:27.284806 | 2021-09-18T19:35:37 | 2021-09-18T19:35:37 | 276,173,588 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 20,867 | r | script.R | ## COVID 19 Sentiment analysis
#packages
library(dplyr)
library(ggplot2)
library(tidyr)
library(sjmisc)
library(psych)
library(MASS)
library(reshape2)
library(reshape)
library(ggpubr)
library(topicmodels)
library(tm)
library(tidytext)
library(dplyr)
library(SnowballC)
library(lubridate)
library(wordcloud2)
library(wor... |
f49fb0f94b8faac9b3804c1d6872c2aad9835712 | b57e31db43d7218962fd36d2f5281e0efd8aad24 | /man/batch.Rd | 42bd2644d62827a427fea8a4553bdea14b337db3 | [] | no_license | cran/cyclestreets | 69e6bd64bb5b9e4dd72f649252c5f0637acb8ff9 | 3215e5321a9fe79cb8d7449f1dd884a44e4edac3 | refs/heads/master | 2023-09-01T05:50:11.581440 | 2023-08-15T07:20:14 | 2023-08-15T08:31:03 | 131,992,217 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 4,550 | rd | batch.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/batch.R
\name{batch}
\alias{batch}
\title{Interface to CycleStreets Batch Routing API}
\usage{
batch(
desire_lines = NULL,
id = NULL,
directory = tempdir(),
wait = FALSE,
wait_time = NULL,
name = "Batch job",
serverId = 21,
st... |
e8ea6829110c92a66dc5d188c42ab240bcb00306 | fd570307c637f9101ab25a223356ec32dacbff0a | /src-local/specpr/src.specpr/fcn43-47/zfeat.r | 2a09420502fc810514f642a9fa36353683f4d3e8 | [] | no_license | ns-bak/tetracorder-tutorial | 3ab4dd14950eff0d63429291c648820fb14bb4cb | fd07c008100f6021c293ce3c1f69584cc35de98a | refs/heads/master | 2022-07-30T06:04:07.138507 | 2021-01-03T22:19:09 | 2021-01-03T22:49:48 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,298 | r | zfeat.r | subroutine zfeat(dataa,datab,datac,data,jdat,number,itnum,anadat,y)
implicit integer*4 (i-q)
#ccc name: zfeat
#ccc version date: June 30, 1987
#ccc author(s): Noel Gorelick
#ccc language: RATFOR
#ccc
#ccc short description: Finds continuum points for feature analysis
#ccc and calls zstuf to do the dirty work
... |
ec1eea736982042c66fa9669254cf77363a3b622 | 573f8339b51f5df74e09bfbed6ef0ccec15cb7b0 | /analyses/DGE.R | a4da0e6759f2eb59c053ed060a2f0cbf809e1135 | [] | no_license | eastmallingresearch/RNA-seq_pipeline | c40b0e62fbac468f823e0a86a7f83c7676fd5acf | edc4db511e17d7c7d364105138f071439cdbdfda | refs/heads/master | 2022-08-09T22:34:49.319136 | 2022-08-03T14:03:24 | 2022-08-03T14:03:24 | 101,886,286 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 9,467 | r | DGE.R | #===============================================================================
# Load libraries
#===============================================================================
library(DESeq2)
library("BiocParallel")
register(MulticoreParam(12))
library(ggplot2)
library(Biostrings)
library(data.table)
library(... |
869d1df6ad4a324e2c496c41673d2f5ee6547bf1 | e51f969dbc5a0af54fa3a8f577140f6ac7199464 | /01.Algorithms/10.Regression/01.RobustLenearRegression.R | 28424eaa64157af633f392dc2ca2a7a9a8b57b1d | [] | no_license | rmatam/DataScience | 6dd02d81a24608a3f07df80f83c62d72732e5d36 | ebd0f9f2b28404e66b481ec7179adb1fc8b090b7 | refs/heads/master | 2021-01-20T18:52:01.743018 | 2017-04-15T19:02:48 | 2017-04-15T19:02:48 | 64,743,868 | 0 | 0 | null | 2016-10-01T18:43:53 | 2016-08-02T09:34:02 | R | UTF-8 | R | false | false | 1,020 | r | 01.RobustLenearRegression.R | library(MASS)
rlm_mod <- rlm(stack.loss ~ ., stackloss, psi = psi.bisquare) # robust reg model
summary(rlm_mod)
#> Call: rlm(formula = stack.loss ~ ., data = stackloss)
#> Residuals:
#> Min 1Q Median 3Q Max
#> -8.91753 -1.73127 0.06187 1.54306 6.50163
#>
#> Coefficients:
#> Va... |
9ac3f032cce2b34f96b7cbb8c475e666c059b318 | f18e1210ca120c9116e356a8549e89e04219dc75 | /man/parse_mf.Rd | 0f759d1bfec053573eec08e62955891a0560e864 | [
"BSD-2-Clause"
] | permissive | EMSL-Computing/ftmsRanalysis | 46c73a727d7c5d5a5320bf97a07e9dac72abd281 | dd3bc3afbf6d1250d1f86e22b936dcc154f4101d | refs/heads/master | 2023-07-21T18:13:26.355313 | 2023-02-09T17:03:09 | 2023-02-09T17:03:09 | 122,233,846 | 14 | 10 | NOASSERTION | 2023-07-11T16:34:15 | 2018-02-20T17:52:18 | R | UTF-8 | R | false | true | 615 | rd | parse_mf.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/parse_mf.R
\name{parse_mf}
\alias{parse_mf}
\title{Parse Molecular Formulae to Obtain Elemental Counts}
\usage{
parse_mf(ftmsObj)
}
\arguments{
\item{ftmsObj}{an object of class 'ftmsData', typically a result of \code{\link{as.peakData}}.}
}
... |
9d754c8ad8b9c33f4efb8afa9e6b57dd1b79bf95 | 5b2487622b24806d9d83db12be83b5c5fef68316 | /India_GIS_Analysis.R | d000f292ba39895677161cc23914c21ff3b70ef8 | [] | no_license | alexismenanieves/India_GIS | 92ac8a8446d725b8a9d56c40ff5a30d3e24b5769 | aafcc8352194611d713a9102c865bc4662719486 | refs/heads/master | 2020-08-10T02:56:07.982465 | 2019-10-11T18:46:42 | 2019-10-11T18:46:42 | 214,239,642 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,908 | r | India_GIS_Analysis.R | # Load libraries
library(tidyverse)
library(sf)
library(sp)
library(GADMTools)
library(lwgeom)
# Load sf file
my_sf <- st_read("india_states_2014/india_states.shp")
india_wrapper <- gadm_sf.loadCountries("IND", level = 1, basefile = "./")
# See info structure as sp and sf files
my_spdf <- as(my_sf,"Spatial")
class(my_... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.