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
905a787f5c16471279a934b262fced7b8f9cdfa0
aaec73a1cc215e604b33dd2c57d8ea12ed07b64f
/MRSA_MLST_read.R
e599b20084ef87efac2e802eec3e44c1347e3f8d
[]
no_license
eugejoh/MRSA_MLST
8fb2bbbd654eb6d62f4bb6eb9301ab2b069b16a4
9fcd1d5687b2e6b9d4c15be504ce57a784bbeca9
refs/heads/master
2021-01-11T15:53:31.348380
2017-01-24T20:09:02
2017-01-24T20:09:02
79,949,566
0
0
null
null
null
null
UTF-8
R
false
false
8,927
r
MRSA_MLST_read.R
# MRSA MLST Database rm(list=ls()) # Taken from http://saureus.beta.mlst.net/ Jan 8, 2017 setwd("/Users/eugenejoh/Documents/Post-Grad/ID Data/MRSA/MLST") # portable_profile_edit #includes # filenames follow format... # portable_genename_edit # profile<-read.csv("portable_profile_edit.csv",header=T,na.strings=c("...
f8e4fb8b9dc98f447ae79ada86b94e808958eb6c
904022448a1599c2e6dcb2a438beb4b64efb65bc
/adr_no_cells.R
e9b626725e472d7ff226c756f5de3fde1ea7f6f4
[]
no_license
GKild/neuroblastoma
1bb9ec3df959482d6d7e9a718fc98bb813033a8f
a17d359b8ad915ce3eb831739254c951df1719e4
refs/heads/master
2023-03-04T04:24:57.783627
2021-02-16T11:12:00
2021-02-16T11:12:00
217,528,698
0
0
null
null
null
null
UTF-8
R
false
false
5,167
r
adr_no_cells.R
#get all adrenal datasets ba1=readRDS("/lustre/scratch117/casm/team274/my4/oldScratch/preProcessSCP/output/babyAdrenal1_Seurat.RDS") ba2=readRDS("/lustre/scratch117/casm/team274/my4/oldScratch/preProcessSCP/output/babyAdrenal2_Seurat.RDS") bilateral=readRDS("/lustre/scratch117/casm/team274/my4/oldScratch/preProcessSCP/...
2304729c9de1e5dd83612f40613537ad1adbbb4e
4b5c970ac1dc877453c7a13f921c807b4177ae6c
/plot5.R
b9234270b55bb0f78d5d542f8521591f82309914
[]
no_license
ManuChalela/JHU_EDA_Project2
dec3e8fa7d02b6c2f57036b706154eba591e0070
18751cf6f6dee335cb9cd5a70dcfeee307c20501
refs/heads/main
2023-01-18T16:05:18.348466
2020-12-12T04:19:31
2020-12-12T04:19:31
320,467,620
0
0
null
null
null
null
UTF-8
R
false
false
1,208
r
plot5.R
library(data.table) library(reshape2) library(png) library(dplyr) library(fs) library(lubridate) library(ggplot2) path <- file.path(getwd(), "data/") fs::dir_create(path = path) url <- "https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2FNEI_data.zip" download.file(url, file.path(path, "dataFiles.zip")) unzip(zip...
5c2c21814c12d3e0b9cb528f024a53158d7c5a4a
43ac1b022fb160479e9baf022d522857323878d2
/analysis/dir-utility.r
4cd3d97e41967605094589f658a7727c16cef257
[]
no_license
franciscastro/research-plan-composition
6b532f4ea4ff339ef36948d886505f8b86e719a1
503108ea8393a6b03faed347ab91e65fcadc8008
refs/heads/master
2021-01-10T11:46:13.741052
2016-04-22T20:17:45
2016-04-22T20:17:45
45,146,889
0
0
null
null
null
null
UTF-8
R
false
false
2,078
r
dir-utility.r
#' --- #' title: "Directory creation utility script" #' author: "Francisco Castro (fgcastro@wpi.edu)" #' date: "15 March 2016" #' --- # NOTES #================================================== # # This script is used to create directories for each # sub-sample generated in data-setup.r and data-sample.r # # Run dat...
3ed23d80bb0869d75cede7a6279326b3b8186fc8
560f1adefa19f293eafbe63fc6bd18b0769bc154
/R programming/corr.R
c97c535675b1d7594333ee5646aab563792eeb0d
[]
no_license
kmj9000/datasciencecoursera
10e78b1889887536b1e8ecdab96aacf9e597b658
a1f7fd8515a8d13e68d1bee843627b035fbf895d
refs/heads/master
2020-05-30T16:03:48.949857
2015-11-22T17:13:27
2015-11-22T17:13:27
29,430,090
0
2
null
null
null
null
UTF-8
R
false
false
754
r
corr.R
corr <- function(directory, threshold = 0) { ## 'directory' is a character vector of length 1 indicating ## the location of the CSV files ## 'threshold' is a numeric vector of length 1 indicating the ## number of completely observed observations (on all ## variables) required to compute the correlation bet...
7ee30b714afe9cb13a25be1ba3d880ff19a6dc57
2447be673b4bceaf193a5ced248dd0f62912d994
/man/extract-methods.Rd
643226eb2e1f5f81be34b12f452ed47ae8075a85
[]
no_license
benneic/gpuRcuda
024b6f1af5a08257a9c3e51ef68dc5014712d74d
23a4ad805c738da7227176f99ecdae1750fda00c
refs/heads/master
2020-07-22T03:38:06.289601
2018-01-10T17:50:15
2018-01-10T17:50:15
null
0
0
null
null
null
null
UTF-8
R
false
true
844
rd
extract-methods.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/methods-cudaVector.R, R/methods-nvVector.R, % R/methods.R \docType{methods} \name{[,cudaVector,missing,missing,missing-method} \alias{[,cudaVector,missing,missing,missing-method} \alias{[,nvVector,missing,missing,missing-method} \alias{[,cu...
592cf590c688fb9e504bdae57f5b5358f685c96a
9aafde089eb3d8bba05aec912e61fbd9fb84bd49
/codeml_files/newick_trees_processed/1842_12/rinput.R
63ad90d1e113c9f7dce696364438dbb816a130c9
[]
no_license
DaniBoo/cyanobacteria_project
6a816bb0ccf285842b61bfd3612c176f5877a1fb
be08ff723284b0c38f9c758d3e250c664bbfbf3b
refs/heads/master
2021-01-25T05:28:00.686474
2013-03-23T15:09:39
2013-03-23T15:09:39
null
0
0
null
null
null
null
UTF-8
R
false
false
137
r
rinput.R
library(ape) testtree <- read.tree("1842_12.txt") unrooted_tr <- unroot(testtree) write.tree(unrooted_tr, file="1842_12_unrooted.txt")
fe11c8160f62d13202ba1153617c73d04289f170
fdfe62a9b82d6537d633849a8f3ad5a24130bbeb
/irods-3.3.1-cyverse/iRODS/clients/icommands/test/rules3.0/rulemsiTarFileExtract.r
4d8af5cfbb0fdd6f808f4d96fd831199068db188
[]
no_license
bogaotory/irods-cyverse
659dbef3652c1713a419d588adf0b866474dea9a
2aceaf7c318c2fb581fcca2d62968f69460dcc9c
refs/heads/master
2021-01-10T14:15:27.267337
2016-02-25T00:44:06
2016-02-25T00:44:06
52,032,218
2
0
null
null
null
null
UTF-8
R
false
false
690
r
rulemsiTarFileExtract.r
myTestRule { # Input parameters are: # Tar file within iRODS that will have its files extracted # Collection where the extracted files will be placed # Resource where the extracted files will be written # Output parameter: # Status flag for the operation # Output from running the example is: # Extract files fr...
700463f468d4da491b3ed47c51e528b0d2103ca6
72d9009d19e92b721d5cc0e8f8045e1145921130
/twosamples/man/ks_test.Rd
6b361c542c7d35e43351928ea11eb35a948a451e
[]
no_license
akhikolla/TestedPackages-NoIssues
be46c49c0836b3f0cf60e247087089868adf7a62
eb8d498cc132def615c090941bc172e17fdce267
refs/heads/master
2023-03-01T09:10:17.227119
2021-01-25T19:44:44
2021-01-25T19:44:44
332,027,727
1
0
null
null
null
null
UTF-8
R
false
true
1,719
rd
ks_test.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/RcppExports.R, R/documentation.R, % R/two_samples.R \name{ks_stat} \alias{ks_stat} \alias{ks_test} \title{Kolmogorov-Smirnov Test} \usage{ ks_stat(a, b, power = 1) ks_test(a, b, nboots = 2000, p = default.p) } \arguments{ \item{a}{a vector...
dfa47530f78ff6a56276ad3ee7863bb633a40d03
669e0ccbaf738f5c0e0f6b8d790217c6ff5e15b4
/import_and_sample.R
a9e3528a6045540e85b44f97f29fb694294978d5
[]
no_license
hytsang/Capstone-Project
9550d161e8563a80de68ddefdb66018ffbf11682
dceb836ce63d46dc6d0be6015418fc4a1edb9a09
refs/heads/master
2021-01-11T14:00:43.052533
2015-04-19T11:35:07
2015-04-19T11:35:07
null
0
0
null
null
null
null
UTF-8
R
false
false
921
r
import_and_sample.R
# importing and sampling the data # load stringi library library(stringi) setwd("~/Capstone Project") list.files("final") list.files("final/en_US") # import the blogs and twitter datasets in text mode blogs <- readLines("final/en_US/en_US.blogs.txt", encoding="UTF-8") twitter <- readLines("final/en_US/en_US.twitter...
3f05634a5ead7cbf1bf90c9c161cb3dcff2e2454
72279a412260a94bdf5ae70db4cea2e153689331
/functional_response&Fig2_AP.R
704e5e10bca5680f52dc79e63434c7aa4997e6fc
[]
no_license
koehnl/Seabird_ForageFish_model
21b599eef6e5c4d143c2e21f2bf41148434eb691
54a105bf03eda27e4b6214208e7a3bd733de5207
refs/heads/main
2023-03-21T18:01:37.217260
2021-03-14T23:07:08
2021-03-14T23:07:08
344,362,258
0
0
null
null
null
null
UTF-8
R
false
false
10,696
r
functional_response&Fig2_AP.R
# CODE TO PLAY AROUND WITH FUNCTIONAL RESPONSES # and make Figure 2 from Koehn et al. 2021 # acknowledgments to Andre Punt (University of Washington) # for supplying lines of code and help alpha <- 0 # lowest possible impact on survival slope <-30 # how fast it drops from 1 to the lowest possible impact on suvival b...
c56fe033019049ef5b80d3b8d65ceb552198014b
dde67e60fd78b0b30c68c3a877ee095aa931da55
/man/scNGP.data.Rd
09ed8c201948332f826898f32f2df60393633186
[]
no_license
CenterForStatistics-UGent/PIMseq
0ff61a203c806fa3ea65c15f097ef0500e8d800b
31e0463a09b1eb56a3be018cb26fcfe072f180a7
refs/heads/master
2021-07-09T16:33:17.211694
2020-09-05T10:20:31
2020-09-05T10:20:31
191,369,264
2
1
null
2019-07-10T10:25:58
2019-06-11T12:41:45
R
UTF-8
R
false
true
725
rd
scNGP.data.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/NGPscData.R \docType{data} \name{scNGP.data} \alias{scNGP.data} \title{Neuroblastoma cell line single cell RNA-seq.} \format{A SingleCellExperiment object} \source{ \url{http://dx.doi.org/10.1101/430090} } \usage{ scNGP.data } \description{ C...
13dfdf6070c787dc8ddeef5c77fe60876226f56a
d3f96c9ca845fc5b38ef9e7bd4c53b3f06beb49b
/man/system_check_requirements.Rd
93c656b96b4da081160d5340395c3a5492d08ed5
[ "BSD-3-Clause" ]
permissive
john-harrold/ubiquity
92f08e4bebf0c4a17f61e2a96ae35d01ba47e5a2
bb0532915b63f02f701148e5ae097222fef50a2d
refs/heads/master
2023-08-16T17:43:52.698487
2023-08-16T01:24:48
2023-08-16T01:24:48
121,585,550
9
3
null
null
null
null
UTF-8
R
false
true
684
rd
system_check_requirements.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/ubiquity.R \name{system_check_requirements} \alias{system_check_requirements} \title{Check For Perl and C Tools} \usage{ system_check_requirements( checklist = list(perl = list(check = TRUE, perlcmd = "perl"), C = list(check = TRUE)), ver...
510fc5761191d4e059e6494071c4da75100d752a
580484276bd35b209fb3bf1a8ad134226c9363da
/Code/Download_Files.R
ba6688f28a067514b98d67c763c6d11dcab7b98c
[]
no_license
jbrittain72/MSDS_6306_Case_Study_1
8d4ba5ceb1e0f711319d7c0712fb36e8fe8cd5fb
240977dd29682b0af8c93f2c3e6cad7a484eeec4
refs/heads/master
2021-01-12T14:40:29.868900
2016-10-29T03:17:21
2016-10-29T03:17:21
72,046,599
0
0
null
null
null
null
UTF-8
R
false
false
846
r
Download_Files.R
############################################ ## Download Case Study 1 Data Files ## Jim Brittain ## 2016-10-27 ############################################ ### This make file will creat a folder (if it doesn't already exist) and ### download the required files for the Case Study 1 # Create a subfolder to download da...
8e0cef26e98b2eee337f7a55f1bc227b8d72a0bc
c2af459079b844373ffbb97c15afd93a785c107a
/textmining.R
a58c2b883b084d12133511736f4b24c44033753c
[]
no_license
TonyNdungu/Unsupervised_learning
4af19516ef509a18a20c48f76b8df45d5bd33f29
da030047114792860a6683df91c283cd7c9d2b67
refs/heads/master
2020-04-22T05:15:05.598461
2019-03-27T13:37:45
2019-03-27T13:37:45
170,153,302
0
0
null
null
null
null
UTF-8
R
false
false
6,516
r
textmining.R
# Load libraries library(twitteR) # Twitter API Oauth process. consumer_key <- 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' consumer_secret <- 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' access_token <- 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' access_secret <- 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
ea5847a3845b6cf23dafc7092bdf66c869b83b51
517f85614328e6facc3134dcbda0efffca9c4370
/recode.R
2527c1fbe4ae975002cf32afb30b2d56e206f153
[]
no_license
fishforwish/fgc
2dce9636aebaee4a73396de8a9dd52b7603b190d
1cf825b1b35214fc7829816b64970d8c768738ac
refs/heads/master
2023-03-17T19:14:45.927645
2023-03-09T10:27:26
2023-03-09T10:27:26
47,423,818
0
0
null
null
null
null
UTF-8
R
false
false
2,388
r
recode.R
## Recode all problematic DHS entries print("####################### RTARGET ####################") library(gdata) library(dplyr) ## Reweight before subsetting. Answers <- (Answers ## Reweight before subsetting %>% mutate(sampleWeight = sampleWeight/sum(sampleWeight)) ## subset: Don't want people who never heard of...
645ebb9516e6391075d90abc2b0a171a6e94d4a5
06772dd41870da689df082609992e032970bac12
/R/plot.kora.samples.R
785fe00116f079df144370dfc97c3f1abe272c5a
[]
no_license
TheSeoman/Scripts
6c5ffa94d4c0e144a31f9f9e54ca324d90586ee0
3fb59b6ac7e24c6dba266d47ca7aeedbb2bb57c1
refs/heads/master
2021-05-15T15:00:56.679283
2018-04-11T18:03:39
2018-04-11T18:03:39
107,265,319
0
0
null
null
null
null
UTF-8
R
false
false
3,787
r
plot.kora.samples.R
source('Scripts/R/paths.R') require(gplots) library(VennDiagram) load(PATHS$METH.RESIDUALS.DATA) load(PATHS$EXPR.RESIDUALS.DATA) load(PATHS$SNP.SAMPLES.DATA) covariates.all <- read.table(PATHS$F.COVARIATES, sep = ";", header = TRUE) covariates.all$expr_s4f4ogtt <- as.character(covariates.all$expr_s4f4ogtt) covariate...
67660fe00164e929cde897920127c0de5e6f2bc2
f89f43fe4f7fc6fec03716da4271679a605114a5
/scripts/ggprob.R
d846f2446f337924547517c717f57ac9180b1170
[]
no_license
DrSpecial/An-in-depth-analysis-about-how-the-NBA-has-changed-over-time
4f941ffd482c13b0645b69fc1333859b3612cc72
0ee32e2248959569f5f4618b0858c8f0662c4adc
refs/heads/main
2023-08-12T22:56:32.307323
2021-09-30T20:43:39
2021-09-30T20:43:39
412,182,960
1
0
null
null
null
null
UTF-8
R
false
false
7,396
r
ggprob.R
require(tidyverse) ### binomial gbinom_default_a = function(n, p, scale = FALSE) { a = ifelse(scale, floor(n*p - 4*sqrt(n*p*(1-p))),0) return (a) } gbinom_default_b = function(n, p, scale = FALSE) { b = ifelse(scale, floor(n*p + 4*sqrt(n*p*(1-p))),n) return (b) } geom_binom_density ...
da24ea459e701f25d004b3b41f605cb22bbdad2d
499e407e5f3f16b7f5ed1905a9e150d41a8fe3ba
/workingfiles/ProjRShiny_my/global.R
a3e5af6ba4b5d85223d6b3cdbd152553789400ff
[]
no_license
cjy93/LTA_bus_analysis
93b360052680551d101f2b64781fb11a0262e73b
4293a2868500e7f566eef0b561aaf93075881f6b
refs/heads/master
2022-05-27T18:21:05.073801
2020-05-02T12:30:17
2020-05-02T12:30:17
242,526,627
0
0
null
null
null
null
UTF-8
R
false
false
7,187
r
global.R
## Library packages library(shiny) library(dplyr) library(tidyverse) library(shinydashboard) library(flows) library(maptools) library(st) library(leaflet) library(reshape2) library(igraph) library(ggraph) library(tidygraph) library(tmap) library(flows) library(sp) library(RColorBrewer) library(plotly) library(ggthem...
7b3dd89a99c73e48fa30ca25d2a5d1764db51d2d
0d0104d63657026b3c987e65ba07e0c87e8cb549
/theApp/data_GSE148729_Calu3_totalRNA/deprecated_theApp.R
dd9b6d731f50f2eca63a5dc39dc8ec1107d554af
[]
no_license
EuancRNA/Pan-Coronavirus-Gene-Regulatory-Networks
765b1fa09968622f7acdf0a4cec7707179279f62
99c956abaec9eb8432790f3c9365c69bbc0b1476
refs/heads/master
2022-07-20T05:35:36.165289
2020-05-23T23:31:42
2020-05-23T23:31:42
250,493,330
5
2
null
2020-05-21T04:18:18
2020-03-27T09:32:34
R
UTF-8
R
false
false
3,362
r
deprecated_theApp.R
library(ggplot2) library(stringr) library(ggplot2) setwd("/home/zuhaib/Desktop/covid19Research/rnaSeqData/GSE148729/dataFiles/GSE148729_Calu3_totalRNA/dataLongFormat") data <- read.table("../GSE148729_Calu3_totalRNA_readcounts.txt", header = T, sep = "\t") fls <- list.files()[grep("GSE", list.files())] datasets <- la...
d617ed5e434791be3b97667d1a600cd94d5f83b1
ffdea92d4315e4363dd4ae673a1a6adf82a761b5
/data/genthat_extracted_code/diagram/examples/coordinates.Rd.R
35dbc7a20f9e179ec0c19db2fa5c9b6c1d18faf6
[]
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
557
r
coordinates.Rd.R
library(diagram) ### Name: coordinates ### Title: coordinates of elements on a plot ### Aliases: coordinates ### Keywords: manip ### ** Examples openplotmat(main = "coordinates") text(coordinates(N = 6), lab = LETTERS[1:6], cex = 2) text(coordinates(N = 8, relsize = 0.5), lab = letters[1:8], cex = 2) openplotmat...
08463022f9668a4c5d416768f42a4931f48317e9
e662def6f0876bdd2908d17601b0060e52d31577
/R/RcppExports.R
12816a383718ef71a10aea4e98a971fe0ebe094c
[]
no_license
XiangyuLuo/BLGGM
e2794e1c0016830b46e4d858780d74d8de3717d0
1b37a4e418f669207cd2e6a2171c243233c4c94d
refs/heads/main
2023-07-05T18:02:59.844543
2021-08-09T08:35:16
2021-08-09T08:35:16
330,578,042
0
0
null
2021-01-18T06:43:10
2021-01-18T06:43:09
null
UTF-8
R
false
false
1,000
r
RcppExports.R
# Generated by using Rcpp::compileAttributes() -> do not edit by hand # Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393 MCMC_full <- function(num_iter, num_save, theta_t, ind_zero, mu_t, invcov_t, cov_t, edge_t, group_t, lambda0_t, lambda1_t, pi_t, gam, G, N, K, ssp_v0, ssp_v1, ssp_l, ssp_pi, epsilon_theta = 0.2...
a68bae85ce3cc017a47840d15f55880ea556e7b0
c87f61d1f1e048d52ca528093dff47823d92cad6
/R/wpmed-global.R
39f37e0ac4c789907c27516a5ec1b3962994dc03
[ "MIT" ]
permissive
nettrom/importance
96629fd2ff67ad6100172aa5aaca63d4a386c9d7
6e74623f87862d29ce423769f723adb7ff3d0a20
refs/heads/master
2021-01-17T15:17:59.831166
2017-08-14T23:02:53
2017-08-14T23:02:53
84,104,642
3
0
null
null
null
null
UTF-8
R
false
false
2,265
r
wpmed-global.R
## Comparing the global classifier on the WPMED dataset, and vice versa. ## This involves a little bit of fiddling because our measure of proportions ## of inlinks from WPMED is not in the global dataset. But we'll get to that later… ## Global classifier on the WPMED dataset. ## This is the classifier we used on that...
f69329b06d132356530f89820b0a8cf54ba1b1b9
42dedcc81d5dc9a61a79dbcea9bdd7363cad97be
/age+gender/analysis/01_resolution/C-ROIs_01-extract.R
b46c17a16735607bd9b82854af8dc9367a12df50
[]
no_license
vishalmeeni/cwas-paper
31f4bf36919bba6caf287eca2abd7b57f03d2c99
7d8fe59e68bc7c242f9b3cfcd1ebe6fe6918225c
refs/heads/master
2020-04-05T18:32:46.641314
2015-09-02T18:45:10
2015-09-02T18:45:10
null
0
0
null
null
null
null
UTF-8
R
false
false
2,006
r
C-ROIs_01-extract.R
# This script will extract the time-series from each of the ROI sets ### # Setup ### library(Rsge) library(tools) tmpdf <- read.csv("z_details.csv") njobs <- nrow(tmpdf) # number of jobs = number of subjects nthreads <- 1 nforks <- 100 rbase <- "/home2/data/Projects/CWAS/share/age+gender/analysis/01_resolution/r...
8ea68769e6b362a9c97804f253c1d914770a8112
11e7d531fcf7ea80b4c1a04fc6ab0e6efa8a7a7b
/man/abb2state.Rd
f0e5c1da8d2fdedd05eae9a194d9e5cee8187976
[]
no_license
nbarsch/tfwsp
81e5b82aa9b8f1ed0ed13b9e55457e4a565339f6
28e25f48c4d3180fa411f71dd7eef1382a33b153
refs/heads/master
2023-04-06T20:27:33.192381
2021-04-12T06:52:09
2021-04-12T06:52:09
287,382,128
0
0
null
null
null
null
UTF-8
R
false
true
312
rd
abb2state.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/abb2state.R \name{abb2state} \alias{abb2state} \title{abb2state()} \usage{ abb2state(stateabb) } \arguments{ \item{stateabb}{state abb as two character abb i.e. "CA", "TX", or "NY"} } \description{ Get state from state abbreviation }
43b571c21dd0bbb85e89cb550039ca967fd9c8be
ab26402079755c8eff8d4221267720dd44d89da0
/R/S3Method.R
0f3f5550b380148b0fa53ff6bd4b151698ce529e
[ "MIT" ]
permissive
haileibroad/SamplyzeR
787f0f87332e4680bb2452e7929d9542ac2a0112
fdd9fe66cfd50bdcfd87ed257e11c18f2eb46ca2
refs/heads/master
2021-05-15T12:35:45.215497
2017-10-26T18:02:26
2017-10-26T18:02:26
108,458,811
0
0
null
2017-10-26T19:53:21
2017-10-26T19:53:21
null
UTF-8
R
false
false
1,744
r
S3Method.R
#' Save an object to a specific format #' #' Save an object to tsv, RDS or excel format #' #' @param object #' #' @export save <-function(object, ...) UseMethod('save') #' Write sample dataset to tsv, RDS or excel files with S3 method save. #' #' @param object sample dataset #' @param tsv path and output name of tsv ...
2e73de4959f8d8fba9091ffd3fc1f52435d2bb06
ebf6c0331b9d77a3b1ee3190d34be377a322000c
/R/pcrsim-package.r
5d55ffd635b7060321f1bcfec6e28b8cceee6b0d
[]
no_license
cran/pcrsim
64296cbaa1262d142987f40ebb6710c6cb144618
dac5397ab9fa077915800be68c409459d180ee68
refs/heads/master
2021-01-17T11:20:07.490671
2017-03-17T23:30:37
2017-03-17T23:30:37
17,719,217
1
0
null
null
null
null
UTF-8
R
false
false
1,433
r
pcrsim-package.r
############################################################################### #' Forensic DNA process simulator. #' #' PCRsim is a package to simulate the forensic DNA process. The function \code{pcrsim} #' opens up a graphical user interface which allow the user to enter parameters #' required for the simulatio...
070a7e957b1f852773afa4dd8ead3165cd97f420
70b973af1466108afbb476e62e5672b1fb495f94
/seir-model/plotlib.R
3afdc8d98104229bd9bf90897ab74aea5140b026
[]
no_license
openmodels/coronaclimate
dbac851a4a7b4d51891f69c7e9e43d691e34ecf1
2909520af378cc9b38db09c295f4c451a3be2c00
refs/heads/master
2022-11-07T07:19:59.006186
2022-11-03T01:58:19
2022-11-03T01:58:19
249,415,990
0
0
null
2020-03-30T19:39:06
2020-03-23T11:46:24
Python
UTF-8
R
false
false
2,159
r
plotlib.R
labelmap <- list('mobility_slope'="Mobility Adjustment", 'alpha'="Gradual Adjustment Rate", 'invsigma'="Incubation Period (days)", 'invgamma'="Infectious Period (days)", 'invkappa'="Pre-Testing Period (days)", 'invtheta'="Reporting Del...
bd6bcf5e4a687a9f42d878f4e7efbfeb7a8f9694
1eb7487a6380572f6fbece1498acfa507f9a0662
/R/co_methylation_step1.R
083077fd5f4070312001c8cfa9f745cc735e03bc
[]
no_license
Gavin-Yinld/coMethy
41c82f2a8f41183e82a2f91727bc675b6d073986
66745fc4f20141517c889fd2b57e720240cf4053
refs/heads/master
2020-05-17T07:35:55.236667
2019-08-23T09:16:01
2019-08-23T09:16:01
183,583,856
0
0
null
null
null
null
UTF-8
R
false
false
1,557
r
co_methylation_step1.R
co_methylation_step1 <- function(csm_ml_matrix){ options(stringsAsFactors=F) set.seed(123) data <- as.matrix(csm_ml_matrix) km.res <- kmeans(data, 3, nstart = 25) pdf("parameter.pdf") par(mfrow = c(3,2),mar=c(3,5,2,2)); for(i in 1:3) { require(WGCNA) wgcna.data <- t(data[which(km.res$cluster==i),]) power...
b33b3621e08d392ce59ec2092874d74ea9504116
30c5ed7d7cd44195dd4ce0d61a607579563f4133
/man/setcover.Rd
f9b5c42b7c2b873586ed7cdfb1af037708d31eb9
[]
no_license
cran/adagio
f08103c03dc491c09b2639e94a35339d90f5f36b
8b46ee3aac3d6e84eb153209c5e9399b09808126
refs/heads/master
2022-11-02T19:54:59.661507
2022-10-03T12:40:02
2022-10-03T12:40:02
17,694,245
4
1
null
null
null
null
UTF-8
R
false
false
1,438
rd
setcover.Rd
\name{setcover} \alias{setcover} \title{ Set cover problem } \description{ Solves the Set Cover problem as an integer linear program. } \usage{ setcover(Sets, weights) } \arguments{ \item{Sets}{matrix of 0s and 1s, each line defining a subset.} \item{weights}{numerical weights for each subset.} } \details{ ...
7ca8a71d110d861361d5e289786c2fd7e9c73c5f
3b62ffa02efef29b8bbaa9041d74a1ee72b4807a
/R/rhrIsopleths.R
7b4dbe2216e872e5a1be144a96245f200f94d6d6
[]
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
false
582
r
rhrIsopleths.R
##' Isopleths of Home Range Estimate ##' ##' Function to retrieve isopleths of a home range estimate. ##' ##' Probabilistic estimators take (i.e. kernel density estimates) take ##' an additional argument, \code{levels}, that determines which isopleth are ##' returned. ##' ##' @template RhrEst ##' @param ... see detail...
f90cd9a6f7cab7fee34ea4c92c27cfb67cd38b5c
633be0e519a645e5828993070ec60192ec29ad46
/DMC-MBN18/dmc/models/LNR-SS/dists.R
035e4aaa656487a38e9ca656c7ff8f7bed5f53be
[]
no_license
StevenM1/summerschool_mbn_2018
5200f81a34d3025dee1ff8c9137a115585e39373
b8f0e0f37b606b6bb7a161b7692f3f58455bf4dc
refs/heads/master
2020-03-24T11:56:12.571909
2018-08-01T14:35:04
2018-08-01T14:35:04
142,698,961
1
2
null
null
null
null
UTF-8
R
false
false
19,315
r
dists.R
####################### LNR stop signal ####################### LNR n-choice ---- rlnr <- function (n, meanlog, sdlog, t0, st0 = 0) # Race among n_acc accumulators, mealnlog and sdlog can be n_acc length # vectors or n_acc x n matrices. t0 can be # a) a scalar, b) a vector of length number of accumulat...
262d99ab098da8d9e75939d3ee22b5059ae648b6
f49cfda960b70907ee90ae9ba5fab016a5b70861
/server.R
cf058aaeb7effe3082c3736755e24fb6a5b58aff
[]
no_license
Semooooo/Web-Application
d412363b79379b768b3f0a05a978fbacebb9f80b
e4bf1304ff9141c2207a0b524ceff81887c0ddd6
refs/heads/main
2023-07-24T23:41:25.299964
2021-09-06T23:17:28
2021-09-06T23:17:28
null
0
0
null
null
null
null
UTF-8
R
false
false
6,591
r
server.R
library(shiny) library(readxl) library(dplyr) library(ggplot2) library(DT) library(shinydashboard) library(shinydashboardPlus) library(shinyWidgets) library(psych) library(corrplot) library(htmltools) library(GGally) library(stats) library(plotly) library(ggpubr) library(htmlwidgets) library(shinythemes...
ccbdf63a38fc09dff1c5541f403329963213153a
bf8b1a069668712281a433a35d213cf1b20b29a3
/OrderDataFrame.R
99b0f0c5c9c23c76d6090e7fe96fe71e8b430214
[]
no_license
wmbeam02/Assignment3
65c25483aa498814f4dc2c4acd8ce52505b1f7d5
abff9955f0cf9fe6c88892cfae4af2c7eb42c74d
refs/heads/master
2021-01-10T02:19:03.417788
2015-05-31T02:53:18
2015-05-31T02:53:18
36,444,892
0
0
null
2015-05-28T15:04:40
2015-05-28T14:42:06
R
UTF-8
R
false
false
1,975
r
OrderDataFrame.R
## A function to sort a dataframe first by State then to order the data in lowest occurrence to highest with the names of the ## hospitals alphabetic relationship used to determine ties. rankhospital=function(state, outcome, num="best") { FileName="outcome-of-care-measures.csv" data=read.csv(FileName, colClasses...
a30bad79eced9ae47e0ed6f69b0c9d1397f7a84b
0122ae5c5fe5bd1ffa25184f70d525aea956cdef
/score.r
035fbb4854318cf6bf765ac717e3abc5361d7a0a
[]
no_license
TBKelley/KAGGLE-WISE2014
ddfc141397bc9db69ba2fac3e4f103c8d6f07135
f4832c95cae57713468aaa8a2c2fca4f105a66c4
refs/heads/master
2021-01-10T19:31:07.250474
2014-07-04T12:34:17
2014-07-04T12:34:17
null
0
0
null
null
null
null
UTF-8
R
false
false
879
r
score.r
score <- function(score.table) { if ("FALSE" %in% rownames(score.table) && "FALSE" %in% colnames(score.table)) { TN <- score.table["FALSE","FALSE"] } else { TN <- 0 } if ("FALSE" %in% rownames(score.table) && "TRUE" %in% colnames(score.table)) { FN <- score.table["FALSE","TR...
4030053b564e9c3a8fb2917da4b30eac2fd22b7c
41003e2f32d2d45720f4f5e6eb37b0a121923779
/simulation/method_functions.R
48558140aa5fbefb24c93fc5c9f653e9c3411327
[]
no_license
GreenwoodLab/ggmix
d4a3de1a4d6740520fbbacec81d0de277646d2fa
96fba3925a1f9a2a2d31918be9c30cbbb296f69b
refs/heads/master
2020-04-02T10:40:01.978342
2018-06-28T14:17:37
2018-06-28T14:17:37
null
0
0
null
null
null
null
UTF-8
R
false
false
5,882
r
method_functions.R
## @knitr methods source("/mnt/GREENWOOD_BACKUP/home/sahir.bhatnagar/ggmix/simulation/packages.R") source("/mnt/GREENWOOD_BACKUP/home/sahir.bhatnagar/ggmix/simulation/functions.R") # lasso <- new_method("lasso", "Lasso", # method = function(model, draw) { # fitglmnet <- cv.gl...
491f6fcb02cb9282e6708752ade0b27e6c0a8766
ffdea92d4315e4363dd4ae673a1a6adf82a761b5
/data/genthat_extracted_code/PPRL/examples/DeterministicLinkage.Rd.R
8c9ca1cf14dd4c94fc7dfad61836d6efedd92722
[]
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
920
r
DeterministicLinkage.Rd.R
library(PPRL) ### Name: DeterministicLinkage ### Title: Deterministic Record Linkage ### Aliases: DeterministicLinkage 'Record Linkage' ### ** Examples # load test data testFile <- file.path(path.package("PPRL"), "extdata/testdata.csv") testData <- read.csv(testFile, head = FALSE, sep = "\t", colClasses = "charac...
2e94bf8891e462098ba5fc68b473c32c2cfd2c59
a225f9e6f0a2f10e9222b717549c8324cb4f0dc4
/lib/makeIcon.R
88ed7e5548af8ee2b26eab7919454260de39bcd0
[]
no_license
Bingjiling/ShinyAPP-Rats-in-NYC
eeed1eb6990034d069554fdaff6684400bd5ad32
8edcdbc71a692d26599a100caa23a72d5fa62194
refs/heads/master
2021-01-18T12:18:44.791579
2016-02-27T03:25:10
2016-02-27T03:25:10
null
0
0
null
null
null
null
UTF-8
R
false
false
1,350
r
makeIcon.R
size = 10 icon1 <- makeIcon( iconUrl = "Hamburger.gif", iconWidth = size, iconHeight = size ) icon2 <- makeIcon( iconUrl = "https://www.emojibase.com/resources/img/emojis/apple/x1f1ee-1f1f9.png.pagespeed.ic.SxTX2CImcp.png", iconWidth = size, iconHeight = size ) icon3 <- makeIcon( ...
14cd1e28447c722249056f3d545a66c5de6e02ef
ffdea92d4315e4363dd4ae673a1a6adf82a761b5
/data/genthat_extracted_code/PepSAVIms/examples/msDat.Rd.R
0acc703c5c2825048333fe9b81f92ef50a7a7e79
[]
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
1,065
r
msDat.Rd.R
library(PepSAVIms) ### Name: msDat ### Title: Constructor for class 'msDat' ### Aliases: msDat ### ** Examples # Load mass spectrometry data data(mass_spec) # Convert mass_spec from a data.frame to an msDat object ms <- msDat(mass_spec = mass_spec, mtoz = "m/z", charge = "Charge", ...
980b40a1b7cbc39bfb8bd2eeb2eab5d600097da3
ffdea92d4315e4363dd4ae673a1a6adf82a761b5
/data/genthat_extracted_code/Ecfun/examples/logVarCor.Rd.R
0d498761ae5c0ba9626259ecf0a2949404607160
[]
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
1,725
r
logVarCor.Rd.R
library(Ecfun) ### Name: logVarCor ### Title: Log-diagonal reprentation of a variance matrix ### Aliases: logVarCor ### Keywords: multivariate ### ** Examples ## ## 1. Trivial 1 x 1 matrix ## # 1.1. convert vector to "matrix" mat1 <- logVarCor(1) # check ## Don't show: stopifnot( ## End(Don't show) all.equal(mat...
d459befca9d09de6d337cc94a0a776882928aa88
862bee845b055a3cfb7c0ab5ac1c277ed35f438f
/library/ggthemes/examples/ex-theme_pander.R
7c5229b72d07bbadecaa22c4babc7ec12f96708d
[ "MIT" ]
permissive
mayousif/Turbidity-Cleaner
a4862f54ca47305cfa47d6fcfa048e1573d6a2b7
e756d9359f1215a4c9e6ad993eaccbc3fb6fe924
refs/heads/master
2022-05-09T07:32:55.856365
2022-04-22T20:05:10
2022-04-22T20:05:10
205,734,717
2
2
null
2020-11-02T21:31:19
2019-09-01T21:31:43
HTML
UTF-8
R
false
false
428
r
ex-theme_pander.R
require("ggplot2") if (require("pander")) { p <- ggplot(mtcars, aes(x = mpg, y = wt)) + geom_point() p + theme_pander() panderOptions("graph.grid.color", "red") p + theme_pander() p <- ggplot(mtcars, aes(wt, mpg, colour = factor(cyl))) + geom_point() p + theme_pander() + scale_color_pander() ...
ac82022ed86025f45e7c0649a132f78b1c7d51a2
07bc1ed7d93eae1e2c43519d0afce17e33dfe8fb
/PAF_calculation_article_github.R
79edc2207913cb31daf086fa8b89d44795f364cd
[]
no_license
mulderac91/R-STECO157-spatialanalysis
48046a68a2bf06b6e3e25ce75f71622c754268dc
199e02172f548b69244a4c7e37a1e94c4a6e5d38
refs/heads/master
2022-04-26T19:28:34.550359
2020-04-30T11:43:23
2020-04-30T11:43:23
260,139,922
0
0
null
null
null
null
UTF-8
R
false
false
2,735
r
PAF_calculation_article_github.R
# # Init ---- # # Load packages library(tidyverse) library(INLA) # # Data ---- # # Run script STEC and animal numbers first # # Augment data ---- # tmp.data.summer <- tmp.data.summer %>% select(-geometry) ex.data.aug <- bind_rows( # Augmentation idicator: 0 = original data, 1 = augmented data bind_cols(tmp.dat...
4f3d95fb7d71df2927ae9bb960c3a28a9a9b8e1d
30d561f20092f3549e0e2edb74fa2a4b8189d388
/man/edad_educ.Rd
3638651e6943ba9050271bcd89d1160e87c51064
[]
no_license
arcruz0/paqueteadp
11b134c25cb12303352848260d916491720d5e58
44a8c7733b71bee322cba4aa12e68068652e0338
refs/heads/master
2021-06-13T09:40:27.350756
2021-04-02T22:08:14
2021-04-02T22:08:14
175,672,056
3
3
null
null
null
null
UTF-8
R
false
true
646
rd
edad_educ.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/data_files.R \docType{data} \name{edad_educ} \alias{edad_educ} \title{Edad y educación como confounders} \description{ Datos simulados, en los que la edad y la educación son confounders para el tratamiento de usar redes de mosquitos. Creados ...
5f8163933c748d20d768b0f86e5a20e0fdf5b473
fc5e180eef8ec24d8fe2396794bb317fbb8b1a42
/R/whatNWIS.R
1573b3f6930246d12c87ff7cfe187e06dafecefb
[ "LicenseRef-scancode-warranty-disclaimer", "LicenseRef-scancode-public-domain-disclaimer" ]
permissive
ldecicco-USGS/USGSwsDataRetrieval
cd6c3d7be7439e9a96b6aa3c88cd3c0ed210c88e
507d4088860915778af2db0c16c8b8a63f622b3a
refs/heads/master
2020-03-30T08:50:42.163419
2015-02-13T18:59:31
2015-02-13T18:59:31
30,770,882
0
0
null
2015-02-13T18:57:39
2015-02-13T18:57:39
null
UTF-8
R
false
false
5,003
r
whatNWIS.R
#' @title Data Inventory #' #' @description Gets a description of unit-value, daily-value, or instantaneous #'water-quality data are available for a USGS station and the #'beginning and ending dates of each parameter. #' #' @details The parameter group codes and corresponding NWIS descriptions #'\tabular{ll}{ #'Code \...
ef8e53ade373ab8ba221b077b3d2f81b33ba0b49
05965f92ec94ea32dcf6677f7345f6b0789265ae
/R/kobo_to_xlsform.R
43d4aab24a6d092d01c045ce2dad52f654faf3b2
[]
no_license
DamienSeite/koboloadeR
3187286e6351b24c9a43f3a0938e4bdfe20b2681
5da3c04531cf415fbca40950b52e86e547578635
refs/heads/gh-pages
2020-03-28T17:30:24.576746
2018-09-14T14:05:35
2018-09-14T14:05:35
131,474,775
0
0
null
2018-04-29T07:29:05
2018-04-29T07:29:05
null
UTF-8
R
false
false
3,561
r
kobo_to_xlsform.R
#' @name kobo_to_xlsform #' @rdname kobo_to_xlsform #' @title Generate xlsfrom skeleton from a dataframe #' #' @description Creates and save a xlsform skeleton from a data.frames in your data folder #' The form.xls will be saved in the data folder of your project. #' The generated xlsfrom will need to be manually edit...
f844f7df03c50588a60b817035ce3cca3941df0c
c0693698db7a132954d748ee3b4c7e156e12475f
/preprocess/8_nat_fig.R
70cf064610d6480d1e2f71cc52aeaa5233f9aeb2
[]
no_license
Flowminder/FDFA_01
cd527b2ed444da8d13eaf9aea58c8b8992f1e524
505792796b5cb4c88bc8f49518f87148976b1cf0
refs/heads/master
2023-04-10T04:51:56.346936
2021-04-15T10:58:10
2021-04-15T10:58:10
186,587,717
0
0
null
null
null
null
UTF-8
R
false
false
16,009
r
8_nat_fig.R
# national figure summaries #### EM_int=tbl(mig_db,"EM_int") EM_nat=tbl(mig_db,"EM_nat") IM_int=tbl(mig_db,"IM_int") IM_nat=tbl(mig_db,"IM_nat") admin_names=tbl(mig_db,"admin_names")%>% collect(n=Inf) COUNTRIES=EM_int%>% distinct(ISO)%>% collect(n=Inf) COUNTRIES=COUNTRIES$ISO df=data.frame() country_clicked="A...
19ae717c54dc3e11b4a4aa7e421b0492a2d44e29
19b01a47e88f43766314a6e83c4bae13c2595ef9
/R/target.R
1bdfcee0bcdfaceafc1034354723a59ba5171cb3
[ "MIT" ]
permissive
iandennismiller/i0
1db805eaa0802e4f34adb42c99f8539686a52ad2
36183c6a5d7e4be4fc2552baeb114bd692e194b3
refs/heads/master
2016-09-06T05:44:39.901985
2013-10-28T17:37:38
2013-10-28T17:37:38
null
0
0
null
null
null
null
UTF-8
R
false
false
7,891
r
target.R
#' Create a target object. #' #' @param x input model function specification #' @return target object #' @keywords character #' @export target <- function(x, ...) UseMethod("target") ###### # generic handlers #' Print a zero-targeted model #' #' @param x a zero-targeted model #' @export print.target <- function(x, ....
68a92eaf40de4273d90ed95aff0a45f152aa19f9
6fa24cca5ba1dc15f9f206beb97c260786efe732
/研討會_202307/script/old/8.1-glmm.R
953a197585f553160cbc98d088f3d7c122ab7686
[]
no_license
wetinhsu/Macaca-population-trend
fe14e5dfa6290b4a982175feae290053c60446b9
a0e738ec817ae70b8ea042eeb7b64df4c9b5cb10
refs/heads/master
2023-07-19T12:38:45.198058
2023-07-11T01:13:59
2023-07-11T01:13:59
190,343,813
0
0
null
2019-06-05T07:07:49
2019-06-05T07:07:49
null
UTF-8
R
false
false
3,174
r
8.1-glmm.R
library(tidyverse) library(readxl) library(writexl) library(here) here::here() site_list <- read_xlsx("./研討會_202307/data/refer/分層隨機取樣的樣區清單 _20221031.xlsx", sheet = "樣區表") %>% .[,7] %>% setNames(., "site_list") BBS_Monkey_1521_GLMM <- read.csv("./研討會_202307/data/clean/BBS_Monkey_1521_021...
4817684a4cd60b24e91410f6bbca1bf3447d4ec2
add0e24035b41dcb36aefd0156519221f85e8750
/Simul_fun.r
f3490e538d97d1e9710f27c91f06d76a94e0f2bc
[]
no_license
lsaravia/LogisticStochastic
831f4b4fdf3092a34b10e3a31c2c2263750e3078
2f2e1d5fa2089eff9571e5a4f7014403c6c0ead6
refs/heads/master
2020-04-15T04:37:31.117855
2016-11-14T19:36:48
2016-11-14T19:36:48
73,739,724
0
0
null
null
null
null
UTF-8
R
false
false
2,004
r
Simul_fun.r
# Simulacion estocastica para modelo logistico # # Simulacion estocastica para modelo logistico # con fluctuación ambiental en r (1+a cos(w t)) # STO_logistic_ef <- function(x,pars,times) { # Setup an array to store results: time, N # ltimes <- length(times) output <- array(dim=c(ltimes,2),dimnames=list(NULL,n...
e93b298fde37584159b521ebdf57c649d0642c1d
fb9259f3098f3e02aadbb12dcfa36e1e8f022623
/R/wtd_mwu.R
03a3fb373a23a33cc31616184df4446190f66df3
[]
no_license
strengejacke/sjstats
4786c05635f33a19211c1adaf801b664f093ce38
6f78eb27c779b2a833452ec20baa017042d274a0
refs/heads/master
2023-03-15T19:25:15.651996
2022-11-19T20:13:55
2022-11-19T20:13:55
59,321,248
186
21
null
2023-03-08T16:25:18
2016-05-20T19:33:23
R
UTF-8
R
false
false
1,675
r
wtd_mwu.R
#' @rdname weighted_sd #' @export weighted_mannwhitney <- function(data, ...) { UseMethod("weighted_mannwhitney") } #' @importFrom dplyr select #' @rdname weighted_sd #' @export weighted_mannwhitney.default <- function(data, x, grp, weights, ...) { x.name <- deparse(substitute(x)) g.name <- deparse(substitute(g...
0bf7bccd59becbac484a54bd848e55f41a8bc58f
3038b772a273a2be8aca317104ceaa12ed7c76ec
/code/Data_CleanPrep.R
6e14058e2523b57a8222c5a9cd8b8bd7c4028465
[]
no_license
ArmanMadani/Stat-133-Project
54a7f6ecbb7b4ddf12e63646cf5e12361212e036
7bc245ed9996f4b7f9fe7453e12cdaff4785e3a1
refs/heads/master
2016-09-01T10:43:01.452617
2015-12-14T01:22:13
2015-12-14T01:22:13
47,475,530
0
0
null
null
null
null
UTF-8
R
false
false
6,192
r
Data_CleanPrep.R
# Data Cleaning and Preparation from .html files to .csv files library(XML) # Data Cleaning for Champions.html nba_champions <- readHTMLTable('rawdata/champions.html') nba_champions <- as.data.frame(nba_champions[[2]]) nba_champions[] <- lapply(nba_champions, as.character) colnames(nba_champions) <- c('Year', 'Champi...
7fb982e1c16c249433f83529ad9ea9d468fbb7f3
ffdea92d4315e4363dd4ae673a1a6adf82a761b5
/data/genthat_extracted_code/Rfssa/examples/ftsplot.Rd.R
c33ff1408bfd99086374aac459a5ddd52cecc26e
[]
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
679
r
ftsplot.Rd.R
library(Rfssa) ### Name: ftsplot ### Title: Functional Time Series Plots ### Aliases: ftsplot ### ** Examples data("Callcenter") library(fda) D <- matrix(sqrt(Callcenter$calls),nrow = 240) N <- ncol(D) time <- 1:30 K <- nrow(D) u <- seq(0,K,length.out =K) d <- 22 #Optimal Number of basises basis <- create.bspline.b...
5cc7ddbb67ed7455ee2fcac0ade66864132983fd
4420e96700b4f0f4d4b005d8afb46f07277393f4
/sread2.R
9716fe1edc8eacf03b7f59a568dab9cb7661aa80
[]
no_license
k2hrt/theo1
0df2a6dfcf4c3788d9eb9289f09514fbebfd17a1
dbf52c47d8dfb9e4f23eee1b4479390687433e64
refs/heads/master
2022-11-13T11:14:58.192956
2020-07-11T00:02:38
2020-07-11T00:02:38
276,737,195
2
0
null
null
null
null
UTF-8
R
false
false
780
r
sread2.R
sread2<-function(x,r,tau0=1) { # Get size of phase data array N=length(x) # Get # data frame rows n=nrow(r) # Allocate # analysis points array num<-1:n # Fill # analysis points array # ith row of tau column is r[i,1] for(i in 1:n){ af=(r[i,1]/0.75)/tau0 num[i]=((N-a...
6b7f86bd8c2e06411b19ae5c20b878746c86992d
ba1edf30bca6e023562e4aed21c0ca009d22f431
/db/man/dbfile.insert.Rd
943f28b9c98c6043d1a812e8cbb9e8653fe32101
[ "NCSA", "LicenseRef-scancode-unknown-license-reference" ]
permissive
rgknox/pecan
79f080e77637dfb974ebb29313b5c63d9a53228e
5b608849dccb4f9c3a3fb8804e8f95d7bf1e4d4e
refs/heads/master
2020-12-27T20:38:35.429777
2014-05-06T13:42:52
2014-05-06T13:42:52
19,548,870
1
0
null
null
null
null
UTF-8
R
false
false
784
rd
dbfile.insert.Rd
\name{dbfile.insert} \alias{dbfile.insert} \title{Insert file into tables} \usage{ dbfile.insert(filename, type, id, con, hostname = fqdn()) } \arguments{ \item{filename}{the name of the file to be inserted} \item{con}{database connection object} \item{hostname}{the name of the host where the file is stored...
17a0ee61723f79ed67a1159bc4785b60fdbc1e58
77f228315f25d2d5d3101a3f954fc6b1364fee59
/R/weight.R
4bab1eaad382c4584ca0629c0be0170f78d078bd
[]
no_license
TobieSurette/gulf.data
5fbe678b64d10d9f50fed501d958c65f70d79fcf
7e9796e47c90645e399775dadb1344e7f51a13b0
refs/heads/master
2023-09-03T23:53:10.733496
2023-08-29T18:45:20
2023-08-29T18:45:20
253,640,181
2
1
null
2022-06-01T12:33:15
2020-04-06T23:36:23
R
UTF-8
R
false
false
11,211
r
weight.R
#' Individual or Catch Weight #' #' @description Returns an estimate of the weight of individual organisms for a specified length. #' Estimated weights of sample subsets can also be calculated. #' #' This function makes use of a set of allometric length-weight coefficients to #...
e136e65f8ef97f811196ac9f60c23d3bd1b331df
9036de5c22b81a4c27adb2f25dcc4dbf0faec193
/rhdf5_api.R
60a8e46b0447716ef799d475dc4859728f20e019
[]
no_license
vjcitn/rhdf5_api
afc7f0bf9045fce142488738f4222e0ebf83bb6c
d62020382635ddd7d17b4c8b240242f7210e6958
refs/heads/master
2020-03-21T16:28:41.020471
2018-06-26T17:44:59
2018-06-26T17:44:59
138,772,319
0
0
null
2018-06-26T17:40:43
2018-06-26T17:40:42
null
UTF-8
R
false
false
3,198
r
rhdf5_api.R
#' Function to create a file on hdf server #' @param url character string with http server url #' @note \url{"http://170.223.248.164:7248"} #' @param domain character string with domain name to be created #' @return r http response object #' @export putDomain = function(url, domain){ require(httr) password = Sys.ge...
886b918211f848a97d17d3fc4d5a2a7f33d8f509
69adc2fa8e3765b7323021ea99f83231eda5d79d
/covid19.R
f822fc2c8ae77d250c2639bcd40180c5fa768f0c
[]
no_license
mathstudent97/COVID-19
246cc9a6213f2e6dd3da80e93043b0604e682b24
7e9d162ef75dad012a9c9bfc387bbf316dcdb76e
refs/heads/master
2022-11-08T19:31:26.568861
2020-06-30T20:34:37
2020-06-30T20:34:37
275,473,577
1
0
null
null
null
null
UTF-8
R
false
false
4,820
r
covid19.R
rm(list=ls()) # removes all variables stored previously library(Hmisc) # need this for 'describe' function covid19_dataset <- read.csv("C:/Users/maullonv/Downloads/datasets_494724_994000_COVID19_line_list_data (2).csv") ##################################### ### Short summary of the data set ### ############...
f384e8b127a8ab422b7ce1a9bc19307e3da3ef70
3458aa7285e020e9e47fcf7b69600c807ead81bd
/setup_data.R
2b02980dd1775763e29ac2b50f622b5f21345712
[]
no_license
luoq/asap-sas
04037980cb570f8fd942943b05ef762bf3c82ef8
24035950792746fc9a29c8c2f9b472d0f552c6af
refs/heads/master
2021-01-10T19:59:42.197864
2012-11-18T02:27:30
2012-11-18T02:27:30
null
0
0
null
null
null
null
UTF-8
R
false
false
1,070
r
setup_data.R
require(tm) require(parallel) train_set <- read.delim("../data/train_rel_2.tsv",stringsAsFactors=FALSE) public_test_set <- read.delim("../data/public_leaderboard_rel_2.tsv",stringsAsFactors=FALSE) numberOfEssaySet <- 10 Set=vector(mode="list",length=numberOfEssaySet) Set <- mclapply(1:numberOfEssaySet,function(k){ wi...
3398fe185f21c01b1d7602eabcbe16890a236053
ffdea92d4315e4363dd4ae673a1a6adf82a761b5
/data/genthat_extracted_code/spatstat/examples/transect.im.Rd.R
ada361ee2861e8d9492d1d43da6daac5dc8b6e98
[]
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
317
r
transect.im.Rd.R
library(spatstat) ### Name: transect.im ### Title: Pixel Values Along a Transect ### Aliases: transect.im ### Keywords: spatial manip iplot ### ** Examples Z <- density(redwood) plot(transect.im(Z)) ## Not run: ##D if(FALSE) { ##D plot(transect.im(Z, click=TRUE)) ##D } ##D ## End(Not run)
1d2a9637a41917c21f3cd79a1b93f9c6bea2b169
f89c21bd47eaa88e29bef9bc3474d887486ecbc3
/plot1.R
1be6a032cba410ec9907713702f85aaadfd5ae31
[]
no_license
davidmede/ExData_Plotting1
ba2ffdf0f729355aa1e0608388a36ce18f3576e5
d4bd705015c309ca6159faf20c779162793f06be
refs/heads/master
2022-10-17T04:31:26.198173
2020-06-19T16:52:30
2020-06-19T16:52:30
273,086,053
0
0
null
2020-06-19T14:57:54
2020-06-17T21:56:46
R
UTF-8
R
false
false
681
r
plot1.R
dataset<-read.table("household_power_consumption.txt",header = TRUE,sep = ";",na.strings = "?") str(dataset) library(dplyr) library(tidyr) date_filter<-c("1/2/2007", "2/2/2007") dataset_filter<-filter(dataset, Date %in% date_filter) data_united<-unite(dataset_filter,col = "date_time", Date:Time,sep = "-") data_united$d...
fb32681cf872aedafa95e6447969585209289c5e
f7b618d50b3f7777f7cdc8b55cdf4d9b08839262
/Lab2.R
937b88fec189e20cdb8925000712f4faf9fa33fa
[ "MIT" ]
permissive
5x/TweetsDataAnalytics
d717b9643aba54a3ca821cd7a66129c8d3ad2094
73b39be9c6af270bfe2b5782be827a892370e05c
refs/heads/master
2020-07-11T21:51:17.018529
2019-08-27T08:08:11
2019-08-27T08:08:11
204,651,081
0
0
null
null
null
null
UTF-8
R
false
false
9,310
r
Lab2.R
### --------------------------------------------------------------------------- ### Dependencies ### --------------------------------------------------------------------------- dependencies <- c( "twitteR", "ROAuth", "SnowballC", "data.table", "tm", "ggplot2", "graph", "topicmodels", "wo...
495c4c1e36388a188adf9e0dc7ba5c7e534f423e
00071d2723782db228a267a287a9cd314ca12dec
/code/supp_crossover_duration/crossdur_res.R
b0da3963d138f04b8f8372780b75d3d537feb790
[]
no_license
fintzij/ve_placebo_crossover
d12cbb8914256572a2ec8ed2f137074e42987266
deef82f6d9a3a1712ee132cf72b90b6f64aef368
refs/heads/main
2023-02-16T10:19:46.827837
2021-01-13T16:59:56
2021-01-13T16:59:56
325,616,572
0
0
null
null
null
null
UTF-8
R
false
false
7,158
r
crossdur_res.R
library(knitr) library(kableExtra) library(here) library(tidyverse) library(rsimsum) setwd(here("jon_stuff/cross_dur_2yr")) sim_settings <- expand.grid(ve = c("waning", "constant"), crossdur = c(2, 8)) pars <- expand.grid(ve = c("waning", "constant"), param = c("intcpt", "slop...
c6afd347aead3a326564816a7cfe256a6edd5b36
5e5235afb06284eec78be054f8c39ee1f9edbdac
/data-raw/friedman1.R
305d3cfc3b33d007dc3e5ee847c94e4e61195e9c
[]
no_license
enriquegit/ssr
c9a368263a4d5d7a7f5d1412c96e33676a3b97ff
bbf935ecac4486f303312e9cf56cea147d684c73
refs/heads/master
2020-07-04T04:22:45.855889
2019-09-05T12:14:10
2019-09-05T12:14:10
202,154,442
2
0
null
null
null
null
UTF-8
R
false
false
260
r
friedman1.R
# Script used to generate the friedman1 dataset using the tgp library. library(tgp) set.seed(1234) friedman1 <- friedman.1.data(n = 1000) friedman1 <- friedman1[,-11] friedman1 <- scale_zero_one(friedman1) usethis::use_data(friedman1, overwrite = TRUE)
5ade773042de856b862e90f309c48581b3eb90cd
992a8fd483f1b800f3ccac44692a3dd3cef1217c
/Rstudy/genomicsRange.R
1711c7913feb91348c46acf1966007c705f5b3ef
[]
no_license
xinshuaiqi/My_Scripts
c776444db3c1f083824edd7cc9a3fd732764b869
ff9d5e38d1c2a96d116e2026a88639df0f8298d2
refs/heads/master
2020-03-17T02:44:40.183425
2018-10-29T16:07:29
2018-10-29T16:07:29
133,203,411
3
1
null
null
null
null
UTF-8
R
false
false
5,130
r
genomicsRange.R
# Genomics Range data library(IRanges) rng <- IRanges(start=4, end=13) rng IRanges(start=4, width=3) IRanges(end=5, width=5) x <- IRanges(start=c(4, 7, 2, 20), end=c(13, 7, 5, 23)) names(x) <- letters[1:4] x class(x) # IRanges start(x) names(x) range(x) # the span of the ranges head(x) x[2:3]# subset x[start(x)<...
e6369207741459c71e71698c908db63c88526a42
89c089c0203592b1acc9691cb8bbeae1454cd9ac
/src/run_adaptive.R
f1031f9540588c2573ee1b9b5ef4eccb51aa9220
[]
no_license
kallus/sass
789e4ce47e8652a84724b6ed68d32dccdf0db394
b5138f3870d826948101840aad2d650a9a3d9f74
refs/heads/master
2022-11-09T11:14:36.298017
2020-06-23T08:21:32
2020-06-23T08:21:32
258,504,983
0
0
null
null
null
null
UTF-8
R
false
false
3,161
r
run_adaptive.R
source('src/sass/sass.R') source('src/sass/smoothing.R') source('src/experiment/generator.R') source('src/experiment/caching.R') source('src/experiment/contenders.R') source('src/experiment/real.R') source('src/experiment/scores.R') B <- 100 lambda_ratio <- 0.1 to_w <- function(theta, u=0.1, v=0.3) { omega = as.matr...
7600b1827198c89112739fbc6093a6a7cecabfbe
1d481ceeca7236ce5464c5fafd397fea7e193126
/man/survRM2-package.Rd
f8fa0f6b925136d2d15e0a0675d6c10917dc0e56
[]
no_license
cran/survRM2
d90db8bc397c9fa86db0d22231334a5abb748822
044089fcdd77b46e754cd18ac6d7f21498ce5e73
refs/heads/master
2022-07-27T15:04:02.632607
2022-06-14T02:50:02
2022-06-14T02:50:02
30,389,008
3
1
null
null
null
null
UTF-8
R
false
true
1,698
rd
survRM2-package.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/survRM2-package.R \docType{package} \name{survRM2-package} \alias{survRM2-package} \title{Comparing Restricted Mean Survival Time} \description{ Performs two-sample comparisons using the restricted mean survival time (RMST) as a summary measu...
ea250a79fec66bb6fca2ae7cb815c20da6b85655
c29a2534fb4e5224d49d3fed5e23f6c86987d055
/man/wgcna_get_module_genes_by_sign.Rd
367d0956316143040b60bd1aeeb1f64bf6959646
[]
no_license
ddeweerd/MODifieRDev
8c1ae2cd35c297a5394671e05d3198b6f3b6fcf8
5660de4df282b57cd2da20e8fe493e438019b759
refs/heads/Devel
2020-03-28T18:37:56.271549
2019-11-07T10:45:09
2019-11-07T10:45:09
148,896,901
4
0
null
2019-08-20T14:14:35
2018-09-15T11:42:06
R
UTF-8
R
false
true
839
rd
wgcna_get_module_genes_by_sign.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/wcgna.R \name{wgcna_get_module_genes_by_sign} \alias{wgcna_get_module_genes_by_sign} \title{Split WGCNA module in module containing only positive or negative correlation} \usage{ wgcna_get_module_genes_by_sign(wgcna_module, mode) } \arguments...
95e8466c5adbf8da5e46aeaaf11a736e780e8dd6
97e4dfbf87eedd1ca0d32434215f17c50845e8c7
/R/Tsq_chart.R
26e387f863d362cc1c2041281d926ff802c53cd0
[ "MIT" ]
permissive
cil0834/LAGG4793
73486aec788e2420161071323d8c932ef5498f8c
5f60b208b81523d80f162527fb09783b6c579867
refs/heads/master
2023-04-10T17:47:41.482964
2021-04-22T22:36:58
2021-04-22T22:36:58
351,226,788
0
0
null
null
null
null
UTF-8
R
false
false
1,244
r
Tsq_chart.R
#' Tsq_chart #' #'@description This function takes in data and plots a T-squared plot #' #' @param data a dataframe #' #' @export #' #' @examples #' data = LAGG4793::project_data #' Tsq_chart(data) Tsq_chart = function(data){ # a dataframe n = dim(data)[1] p = dim(data)[2] m = colMeans(data) co_i = solve(stats:...
18b0e68ce959705821bcd69e4adfef800f880cb1
2879f5558c0a317ff1ca28f4fed69388304b69b6
/DB_mon/server.R
436e6e55ae2d87005d28c19d2514c086fdb0e81c
[]
no_license
liyuan97/R-SDSS
d2724b6d1ed136f3d981b1908bedd923fdd900f3
a91f3741f0a5140411bbf642dbb660f8cc78c620
refs/heads/master
2020-03-11T23:02:52.219447
2018-05-20T13:48:35
2018-05-20T13:48:35
130,310,727
0
0
null
null
null
null
UTF-8
R
false
false
1,109
r
server.R
library(shiny) library(DBI) library(ROracle) drv <- dbDriver("Oracle") con <- dbConnect(drv, user = "system", password="a", db="srcdb") qDF <- dbSendQuery(con, "select file_name,bytes from dba_data_files") dDF <- fetch(qDF) qDept <- dbSendQuery(con, "select * from scott.dept") dDept <- fetch(qDept) qSalGrd <- dbSe...
0ee8accf3fd1a17a01ccf63b497760318015af2f
e0e7425d5632f5b003a003c96fabc8663b3d1daf
/inst/doc/cvcrand.R
50b8c0dfc8190f0a2cb98d14da62b8c6e254944e
[]
no_license
cran/cvcrand
b58bf12903bb343f4e903a30d5872cae06cfa05a
81aba6e3091d51101aa00b3f03abc22ce2d25e89
refs/heads/master
2022-04-18T15:52:02.362306
2020-04-13T18:00:02
2020-04-13T18:00:02
112,377,460
0
0
null
null
null
null
UTF-8
R
false
false
8,065
r
cvcrand.R
## ----start,echo=FALSE,results="hide"------------------------------------------ library(cvcrand) ## ---- echo=FALSE, results='asis'---------------------------------------------- knitr::kable(Dickinson_design[ , 1:6]) ## ---- echo=FALSE, results='asis'---------------------------------------------- knitr::kable(Dic...
e6451dc393ced820fb46a7518659b7c517a21aec
e3007f1c87c734f576bcbd7083dce72ec9f59e4b
/R/convert_motifs.R
5accf49f3e97266c8f633e70fceeb91fda1beb2a
[]
no_license
bjmt/universalmotif
99b0dfe9c9afea6f9a5a0db596c88c264aa194b3
ca0445479eda1043758a62aeb3b6239fbfa144ac
refs/heads/master
2023-07-20T05:51:55.219814
2023-07-11T14:17:23
2023-07-11T14:17:23
82,811,804
17
16
null
2022-05-30T09:27:26
2017-02-22T14:10:28
R
UTF-8
R
false
false
25,023
r
convert_motifs.R
#' Convert motif class. #' #' Allows for easy transfer of motif information between different classes as #' defined by other Bioconductor packages. This function is also used by #' nearly all other functions in this package, so any motifs of a compatible #' class can be used without needing to be converted beforehand. ...
7468c4ec52b187f40673eeab1cf21f32cb933103
5b9559fbe07d61b8dc15bb5f701d9853e021f34f
/inst/scripts/outside.R
08c87e1daff699692aa0dda4161b22854e4a7393
[ "MIT" ]
permissive
adamkucharski/covidhm
ef1f3625a38000e919dc848222dcf94ec59afe02
0306b3a1e9940acdd4dc3ad8470a07fa67a1f702
refs/heads/master
2023-03-29T06:47:24.725622
2023-03-23T12:44:16
2023-03-23T12:44:16
563,936,939
0
0
NOASSERTION
2022-11-09T16:41:47
2022-11-09T16:41:46
null
UTF-8
R
false
false
859
r
outside.R
########################################### #SIMULATE OUTSIDE INFECTION ########################################### rm(list=ls()) library(covidhm) library(dplyr) library(purrr) library(tidyr) source("inst/scripts/default_params.R") future::plan("multiprocess") # Simulate scenarios -----------------------------------...
d39ec2f55c45529432fe20c3667743e93934c2da
ffdea92d4315e4363dd4ae673a1a6adf82a761b5
/data/genthat_extracted_code/jstable/examples/coxExp.Rd.R
d4f8b029bb899f461bf6804a59005c7d2db9ded1
[]
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
297
r
coxExp.Rd.R
library(jstable) ### Name: coxExp ### Title: coxExp: transform the unit of coefficients in cox model(internal ### function) ### Aliases: coxExp ### ** Examples library(coxme) fit <- coxme(Surv(time, status) ~ ph.ecog + age + (1|inst), lung) jstable:::coxExp(jstable:::coxmeTable(fit))
29e14b1c489fb940d7ecbcca99d77d9d1ce2c537
62189fdb2b397f2b2050f885c4e9c7cac4045446
/scripts/prims_field_viz/www/scripts/load_packages.R
90167bd31c2ac2ab98a5c92c426bf9bb054bb71f
[]
no_license
ECO2ZTS/prims
9fde52dfdf6e6260dbbd8c60cd2bea3467b9928c
0740633804e230279e0b49981d71d67882199753
refs/heads/master
2022-04-04T01:17:36.281249
2020-01-28T08:06:13
2020-01-28T08:06:13
null
0
0
null
null
null
null
UTF-8
R
false
false
907
r
load_packages.R
######################################## # include all the needed packages here # packages <- function(x){ x <- as.character(match.call()[[2]]) if (!require(x,character.only=TRUE)){ install.packages(pkgs=x,repos="http://cran.r-project.org") require(x,character.only=TRUE) } } ## Packages for geospatial da...
4990c7b26df014b84f6cafbe40ee6568ea4c7423
cb9e345318bd0f0502a459984fb00cb647b3ec2c
/MCD12Q2C6/MCD12Q2C6_sample.R
440e5860083008775fe070360585b8725c157b81
[]
no_license
jm-gray/pixel-forge
f3e70fdf8cd1ea2c834305a907893d8deb0e8dcc
be3f4b3e00f53f1df933e878a63a80e75c497c81
refs/heads/master
2021-07-15T06:05:46.746375
2021-06-29T13:36:14
2021-06-29T13:36:14
61,559,574
0
1
null
null
null
null
UTF-8
R
false
false
9,451
r
MCD12Q2C6_sample.R
library(raster) library(parallel) library(data.table) library(argparse) #--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ GetSDS <- function(file_path, sds=NULL){ # gets the SDS names for MCD12Q2 EOS HDFs # valid sds options: Greenup, MidGreenup, Peak, Senescence, Mi...
a54dc682934a895bbdb48991fcdf88a2d8eb2e4f
6292a37c62159e1ec96200c61fd5e5bd0ce03c2e
/dsia_demo_codes/ch0607.R
c4853a8d098c85252234203e88ee279f577bf270
[]
no_license
jtlai0921/AEL018600_codes
5270eb9bc11acc653f1ba24ff1f6eee340625eb5
1e4267ea82b75a2c9d57f92edfbc5e8f5a429dbf
refs/heads/master
2020-12-18T18:07:52.593639
2020-01-22T01:55:00
2020-01-22T01:55:00
235,479,335
0
0
null
null
null
null
UTF-8
R
false
false
67
r
ch0607.R
arr <- c(11, 12, 13, 14, 15) arr[3] <- 87 # 將 13 更換為 87 arr
426465e197a42645ebb3d260de0d2ba331e35fe1
4c43ba1d8985c586bf213fcb6258dca5cb1a6202
/code/elliptical_shiny.R
5e896d7d563cc0699e6b3fb933981749d0766fab
[]
no_license
kkemper/data_dashboard
d1996108b20ab1d67fcd2c54ba695c57c2ddafa7
deda7ff2296ff5320097c5653b4a7f5f1fb41bfa
refs/heads/master
2022-03-16T22:29:18.793162
2019-08-19T16:59:16
2019-08-19T16:59:16
184,115,561
0
0
null
null
null
null
UTF-8
R
false
false
291
r
elliptical_shiny.R
library(shiny) library(airtabler) library(dplyr) Sys.setenv("AIRTABLE_API_KEY"="<Your API key") #example key************** airtable <- airtabler::airtable("<base key>", "<Tab/sheet name>") ui <- fluidPage( ) server <- function(input, output) {} shinyApp(ui = ui, server = server)
44a0005ee10469e70bfad21ed27bbe94ba793d3f
2d7b0674a00f24f3e5b0744b2e5290798fa798cc
/IronBrain/OldVersion/FerricChloride+Cytotoxic_WST-1_logistic.R
ebe939f0270c44e938da02b1e5e33bc7e408b350
[]
no_license
KJKwon/Lab_project
48081fabe860781a00b9d70686b3ca4c334243a9
f60232df2977a5ec222ffa37f500304b360ffd31
refs/heads/master
2022-09-02T12:42:33.897989
2022-06-15T07:52:42
2022-06-15T07:52:42
69,477,714
0
0
null
null
null
null
UTF-8
R
false
false
3,677
r
FerricChloride+Cytotoxic_WST-1_logistic.R
library(ggplot2) library(reshape2) library(minpack.lm) library(drc) #Iron related gene error bar tbl = read.table('SH-SY5Y_IronToxicityTest_FeCl2_24h_WST-1_results.csv',sep='\t',row.names = 1, header = TRUE) tbl = apply(t(tbl),1,function(x){(x/tbl[,1])*100}) val.Mean = apply(tbl,2,mean) val.Mean = c(as.numeric(val.Mean...
e6cc865481a34ed126855badac8863330c34aeef
50dd2db2c197a76edfca7f5bb96439b36bfbc750
/R/mdev_distance_function(MDEV_DISTANCE).R
9dc09b78c8b67cb288e4b64fbececf16ca30d343
[]
no_license
absuag/dreaweRTools
1dbe6f00b8828bbbc84e21f687d794a3314e4506
583835604b3318d43ae75e36c73b0c71f2b926be
refs/heads/master
2022-04-09T23:52:11.174939
2020-03-12T12:16:53
2020-03-12T12:16:53
null
0
0
null
null
null
null
UTF-8
R
false
false
411
r
mdev_distance_function(MDEV_DISTANCE).R
#' Mean deviation distance #' #' Function to calculate mean deviation distances #' Output: A vector containing mean deviation distances from each point in given vector #' #' @param attr A vector of numeric values #' #' #' @return #' @export #' #' @examples #' MDEV_DISTANCE() MDEV_DISTANCE <- function(attr){ tmpMean <...
be3c2b1438309453d625ced3551eafc00aaedaa3
ce55955fd4189ada9e35696d5cb7589e18eea266
/data-raw/prepare-data.R
423d16d3ca2eb5cc854941207939853ec67d41e1
[ "MIT" ]
permissive
laurafdeza/phon
1adec6d4b3a744b521048564c28bcca3b13ff10a
2e169a9f9ac3f0253f45d2e1b6be008715bdbb1d
refs/heads/master
2020-04-29T20:47:11.062654
2018-12-09T12:55:54
2018-12-09T12:55:54
null
0
0
null
null
null
null
UTF-8
R
false
false
2,456
r
prepare-data.R
suppressPackageStartupMessages({ library(dplyr) library(purrr) }) # This package uses the CMU Pronouncing Dictionary. # See: # http://www.speech.cs.cmu.edu/cgi-bin/cmudict # http://svn.code.sf.net/p/cmusphinx/code/trunk/cmudict/ #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~...
699264698a5a2756666b8bdb58e01371ef84e437
232c8b0213342e9e973ec8ffb695743759ee89b3
/man/make.refFn.Rd
2808846466a300003a7e81a60a92a34fb908fe0a
[]
no_license
uyedaj/bayou
304c98ba9516fb91688b345fb33c9a41765d06cd
b623758bf7b08900e2cd60c9247c2650b564d06b
refs/heads/master
2021-07-05T03:02:21.376172
2021-05-10T14:51:11
2021-05-10T14:51:11
21,963,529
19
10
null
2019-11-06T18:58:40
2014-07-18T01:29:03
HTML
UTF-8
R
false
true
1,698
rd
make.refFn.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/bayou-steppingstone.R \name{make.refFn} \alias{make.refFn} \title{Make a reference function in bayou} \usage{ make.refFn(chain, model, priorFn, burnin = 0.3, plot = TRUE) } \arguments{ \item{chain}{An mcmc chain produced by \code{bayou.mcmc()...
d60b8470cc7fea0b82ba311537c3cf6c4929f78f
ffdea92d4315e4363dd4ae673a1a6adf82a761b5
/data/genthat_extracted_code/madrat/examples/fingerprint.Rd.R
674b4826bc13cd1e24d39803d43d8e5da821a1ce
[]
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
171
r
fingerprint.Rd.R
library(madrat) ### Name: fingerprint ### Title: Tool: fingerprint ### Aliases: fingerprint ### ** Examples ## Not run: ##D fingerprint(".",ls,c) ## End(Not run)
ebf03b4b7ab21f9349143497caed705447291b62
089f28e1e03609dcd9fac4065e26d11d3359a0f3
/Work/Cleaning_Week2.R
b993025de0662c9d2b3d6b6f9c884da86ec79e16
[]
no_license
themp731/datasciencecoursera
8371f124617588205e7daa4089bab49af4d61907
c363749ef94eda0f6507ebc10f1cfb1ef4638fe0
refs/heads/master
2020-04-09T19:16:52.921598
2016-10-10T19:35:33
2016-10-10T19:35:33
62,075,087
0
0
null
null
null
null
UTF-8
R
false
false
1,425
r
Cleaning_Week2.R
"This is connecting to a mySql DB" library("RMySQL") ucscDb <- dbConnect(MySQL(),user="genome", host="genome-mysql.cse.ucsc.edu") result <- dbGetQuery(ucscDb,"show databases;"); dbDisconnect(ucscDb) result "The result is all the databases" #We're interested in hg19 hg19 <- dbConnect(MySQL(), user=...
e01c8eeac678fc73ea930593703bc0f07cdfe81e
1a058815dc84cf41ed87efc68feba6ddbf511b92
/diets.R
eaa30f92618b9067ba0d648ad30ab0c4419f3be4
[ "MIT" ]
permissive
JPGibert/Foodweb_thermal_asymmetries
f1e1ee241ead4eb473190284aa2da2134814ec43
76a7629b979b080a82a2c1155fc69bdbd4872528
refs/heads/master
2023-04-14T03:34:18.282452
2022-05-17T15:03:25
2022-05-17T15:03:25
246,418,052
1
0
null
null
null
null
UTF-8
R
false
false
13,855
r
diets.R
library(tidyverse) #mammal mortality data #mammal diet data mammal_diet0 <- read_tsv('/Users/jgradym/Google Drive/Gibert Paper/Data/Diet/Mammals/doi_10.5061_dryad.6cd0v__v1/MammalDIET_v1.0.txt') mammal_diet1 <- mammal_diet0 %>% mutate(Species = paste(Genus, Species, sep = "_")) %>% select(Species, TrophicLevel) un...
7509fb0963ac018dcce01b346228aa218b8fdd49
3b337766cdaa82787e0e1a188c0bbb84dae96e41
/MechaCar_Challenge.RScript.R
e3a7926666e9b279b8688164c143a797a889fb58
[]
no_license
ConorMcGrew/MechaCar_Statistical_Analysis
80aa7d1474ed17fa2647a0814881919dbdf9103b
da874cbd452976b6ce3f4ad6d24ba2b8286cd5ca
refs/heads/main
2023-06-06T23:30:48.665143
2021-06-28T03:43:07
2021-06-28T03:43:07
380,807,570
0
0
null
null
null
null
UTF-8
R
false
false
1,069
r
MechaCar_Challenge.RScript.R
library(dplyr) MPGdataframe <- read.csv(file='MechaCar_mpg.csv', stringsAsFactors = FALSE) lm(mpg ~ vehicle_length + vehicle_weight + spoiler_angle + ground_clearance + AWD, data=MPGdataframe) summary(lm(mpg ~ vehicle_length + vehicle_weight + spoiler_angle + ground_clearance + AWD, data=MPGdataframe)) SuspensionTable ...
438c5c501ba4a4cc7e41191ea2f8fb6396cd843c
8e865dd13098b885dd99ff8377ec1adb09f6b4a1
/AJB_scripts_github/filter_and_compare/subtree_functions.R
2590fe72ea310c4702be58e786cd96592766336e
[]
no_license
annethomas/veronica_phylo
157b7e9b699121d72fd718ed89f96e7ff386f202
db5faabf16d5997acb7eee93544522a675c8e6c8
refs/heads/main
2023-05-31T07:57:58.379739
2021-06-17T21:13:39
2021-06-17T21:13:39
308,403,666
0
0
null
null
null
null
UTF-8
R
false
false
3,350
r
subtree_functions.R
library(dplyr) getDescWrapper=function(tree,node,root){ tree$tip.label[phytools::getDescendants(tree,node)[which(phytools::getDescendants(tree,node)<root)]] } ## this is used in function, could add as argument genbank_species=unlist(read.table(file.path(compare_dir,"genbank_compare_species.txt"),stringsAsFac...
aec4f8fa67dfb338b955ed0f862fa1c7aa032929
93cb634ab72a5456783b369e71b433678cfce7c7
/etl.R
abf33e504fb912a7cdda6d47b153dbde5765f71d
[]
no_license
thatcher/ExData_PeerAssessment2
f8ad8005746011c1bf958fd06e01aae83b23e500
437fc622406f3bb406005c411cbf7982ce9680f3
refs/heads/master
2021-01-19T00:46:44.696464
2015-03-22T17:07:55
2015-03-22T17:07:55
32,684,361
0
0
null
null
null
null
UTF-8
R
false
false
10,275
r
etl.R
# Homework assignment for Coursera exdata-011 # Week 3 # etl.R # # Basic routines for fetching the data from the web, read into R, # transform any fields we need to clean/manipulate, and load # the required subset for exploratory analysis. # # Extract will only download the data if it cant find the file locally or # is...
afd31e00287fb1c5ea1f185c93af0972c4920b26
19449fbd87dad541e001ad7898ba30af0c839c27
/Kristina_Motue_Week8_Part2_Task3.R
e4d6ae39754f6a7cec7c827bf3e5b545ed92d433
[]
no_license
KristinaMotue/LearningWeek8
7d0a3837c9c1b51124d728feae38a574d00ef70f
7938d3921233d6c57951eaf97ce7f4484a40ccea
refs/heads/main
2023-03-30T04:39:39.244195
2021-03-29T21:03:59
2021-03-29T21:03:59
352,783,262
0
0
null
null
null
null
UTF-8
R
false
false
119
r
Kristina_Motue_Week8_Part2_Task3.R
library(ggplot2) x <- 1:20 y <- x^2 qplot(x,y, xlab = "x", ylab = "x^2", geom=c("point", "line"), color=I("Pink"))
f204deb707f8e25916b75c70a1e44c6cf4dfd171
951ac92c5e14a43947292208fa7a5ec7b113f752
/man/simVARmodel.Rd
806785ace9440adcfbf1ef2cf08b3b02c8d9a56d
[]
no_license
Allisterh/VARshrink-1
91c9054ae38111ce242553e73e8c03718b7725cf
2eb484246de70a9e4389357b2f7284b27caf56a3
refs/heads/master
2022-04-06T20:39:50.159056
2019-10-09T14:10:03
2019-10-09T14:10:03
null
0
0
null
null
null
null
UTF-8
R
false
true
1,160
rd
simVARmodel.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/simVARmodel.R \name{simVARmodel} \alias{simVARmodel} \title{Generate multivariate time series data using the given VAR model} \usage{ simVARmodel(numT, model, burnin = 0) } \arguments{ \item{numT}{Number of observed time points, T.} ...
f494eeaa9a9ab7e8cdbc5ea1d8b3cb53357e2bf2
6f4796e1757c4e4f7bccd7207d18c87e6f1e4e6b
/R/datprep.R
dd0d3abb5e0539d75aaa0c1490c1af319bc64355
[]
no_license
bjcochrane/TeachingPopGen
12dd96517bb0b005615235c5b567490eb0a41adc
033510f77f81fb1b2d668f34f682b857958c5cda
refs/heads/master
2021-11-30T21:05:55.295372
2021-11-08T18:02:53
2021-11-08T18:02:53
20,026,473
1
0
null
null
null
null
UTF-8
R
false
false
420
r
datprep.R
## Function to extract genotype numbers only from raw HapMap files ## min sets the limit for eliminating snps with fewer than n represenatatives in any genotype class. datprep <-function(dat,min=5){ genos <-cbind(dat$V13,dat$V16,dat$V19) genos <-data.frame(genos) rownames(genos) <-rownames(dat) colnames(genos) ...
9ee3e78d603d35a0257b67a306292c13d33e7680
188dbd6c2e199912b833fa14414b9668b3a97863
/scripts/05b_plot_ManhattanPlots.R
65707c428ed4f462b3cc0a47e4ae935ffd0f240e
[]
no_license
JasonMares63/Polygenic-Score-Portability
5ec9f611358246c9257c720cb3432bce30d93fc2
75ee51e2c5272d515902cbda20725be6ae4a6f50
refs/heads/main
2023-05-11T05:46:31.779941
2021-06-04T14:17:57
2021-06-04T14:17:57
358,634,609
0
1
null
null
null
null
UTF-8
R
false
false
1,490
r
05b_plot_ManhattanPlots.R
.libPaths("/rigel/mfplab/users/jm4454/rpackages/") suppressPackageStartupMessages(suppressWarnings(library(tcltk))) options(bitmapType='cairo') library("qqman",lib="/rigel/mfplab/users/jm4454/rpackages/") library("dplyr",lib="/rigel/mfplab/users/jm4454/rpackages/") phenotypes <- c("Basophil", "BMI", "DBP", "Eosinophi...
3c3ca5038e9d32c30d7083f1608ffd57dec9b876
99c837f0915c852a948947c3e69202de87525224
/analyses/rankings/processingDatasets/addAlignments.R
6e7521d29a671f51126e0e132f2df76bffa64100
[]
no_license
crisprVerse/crisprVersePaper
77ec43419f9f43c7edd9d28796e91e1ac2a9b1cd
b6e4356b6377c6c69a3d8e61c976372f496d1854
refs/heads/master
2023-04-10T10:55:32.970539
2022-10-20T17:01:41
2022-10-20T17:01:41
534,335,360
2
0
null
null
null
null
UTF-8
R
false
false
2,753
r
addAlignments.R
library(crisprDesign) library(crisprDesignGne) gs <- readRDS("../processingRankings/crisprverse/crisprverse.results.rds") cols <- c("ensembl_id", "spacer", "percentGC", "polyT", "n0", "n0_c", "n1", "n1_c", "n2", "n2_c", "n3", "n3_c", "hasSNP") newCols <- c("percentGC", "polyT", "hasSNP", ...
9a8cb3014fe3533c88b17992f2bcdf239fba416c
0a90eb1dcd39493a432098a6ff58f97231ef75d1
/verificarCiudad.R
a45eace86bbdb19a5d456d82e3ac8d9ce7298a40
[]
no_license
FerDoranNie/geodataLimpiezaSismo
b426162b08b30958cc3ce4cbe2a6589599f10442
3295b44ed620eded5e912f6cbca149dd08766678
refs/heads/master
2021-07-04T19:07:30.194507
2017-09-25T23:11:24
2017-09-25T23:11:24
104,497,405
3
0
null
null
null
null
UTF-8
R
false
false
2,451
r
verificarCiudad.R
#################################### #Creado por Fernando Dorantes Nieto # <(°) # ( >)" # /| #################################### library(magrittr) c("data.table", "ggmap", "dplyr", "tidyr", "lubridate", "geo...
a65844092dca75c037e7242fc9f882a2ed7aaf50
3799e008da31a5ca77b297ece995e5d2a4f74e20
/R/combineMolIon.R
555fba298ae0bbefac4f8f0afdba174c37eb2610
[]
no_license
rsilvabioinfo/ProbMetab
047f1ec7fff6d08aac2a97687af80c9b6d1cd39d
8311928cc5d18c6a215e8b48f8c2b4d82ea5df2a
refs/heads/master
2021-01-17T11:16:22.797086
2017-04-11T16:32:37
2017-04-11T16:32:37
16,100,752
2
2
null
2016-04-26T16:57:39
2014-01-21T11:32:18
R
UTF-8
R
false
false
7,213
r
combineMolIon.R
#' combineMolIon #' #' This function combines ion annotations in different acquisition modes. It operates #' in two main modes, combining individual annotations given by get.annot #' function, using the retention time and mass/charge windows provided by the user #' or extracting annotations from a peak table provide...
bdea4b22c938fb007037424b5d7192871b32f34b
5c82f476674236af1d1566c2e6d89ae7eb3a24a2
/Additional_models/C5_building_v1.R
b18397ad93e77f235f1904ca63d98bc6b11e21e6
[]
no_license
francescaprata/Indoor-Positioning_WiFi-Fingerprinting
ae0a7812a25b152892dcc7d460f8f8c7e9063bd7
487302044714e1d510263ea7253625a4084686df
refs/heads/master
2020-04-27T16:48:58.955044
2019-03-26T16:14:46
2019-03-26T16:14:46
174,494,320
0
0
null
null
null
null
UTF-8
R
false
false
3,496
r
C5_building_v1.R
########################################### # Name: Francesca Prata # # Project: WiFi Locationing # # Script: Predicting building ID with C.5 # # Date: 5 March 2019 # # Version: 1 # ###############################...
a47047391832c7d086421f6d744a513721f2e952
a4d3c14135bb1e3cf25fd0d0176fecc6accdb9eb
/R/intersectionint.R
8ac71fd6d5df97f71ebac21ed1265775e3c686d0
[]
no_license
sdestercke/Belief-R-Package
2d2ca9677547d302f3e46ac7c9beb59717063257
646fd2c73764e4af151bcfc26743c35000de8df0
refs/heads/master
2020-05-16T23:14:44.728977
2012-08-03T10:24:27
2012-08-03T10:24:27
3,516,891
1
0
null
null
null
null
UTF-8
R
false
false
237
r
intersectionint.R
'intersectionint'=function(interval,c){ #internal - used by SMCgen # inf=2*c-1 sup=2*c bound_inf=max(interval[inf]) bound_sup=min(interval[sup]) if(bound_inf>bound_sup){ bound_inf=0 bound_sup=0 } return(c(bound_inf,bound_sup)) }
d683c6b0541a5bbbcdeba30f88a342584f2e3116
8e233535ad72cc5068a87b7b3844463a3309d432
/2_Porcentaje_y_Enriquecimiento/Enriquecimiento_funcional.R
d8ebc2e358056988f5bd75234d0899b34e632c12
[]
no_license
rbarreror/Epigenetics_ChromHMM
9c7e030a2194b0aea0588b8bfa1d1cc1d1cbc8a0
97dcf36634f1ec592ae4981c434fedb1dd2aa6d5
refs/heads/master
2021-05-24T12:41:00.541480
2020-04-06T19:58:22
2020-04-06T19:58:22
253,566,385
0
0
null
null
null
null
UTF-8
R
false
false
5,498
r
Enriquecimiento_funcional.R
""" Name: Rafael Barrero Rodríguez Date: 2020-03-11 Description: En este script recogemos y realizamos el enriquecimiento funcional a partir de los distintos ficheros BED con los intervalos genómicos donde se encuentra nuestro estado. """ root_folder <- paste0("/home/rafael/Master_UAM/Transcriptomic...
6dfddebaeb951c775cd99bb2f477eb8a2c640f0f
0c61299c0bfab751bfb5b5eac3f58ee2eae2e4b0
/Daphnia/Juveniles/set_up_fex.R
d93b8c3df4586fec1b11105952ce1b7e73248c6e
[]
no_license
jwerba14/Species-Traits
aa2b383ce0494bc6081dff0be879fc68ed24e9c2
242673c2ec6166d4537e8994d00a09477fea3f79
refs/heads/master
2022-10-13T10:57:54.711688
2020-06-12T01:57:21
2020-06-12T01:57:21
105,941,598
0
0
null
null
null
null
UTF-8
R
false
false
2,311
r
set_up_fex.R
## juvenile daphnia feeding and excretion source("../../transfer_functions.R") source("../../Graphing_Set_Up.R") library(tidyverse) ### hmm some problems with cc change-- need to double check rdatj <- read.csv("Small_Daph_Feeding.csv") ## missing data for treatments 6 and 7, if I can get back into lab can find missin...
91425afc3bfa761e491b1cb2fcbb6c265f9ddf80
a2d73f27df156aaf155ce81f474e38026ab350d0
/2_Logistic_regression_and_nonparametric_methods.R
d754a3a196161c889665f983929cdd084029cda0
[]
no_license
vonOrso/Stepic_524_Basics_of_statistics_Part_2
f2a0e40cacbb27f4d7de737018c6d85fd2584a09
9cb1c93d58732b77f67516b05a1b322bd410aa03
refs/heads/main
2023-02-11T17:22:51.923159
2021-01-04T21:34:27
2021-01-04T21:34:27
324,353,295
9
1
null
null
null
null
UTF-8
R
false
false
265
r
2_Logistic_regression_and_nonparametric_methods.R
# 2.1.3 # log(30/70) # 2.1.4 # exp(-1)/(1+exp(-1)) # 2.1.5 # log((24/41)/(17/41)) # 2.2.4 # 50*(exp(-0.8472979)/(1+exp(-0.8472979))) # 2.3.1 # exp(1.1243)+exp(-2.4778) # 2.3.3 # (197/64)/(93/360) # 2.5.2 # exp(-1.15+0.8+2.13-0.17)/(1+exp(-1.15+0.8+2.13-0.17))
79bf5b7b78bce981896f2990afd646aaf8c21159
b67d0705c87c4ac2fc6a0d0eb2b00b5cde91e770
/assignments/ch2_jakob.R
177e23b37d0efd70f64dad1c5cbd7a086cf77e8a
[]
no_license
ahulman/Assignment1
b607ac60c82b817bb42575ce814ff4a4c31a6f86
4d938e167d0aa9bf17899d6cb02641bf45b6347e
refs/heads/master
2020-04-06T05:48:39.808159
2017-07-05T10:17:34
2017-07-05T10:17:34
82,927,709
0
2
null
2017-03-03T13:04:46
2017-02-23T13:02:19
R
UTF-8
R
false
false
4,742
r
ch2_jakob.R
###Creates SimCohort simCohort <- function(N,S){ set.seed(S) ###Jakob id <- c(1:N) #creates a sex variable for first 600 and appends last 400 sex <- rep.int(0,N*6/10) sex <- append(sex, rep.int(1,N*4/10)) #creates dataframe from SEX and ID vectors dataContinuous = da...