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
74b0deb7fbefe2a117d71af2d1d1ed641f7e6ab7
ccf99da96d03f53555ea6f8db95632fb0882716a
/tennis.R
fc1e4345ae29671b7a7570db1f4a62b5a9893b6a
[]
no_license
Cat-n-Dog/tidy_tuesday
ad3eb67d84be3e9c4f639a9e2300cbd768167339
0a46f0bd0297e25bfa644a8e701d6f14fa75b020
refs/heads/master
2020-05-15T14:08:32.068438
2019-04-19T21:07:20
2019-04-19T21:07:20
182,325,761
0
0
null
null
null
null
UTF-8
R
false
false
1,517
r
tennis.R
library(tidyverse) library(lubridate) library(ggthemes) library(cowplot) library(gghighlight) player_dob2 <- player_dob %>% filter(!is.na(grand_slam)) %>% mutate(calc_age = (date_of_first_title - date_of_birth)) player_dob2 %>% ggplot(aes(x = age)) + geom_dotplot(binwidth = 90) + theme_minimal() player_dob2...
fd132041cf1277be6dbce427e7a23908f17df7bc
0dfc9f092963a7c3252578c4a9dd9a326f6d5f7f
/scripts/pattern_22.R
3f004ee3723b1fae0891995e001279e03b056fb7
[]
no_license
crouzet-o/patterns
ee98b4fde517ddc62031d00e81b357d2d8c6722d
8f6c03ee33a1f2ee5d3f30e0dc7391c9b6376a43
refs/heads/main
2023-02-16T04:39:54.380756
2021-01-02T06:35:19
2021-01-02T06:35:19
null
0
0
null
null
null
null
UTF-8
R
false
false
1,849
r
pattern_22.R
library(dplyr) library(ggplot2) library(ggforce) apply_pattern_theme = function(bg_hex, caption_hex){ theme( plot.background = element_rect(fill = bg_hex), panel.background = element_rect(fill = bg_hex), panel.grid = element_blank(), plot.caption = element_text(family = "Open Sans", ...
d362a908b2f879147c933c67d3b43b9a17ae0404
1c01ed7a5e79c5e281c0ede3406f702f79766882
/man/empty.frame.Rd
63aeace58d7c8210a3b19115c2bef7bb8625bdeb
[]
no_license
christiantillich/AnaliTools
19e738e4084be1678ff7aeda45aa9f146de5ac1d
cab56ef7729f1d9692af5241ac5eca60060c3045
refs/heads/master
2020-04-06T05:12:48.950283
2019-02-25T22:09:03
2019-02-25T22:09:03
47,645,937
0
1
null
2019-02-25T22:09:04
2015-12-08T19:53:20
R
UTF-8
R
false
true
382
rd
empty.frame.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/data.tools.R \name{empty.frame} \alias{empty.frame} \title{empty.frame} \usage{ empty.frame(col.names) } \arguments{ \item{col.names}{- User input column names.} } \value{ An empty data frame object with the specified column names } \descript...
0204e400e0b01591f56d8b9755b73ea18f995302
e2d06410af5af94eff00bffd230fb5c689daaba1
/man/gtm_workspace_id.Rd
6379b48ef818232cc2638e14fb1aa2a325f4f986
[]
no_license
MarkEdmondson1234/gtmR
b99855895768c2b7dd3eee33881a89adcdc20770
644684285808ecf02a59fa31830802d4b1435d28
refs/heads/master
2021-01-10T16:22:00.092511
2020-12-05T21:32:24
2020-12-05T21:32:24
55,138,326
6
3
null
2020-12-05T21:32:25
2016-03-31T09:37:49
R
UTF-8
R
false
true
373
rd
gtm_workspace_id.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/workspace.R \name{gtm_workspace_id} \alias{gtm_workspace_id} \title{GTM current workspace ID} \usage{ gtm_workspace_id(accountId, containerId) } \arguments{ \item{accountId}{Add your GTM account ID} \item{containerId}{Add your GTM container ...
722df2eef24ddc0e4a0e7766b64f4656e58e9dc8
2693a682078fe71bed78997f82b71b82c0abd0ad
/base/logger/man/logger.getLevelNumber.Rd
e3f4b0a3a9d77e6fcd5c5732d2744f398bfd061d
[ "LicenseRef-scancode-unknown-license-reference", "NCSA" ]
permissive
ashiklom/pecan
642a122873c9bca4f7ac60f6f260f490f15692e4
52bb31866810e2c93ddf540f2065f41ec008627b
refs/heads/develop
2023-04-01T11:39:16.235662
2021-05-24T22:36:04
2021-05-24T22:36:04
28,980,311
3
0
NOASSERTION
2023-04-01T20:08:15
2015-01-08T18:44:03
R
UTF-8
R
false
true
438
rd
logger.getLevelNumber.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/logger.R \name{logger.getLevelNumber} \alias{logger.getLevelNumber} \title{Returns numeric value for string} \usage{ logger.getLevelNumber(level) } \value{ level the level of the message } \description{ Given the string representation this wi...
aa4115734c81fc4573c5c66c40455d808d5b93de
825a5e6e1d8952ea84e54632b9e88d41e521963d
/Clusterization.R
795f50c6676ebdb6063eea5e77817b7015e0f041
[]
no_license
Alexadol/Salmonella_novobiocin
f55feeebb29867f19d53acfa9c2d47723baddc0e
587e06ee9232bc149016747be07e8ee24e5d2f8c
refs/heads/master
2022-11-12T04:02:55.342378
2020-06-19T18:28:50
2020-06-19T18:28:50
267,666,046
0
2
null
2020-06-19T18:25:22
2020-05-28T18:29:14
Jupyter Notebook
UTF-8
R
false
false
4,091
r
Clusterization.R
#Loading required packages library(edgeR) #Set working directory setwd('/home/alexadol/TKA3/') #Open tables with raw counts res_with <- read.csv('counts_res_with.csv',sep=' ') #with antibiotic res_wo <- read.csv('counts_res_without.csv',sep=' ') #without antibiotic #binding two tables in one res_full <- cbind(res_wo...
57e8cce6345f6c4644525a436872ff382f32c4b7
800ad0439a48efc7da01488835813bbc2328f42f
/StataR Recitations/Week 1 EDA and grepl.R
710bb1c4d4eb787a55eba5ec89280299fc80cffe
[]
no_license
christianmconroy/Teaching-Materials
d4bd969e784df816e1e538015ccb7bb84cf08987
2a2a3e13f24e2f9f86b6c7473717aba68d2c4270
refs/heads/master
2022-06-02T08:07:46.689712
2022-05-18T14:20:01
2022-05-18T14:20:01
181,171,256
0
0
null
null
null
null
UTF-8
R
false
false
2,255
r
Week 1 EDA and grepl.R
# In class activity 1 # mydata<- read.csv("/Users/christianmconroy/Desktop/Documents/GeorgetownMPPMSFS/McCourtMPP/Semester3Fall2017MPP/StataRecitations/RExportcsv.csv", sep=",") attach(mydata) # In the case of R, the "browse" and "list" functions are essentially the same mydata mydata[order(mydata$price),] nrow(myd...
1581b38982dfa82bc770679ce21b167de9e5d5bc
4362529de57d61cbc52a9007929ed3e9ca55ead4
/plot3.R
c622bd93fa9f16f46dc3fae03c1e4509769c6c53
[]
no_license
alokjadhav/ExData_Plotting1
de665e8c583c06d7f29623f5c8712f19e8bf809e
0d1107500f3f67e1883326e131bd4d142a02826e
refs/heads/master
2021-01-16T17:53:57.077430
2015-04-12T12:02:14
2015-04-12T12:02:14
33,803,165
0
0
null
2015-04-12T04:36:46
2015-04-12T04:36:46
null
UTF-8
R
false
false
863
r
plot3.R
dir <- "S:/Online_courses/DataScience_Specialization/4_Exploratory_Data_Analysis/proj1" setwd(dir) #data filename <- "household_power_consumption.txt" data <- read.csv(filename,sep=";",stringsAsFactors=FALSE,na.strings="?") data$Time <- strptime(paste(data$Date,data$Time),format="%d/%m/%Y %H:%M:%S") data$Date <- as.D...
2bc65d5b3498f2801db094e3c04a6d9f14305a2b
cd91da282206d5b487e5832cc266a543d59d007a
/codes/ARACNeReady.R
34b92a0c08dcfa3723c5cf6c30157ab6458b8251
[]
no_license
hjkim88/GTExProj
bdbb530b9cf9476d813f3962eaed2e0fd39624bb
71c41d47a97e9db10cdd4007ecdb82674214484b
refs/heads/master
2020-04-12T00:12:27.218482
2020-02-14T21:52:07
2020-02-14T21:52:07
162,192,579
1
0
null
null
null
null
UTF-8
R
false
false
1,514
r
ARACNeReady.R
### # File name : ARACNeReady.R # Author : Hyunjin Kim # Date : Dec 1, 2017 # Email : hk2990@cumc.columbia.edu # Purpose : Make Aracne-ready file from the transformed counts # # Instruction # 1. Source("ARACNeReady.R") # 2. Run the function "makeReady()" - specify t...
cd55b7bdcf53d464799cb2bfd67f722bd787e49f
359d345d9afa5f47e7cc2ce3ccc994be246054ca
/bench/bench-var-sandwich.R
5739a877f5745bcf89eb32031af9db60dbb8f13a
[ "MIT" ]
permissive
shamindras/maars
de6bda58bc696aa33336320ab9b5b89049a8cc6d
261be12745649a813bb4f9c9768a28ee717306eb
refs/heads/main
2023-05-23T16:56:34.474132
2021-09-16T23:07:43
2021-09-16T23:07:43
312,942,004
15
1
NOASSERTION
2021-09-24T20:26:11
2020-11-15T02:22:58
R
UTF-8
R
false
false
2,129
r
bench-var-sandwich.R
set.seed(168465) # Number of decimal places to round the variance estimators NUM_DEC_PL <- 7 # Function to create the sample linear regression simulated data create_lm_fit <- function(n, p) { Sigma <- diag(p) betas <- seq.int(from = 1, by = 1, length.out = p) X <- MASS::mvrnorm(n = n, rep(0, p), Sigma) ...
077f88a404952bcd9ec6f3cf36cb5d76942e224b
ffdea92d4315e4363dd4ae673a1a6adf82a761b5
/data/genthat_extracted_code/episode/vignettes/episode.R
75ffe3d06f462328748e7f8fb7c9d1a89041eed3
[]
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
2,746
r
episode.R
## ---- echo=FALSE,results='hide'------------------------------------------ # devtools::load_all() set.seed(123) library(episode) ## ------------------------------------------------------------------------ # Stoichiometric matrices of the Michaelis-Menten system A <- matrix( c(1, 1, 0, 0, 0, 0, 1, 0, 0, 0, 1...
13af9cd37aa9a759dcc0648eab0704a3e84b3014
b9625edf086a612cab705772bb846608f05cc259
/R/whipple.R
a87e703bc5461b6517a5714d8ef5cdb1a2949133
[]
no_license
statistikat/simPop
73a0c53a608b990664e8b98904052d8e22f8cef5
701228cf7fe29806edd553b4ad26eca4aade26ff
refs/heads/master
2023-08-07T18:22:55.097196
2023-08-04T04:42:03
2023-08-04T04:42:03
88,950,531
21
6
null
2023-08-04T04:42:04
2017-04-21T06:38:00
R
UTF-8
R
false
false
2,971
r
whipple.R
#' Whipple index (original and modified) #' #' The function calculates the original and modified Whipple index to evaluate #' age heaping. #' #' The original Whipple's index is obtained by summing the number of persons in #' the age range between 23 and 62, and calculating the ratio of reported ages #' ending ...
0627b9d7b1b9d19dd40bd96c118323affab04ccc
49fdecdd43d53709fffcbdd0b17c37a350a94613
/Keyword_Analysis/ui.R
abedb469ebb75a34d0befc3d0ec956828dc54a6f
[]
no_license
saksham-aggarwal/final_project_info201
a643f1d876ef3c7450e97263669bea73095bcffb
62363fad2530dde1d705c855669e018777819c98
refs/heads/master
2021-08-23T18:28:57.442638
2017-12-06T02:15:07
2017-12-06T02:15:07
111,857,638
0
1
null
null
null
null
UTF-8
R
false
false
808
r
ui.R
library(shiny) library(dplyr) library(data.table) shinyUI(fluidPage( titlePanel("How Fake is Fake News"), sidebarLayout( sidebarPanel( textInput("search", "Search", placeholder = "Search here", value = "Trump"), checkboxGroupInput("types", "Type of BS", ...
59078a2bc24e478215fcf7b1aa5b1af7f07db54c
f0be089f46ad7fae262a4fdc1cc313d216861955
/man/plot.eb.Rd
01174672f309b037968ab947f853b1f6a2e69b9e
[]
no_license
cran/EpiBayes
db211767a0764b7d73905f794176326ba923c2a9
710a77f6d0056ffd8ef595afb27348c5764ccfe3
refs/heads/master
2021-01-19T08:11:06.429169
2015-06-24T00:00:00
2015-06-24T00:00:00
37,978,851
0
0
null
null
null
null
UTF-8
R
false
false
880
rd
plot.eb.Rd
% Generated by roxygen2 (4.1.1): do not edit by hand % Please edit documentation in R/plot.eb.R \name{plot.eb} \alias{plot.eb} \title{Plot Method for EpiBayes Output} \usage{ \method{plot}{eb}(x, burnin = NULL, ...) } \arguments{ \item{x}{An object of class \code{eb} (e.g., the output of functions \code{\link{EpiBayes_...
2ee38c741a7e73125f8b78f804a0da196a7a7043
9456677b348c919542cc370dfea0b56d06ca767a
/Functions/disparity/R/slice.tree.R
6325d9411a0e2deff0e6b671f5f381c1c892602c
[]
no_license
yassato/SpatioTemporal_Disparity
97befea49605279788ebb2da251ade9c08e75aa8
0e2b9dd29f51e94189b50767aee863592cd85d8a
refs/heads/master
2022-04-25T00:36:19.657712
2018-01-05T11:30:37
2018-01-05T11:30:37
null
0
0
null
null
null
null
UTF-8
R
false
false
4,334
r
slice.tree.R
########################## #slice.tree ########################## #Slices a tree given a specific age #Modified from paleotree::timeSliceTree #v1.0 #Update: added RATES method #Update: changed the RATES method into PROXIMITY #Update: added possibility of adding FAD_LAD data #Update: added random method ################...
abf80fc908e5ee58867c46499b268ed5257870db
c739d6ead9a9521ed999935108cbfd68bdf14071
/R_kmooc2/13weeks/[Ex]13_1.R
8c41c93f62a76f8ce99ebd0899a7fbc66491befe
[]
no_license
HeeSeok-Kwon/R_study
526489c31bcf6c3eddb1b6f9e483cd2fafe28ac0
796fa69d4653ccf877abcfe6e986efb80c12b741
refs/heads/main
2023-03-19T09:58:21.909280
2021-03-20T08:49:35
2021-03-20T08:49:35
349,654,245
0
0
null
null
null
null
UTF-8
R
false
false
395
r
[Ex]13_1.R
head(state.x77) st <- data.frame(state.x77) plot(Murder~Illiteracy, data=st) model <- lm(Murder~Illiteracy, data=st) #dist:종속변수, speed:독립변수 model coef(model)[1] #b coef(model)[2] #W Illiteracy <- 0.5 Murder <- 4.257*Illiteracy+2.397 print(Murder) Illiteracy <- 1.0 Murder <- 4.257*Illiteracy+2.397 print(Murder) Illit...
e4fbd18aab793c075318cc5bc8e107d0a0568c62
5897ed1db9d4a1a53acccf188fb1448da9f0fe55
/LNGSupplyChain/lng/draft/tabitems/t_item1b/server.R
7a0eab33483f1dd5a2ee376af07764e337d8cd97
[]
no_license
MaverickBatman/lngsilkroute
10babac461ca96dfb48387c8aa3fa97e39a46941
2f0eb82fe1044b78702f5eba064a89cfe11cdd84
refs/heads/master
2020-05-21T05:29:36.130812
2019-05-10T05:34:26
2019-05-10T05:34:26
185,922,861
0
0
null
2019-05-10T05:34:27
2019-05-10T05:15:34
null
UTF-8
R
false
false
2,568
r
server.R
mydb <- dbConnect(RSQLite::SQLite(), "db/my-db.db") if(dbExistsTable(mydb,"wacog")) { data <- dbGetQuery(mydb, 'SELECT * FROM wacog') } if(!dbExistsTable(mydb,"wacog")) { wacog <- read.csv("db/WACOG_Input.csv") dbWriteTable(mydb, "wacog", wacog) data <- dbGetQuery(mydb, 'SELECT * FROM wacog') } newWacog <-...
c1637c39a1c972b258f95b31f587ba47c84fbe49
758536cdba8ec0a15c9ee34f888b2e7c7850231f
/R/estambi.R
713fadaff0cba1fa6f0d7f7a64a32ebe0fe4b951
[]
no_license
cran/Rramas
919e630f39d76091ad8787ffc8f1d4c7817ac97a
0e72536be1ca03f2ebe22fc1b9629d945c18764f
refs/heads/master
2021-06-04T21:32:23.074268
2019-04-22T08:10:04
2019-04-22T08:10:04
17,693,400
0
0
null
null
null
null
UTF-8
R
false
false
735
r
estambi.R
estambi <-function (mat, matsd, equalsign) { mat<- as.matrix(mat) matsd <- as.matrix(matsd) if (equalsign != TRUE) { mat <- matrix( rnorm(length(mat), mean = as.vector(mat), sd = as.vector(matsd)), nrow = dim(mat)[1], ncol = dim(mat)[2]) } if (equal...
9911e8eba9e6e80f2cb9f9b88555a7bd8f32cd0b
3776aa89edfad5a98aa43449c6e61533a7cdb7cb
/R/ssize.twoSampVary.r
077867033a5c937578f7fb283fcb369f9cad7cd3
[]
no_license
cran/ssize.fdr
6376e9c4bc5071351cd1aeb9637a7a6e3fbf96a3
ac3d20c9193eb246f38442aa0640230929fe27af
refs/heads/master
2022-06-18T20:20:44.457654
2022-06-07T03:30:02
2022-06-07T03:30:02
17,700,089
1
1
null
null
null
null
UTF-8
R
false
false
3,620
r
ssize.twoSampVary.r
ssize.twoSampVary<-function(deltaMean,deltaSE,a,b,fdr=0.05,power=0.8,pi0=0.95,maxN=35,side="two-sided",cex.title=1.15,cex.legend=1){ delMean<-deltaMean delSig<-deltaSE N<-maxN getAvgTcdf_varySigma<-function(c,a,b,deltaMean,deltaSE,n){ sigmaFun<-function(rho){ avgtcf<-(pt(q=c/sqrt(rho*deltaSE^2*n...
b8220c969e1c6298d6651fae4ea31c1d20cbc1c1
b22be0222d77ada8b65fd06a9f78f07125ab881e
/NetCellMatch/NetCellMatch Functions/Helper Functions/makesimilarity.R
a82e216102e406db75a86bc70ec0eec86022d446
[]
no_license
saisaitian/Software
44bf4f46182a93fb3878af59d5aea78afe9790ad
bbe3ec75658f738f4fbeda6c8a0613647154333b
refs/heads/master
2023-04-10T09:25:49.553015
2021-04-22T18:05:50
2021-04-22T18:05:50
null
0
0
null
null
null
null
UTF-8
R
false
false
472
r
makesimilarity.R
#' Function to make similarity matrix (can make on own) make.similarity <- function(my.data, similarity) { N <- ncol(my.data) #note change here I had made column S <- matrix(rep(NA,N^2), ncol=N) #print(dim(S)) if(similarity=='spear'){ S=cor(t(my.data),method='spear') S=abs(S) } else{ for(i in ...
98d55fc1eeeb08bd698d8ce6b910b65182626b7f
765676bdd1603752874de2b930c092adee1c90ee
/man/HT_base_filter.Rd
b90c8c0f21d4eb915068f88b997db4b32c0f7901
[]
no_license
parvezrana/TreeLS
f43c85e18131c56d3f19bc742e13aeaeef64826d
1be9b023be413ef47c9f14126b92309f60a7c4c9
refs/heads/master
2020-03-19T10:32:06.354572
2017-04-16T18:33:41
2017-04-16T18:33:41
null
0
0
null
null
null
null
UTF-8
R
false
true
1,235
rd
HT_base_filter.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/base_functions.R \name{HT_base_filter} \alias{HT_base_filter} \title{Tree base Hough transformation filter} \usage{ HT_base_filter(XYZmat, z.int = NULL, rad.inf = 2, cell.size = 0.025, min.val = 0.3, Plot = F) } \arguments{ \item{...
28a95d6f0aec017fba4da98c4d3828afa8426a81
c234e0a2fda69da879d7ec823c57600ed2861c18
/Lab Session Linear Regression.R
b2e9742e682fed929c72f0d928d1f67873ce2a24
[]
no_license
Garima1221/ISLR
16c8cbc9fea7af4a83c458050af49444340c1b98
079ee211a4ebf47e3e4a8f6e3dce8ad06189a655
refs/heads/master
2020-04-05T13:45:48.016420
2019-03-24T04:11:57
2019-03-24T04:11:57
156,908,518
0
1
null
null
null
null
UTF-8
R
false
false
3,232
r
Lab Session Linear Regression.R
library(MASS) # fix allows editing on Boston Data set fix(Boston) #check features available in Boston data names(Boston) #fitting linear model to check response medv using a single predictor lstat in Boston dataset lm.fit = lm(medv~lstat,data = Boston) lm.fit #Checking some basic information of our linear...
dd017d962e9d91b5ce8e7db8987bcbd3357563a9
e335c5fb95fdd6ad54c884ca76e93cab83240ab9
/man/usrecession.Rd
eb4e3b46926438b36de39b976c9559fc20e9a0f6
[]
no_license
cran/MFDF
4ee74901ec54327444a204a6de3e2da055c6aca9
d6427e1a11a56af1d5e0c0c730dfea73e7268653
refs/heads/master
2020-04-29T11:18:09.134444
2009-10-31T00:00:00
2009-10-31T00:00:00
17,717,794
1
0
null
null
null
null
UTF-8
R
false
false
1,304
rd
usrecession.Rd
\name{usrecession} \alias{usrecession} \docType{data} \title{ Records of U.S.economic recessions from 1953 to 2009 } \description{ The National Bureau of Economic Research (NBER) provides the most widely accepted definition of a recession (NBER 2008): \emph{A recession is a significant decline in economic acti...
36936309f36079414ac6e2a53aac7c497af5acf8
ffdea92d4315e4363dd4ae673a1a6adf82a761b5
/data/genthat_extracted_code/mut/examples/LR2.Rd.R
79c236ff67291b138675a41ac88d348c0531726d
[]
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
9,480
r
LR2.Rd.R
library(mut) ### Name: LR2 ### Title: Pairwise LR with Mutation ### Aliases: LR2 ### ** Examples library(expm) library(Familias) ### The examples are from Egeland, Pinto and Amorim (2016) ### (referred to as the 'paper' below) ### Example 2.1. ### Consider a duo case and assume mutations are not possible. p <- c...
e311b93076b79dde522758255c08310e3511d01a
96cf500cdef898429bf1d293754cdba4a21721ac
/modules/2021_April25_functions.R
6008295a8c8d568fd053b06f4884fb84d0d588c3
[]
no_license
ggiaever/2021_HIPLAB_Novartis
e4320b35f5909694fc0db6ef9f96e76f6b6383e5
a7f81bc5914056998b41853f3772d66e9d684a4c
refs/heads/main
2023-04-13T11:11:00.624270
2021-04-26T06:21:39
2021-04-26T06:21:39
361,041,070
0
0
null
null
null
null
UTF-8
R
false
false
47,084
r
2021_April25_functions.R
#### GO enrichment function #### curr_exp is name of experiment #### mat = experimental matrix #### coln = coln of mat with fitness defect scores for enrichment #### sig = significance threshold for GO enrichment of fitness defect scores #### bp_path = path of GOSET RDS file #### minGeneSetSize = minimum size...
f9ae83882c72d5e3af356a17fc7068319c523aa9
7512ccf38a7d4b768948574838339edf6c9bba5f
/man/svm_class.Rd
a2278d6f0659cfed27d83ab85458d417c204f540
[]
no_license
ZW-xjtlu/perflite
dc76007111c070db734c46cb997abb1f8913dfc2
988eca396232a47599c89df1442a0cf3f8e4491c
refs/heads/master
2021-07-02T20:55:21.583010
2020-09-28T00:16:18
2020-09-28T00:16:18
175,593,255
0
0
null
null
null
null
UTF-8
R
false
true
878
rd
svm_class.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/svm_class.R \name{svm_class} \alias{svm_class} \title{A function to generate the decision values for svm classification.} \usage{ svm_class(y, X_train, X_test, ...) } \arguments{ \item{y}{a \code{factor} that contains the binary response vari...
4e2fac2908669d4103875f63611687a5f4a97c76
ffdea92d4315e4363dd4ae673a1a6adf82a761b5
/data/genthat_extracted_code/PPQplan/examples/ti.occurve.Rd.R
6ea002561c45e2e9856cc99d238c88668e9359c2
[]
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
849
r
ti.occurve.Rd.R
library(PPQplan) ### Name: ti.occurve ### Title: Operating Characteristic (OC) Curves for the PPQ Plan using ### Tolerance Interval. ### Aliases: ti.occurve ### ** Examples ti.occurve(attr.name = "Sterile Concentration Assay", attr.unit="%", mu=97, sigma=seq(0.1, 10, 0.1), Llim=95, Ulim=105, n=10, add.reference...
5af3c6556fcea2dedff5c6eb85ea5ad9db7515fa
7d198bf47fd89dbbb9cf878ac614ae3880d71d15
/Mineria_Final/Codigo/01-load.R
93b03f71aaf4702b0139919df7ca3d24f296adf6
[]
no_license
AnaLuisaMasetto/proyecto_final_mineria
9dcefc86d5e7b5d4af98a25ad33d776ca3010636
2283418a0b439be5eaba8e02f89394c20563eb99
refs/heads/master
2020-04-11T19:21:41.178864
2019-01-27T23:13:31
2019-01-27T23:13:31
162,031,307
0
2
null
2018-12-19T17:24:03
2018-12-16T18:57:12
Jupyter Notebook
UTF-8
R
false
false
23
r
01-load.R
walmart_data <- load()
ed2138ba75821492e766de0531e45c55076de465
19134b14210afcb391b6ad09c73189d7a3e15a0b
/pop_functions.R
f1788ab200d6ff8a18ae93fab3b10f990da85736
[]
no_license
VajiraL/african_population
b7475db8ad15a93a5f1bfb4ea43bc1f824ab47cf
74fdfe6bd2f0cc7aea17d7eaaf71b1d1fd36d001
refs/heads/master
2021-12-11T03:40:15.029223
2016-10-19T13:42:09
2016-10-19T13:42:09
null
0
0
null
null
null
null
UTF-8
R
false
false
2,370
r
pop_functions.R
############ POPULATION FUNCTIONS AFRICA ############## # Functions used for the population gridding of africa # # # # # # Author: Niklas Boke-Olen # # niklas.boke-olen@nateko.lu.s...
b8b827e1f92a4e07ce1f7f82bee45c5ba0a940ef
5ddea1ad62a397deee8f8e348afbce631d5417ac
/man/demo_participants.Rd
b5efbd34bb15bd50ede5950fa9e2b822a064344b
[ "MIT" ]
permissive
martina-starc/peRson
da0513dd7f08e8cfba6055b2a7eb3350b3a311ed
7376da729836bff767581d5ad566dfd27b655787
refs/heads/master
2023-04-08T19:09:49.814150
2021-04-09T17:04:30
2021-04-09T17:04:30
336,203,610
1
0
null
null
null
null
UTF-8
R
false
true
657
rd
demo_participants.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/run_demo_quiz.R \docType{data} \name{demo_participants} \alias{demo_participants} \title{Demo quiz participants} \format{ A data frame with 7 rows and 4 variables: \describe{ \item{name}{name of the participant} \item{color}{chosen color of...
0f39a143a67b857ee21e920413356ab4d9dfecb4
d420f963ab5ff604cc74a3037f9396cd826e606c
/man/cambodia_poverty.Rd
7609effe6ca9cd7dc3b8cd8f12ffdb81ae4ff256
[]
no_license
johnrbryant/bdefdata
d103f09bcd26cbfe677449d799ba9274cf0209e7
6c637e28d891c32cb0e8bd18d046c355287eadb8
refs/heads/master
2020-03-18T17:16:50.127404
2018-09-23T06:43:11
2018-09-23T06:43:11
135,018,297
0
0
null
null
null
null
UTF-8
R
false
true
662
rd
cambodia_poverty.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/cambodia_poverty.R \docType{data} \name{cambodia_poverty} \alias{cambodia_poverty} \title{Estimates of provincial poverty rates Cambodia, 2009} \format{A data frame, with two columns: \describe{ \item{province}{Province of Cambodia} \item...
92ad416485a71e82576edcf6a34f61593a805c49
a150f79e34aea1ea78cead88f1ab375e46dbd07c
/man/krsa_read.Rd
ae90bfc302f2035d18ead4467ab303832f30e88f
[ "MIT" ]
permissive
AliSajid/KRSA
e7faad7dbdadb44d15bcb6dbb29014f3ce0bb044
970697f023364e0a7168381783f04a360630f7c7
refs/heads/master
2023-07-14T02:13:40.596639
2021-08-26T16:06:42
2021-08-26T16:06:42
null
0
0
null
null
null
null
UTF-8
R
false
true
813
rd
krsa_read.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/krsa_read.R \name{krsa_read} \alias{krsa_read} \title{Read crosstab format files exported from bioNavigator and tidy them} \usage{ krsa_read(signal_file, signal_saturation) } \arguments{ \item{signal_file}{path to median signal minus backgrou...
c6e430ef1e3506c137d678a9e219c31f5bc30332
c67ed6bfca50b35228ef31a477865e0063701836
/IARPA Report/CFQ_analyses.R
bb4fd0adc8a2bd20eb5745e47c722e4f4037936f
[]
no_license
joetidwell/QES2
1bbfdbc4d5e901162064e14f2c37a8df58b8e350
1f2741e27c8ce7a58c486473f15d980236c70a55
refs/heads/master
2020-12-24T16:49:56.005345
2015-12-09T17:50:29
2015-12-09T17:50:29
32,096,494
0
0
null
null
null
null
UTF-8
R
false
false
30,132
r
CFQ_analyses.R
####~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ #### ####~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ library(ggplot2) library(foreach) library(doMC) library("multicore", quietly=TRUE) registerDoMC(max(multicore:::detectCores()-6,2)) # use all cores minus...
95f26b16e1d2079dce41b36b1746eb6db3880e31
572c9072506a54b38da51d18f1902af7769a5b50
/FIT5147-DataCleaning.R
70ce5f7a5984352ad3b03d83aef745532d772e1a
[]
no_license
EswarHariKumar/dataModelling
3c74f4b9aa2d6b2bb871067d9efd066f909daddc
ef632efa90dc24bc77179475195ccffe4bd4318e
refs/heads/master
2020-04-02T11:16:56.814643
2016-07-05T01:00:03
2016-07-05T01:00:03
null
0
0
null
null
null
null
UTF-8
R
false
false
10,024
r
FIT5147-DataCleaning.R
# install.packages("ggmap") install.packages("plyr") install.packages("dplyr") install.packages("stringr") # library(maptools) require(ggmap) require(ggplot2) require(plyr) require(dplyr) require(ggalt) require(ggthemes) require(rgdal) # library(leaflet) require(gridExtra) require(stringr) require(MASS) require(shiny)...
945b2d148d6163829da6c2527579a2d13d369465
4435fed21e4ea4b9b1f0a562e6cff9bfb2f72471
/R/rwa.R
48a34ff3b051e069f0069ed84e5deef539c1aef5
[]
no_license
martinctc/rwa
73eaef307a1522a3932f553a6fa6c9ceaccadb54
7980b82aef19e276d3f38ccb45f38b5bcd8dd0d3
refs/heads/master
2021-06-17T03:09:23.677470
2021-03-06T23:17:35
2021-03-06T23:17:35
174,752,587
9
5
null
2021-02-27T21:46:13
2019-03-09T22:23:36
R
UTF-8
R
false
false
5,129
r
rwa.R
#' @title Create a Relative Weights Analysis (RWA) #' #' @description This function creates a Relative Weights Analysis (RWA) and returns a list of outputs. #' RWA provides a heuristic method for estimating the relative weight of predictor variables in multiple regression, which involves #' creating a multiple regressi...
cf8ea26efc1d14de3acc28683e9657ade95a24c9
0b3a125509386bce962297493a52032d39f2e68d
/00_scripts/popfreq2bayescan.R
4974c1619774c830403755a3dcff0657ffc6abf6
[]
no_license
kylewellband/ssa_cast2016
5748165e184f8920cfe3e2fe5c76db386153cc5f
00fddb9a1d0184c7223c2b986d7d0451c16f5423
refs/heads/master
2020-03-20T06:33:59.701058
2018-06-14T18:08:46
2018-06-14T18:08:46
137,253,074
1
0
null
null
null
null
UTF-8
R
false
false
1,342
r
popfreq2bayescan.R
#!/usr/bin/env Rscript # popfreq2bayescan.R # by: Kyle Wellband # Function takes a population MAF file as produced by PLINK using --freq and # either --family or --within <groupfile> options and converts to bayescan input args <- commandArgs(trailingOnly = T) freq.name <- args[1] outfile.name <- sub(".frq.strat", "....
039483de912a9a606ce0cc83082cda101afd4e18
5115552f03dce9e781cb354621981d782f4b2e55
/scripts/covariates.R
b6304d0be74271e7700ac45a6392fca71df1cdaf
[]
no_license
guscastles/practical_machine_learning_in_R
495e7fb67dc81344f2b25b8cb8cdbb1275af5466
9e84d08bc92556801883116668f9f1130df8a5f2
refs/heads/master
2020-06-26T13:50:30.387730
2019-07-30T12:40:28
2019-07-30T12:40:28
199,649,477
0
0
null
null
null
null
UTF-8
R
false
false
770
r
covariates.R
library(ISLR) library(caret) library(splines) source("covariates_functions.R") data(Wage) datasets <- create_sets(Wage) training <- datasets[[1]] testing <- datasets[[2]] trainingWithDummies <- remove_near_zero_var_variables(create_set_with_dummies(training)) bsBasis <- bs(training$age, df=3) lm1 <- lm(wage ~ bsBas...
57453f9cc0dee770eae82145e7b18ecfceadd310
beb6e2ea0b24d7c312e5adfa28bfe91c81da524f
/prep/melt.R
62ee235f7e1cecb46f7cad09f16a9841ddd08512
[]
no_license
docsteveharris/collab-norad
98acb7399811242b00541272c6e61f4fc5c3ad0e
7736d92f8e656ad6ce486ca527a6ec9f4a604ba3
refs/heads/master
2021-01-14T08:36:32.373462
2016-05-03T17:36:02
2016-05-03T17:36:02
27,314,616
0
1
null
null
null
null
UTF-8
R
false
false
1,428
r
melt.R
# Melt variables available by time into long form rm(list=ls(all=TRUE)) require(data.table) require(assertthat) load(file='../data/cleaned.Rdata') wdt.original <- wdt wdt$sample_N <- 1 wdt$all <- 1 wdt[, all := factor(all, label=("All patients"))] str(wdt) assert_that(nrow(wdt)==736) names(wdt) # Prepare hospital na...
282cf82c0b8dc3ec61f4188271e60dbec749f0d7
19970618f09c0b5216c48b8b82383aaf2a9f3778
/lectures/08/install.R
c11311e6a8dcfe935eae8cf3fad0843a40a611be
[]
no_license
ellieevs/BIOS512
5867df4aa896313bda237dad448170983a086662
75181e9e08c6d3ea0503b60e8adec611d81ec7d2
refs/heads/main
2023-07-11T07:03:42.227904
2021-08-26T14:42:04
2021-08-26T14:42:04
null
0
0
null
null
null
null
UTF-8
R
false
false
61
r
install.R
install.packages("ggrepel", repos="http://cran.rstudio.com")
182569c75927b08d5eb5be8f8021979d3d5dc7f9
9484b93da2ee67dd0989745745b0ab3ce4567324
/code/old/Run_SRN_Adenoma_Comparisons.R
81e01e0a99bf47defbc7824e7c800834523d19c3
[ "MIT" ]
permissive
SchlossLab/Sze_FollowUps_Microbiome_2017
0d8d2abefbec52914d0fce24c3f977d266583913
8ef69b722a0610d27ef898fa9ea0ab1385f6807b
refs/heads/master
2021-01-18T23:39:58.668847
2017-09-16T20:37:43
2017-09-16T20:37:43
46,723,430
1
6
null
2017-09-16T20:37:44
2015-11-23T13:53:29
HTML
UTF-8
R
false
false
3,610
r
Run_SRN_Adenoma_Comparisons.R
### Prediction of Follow Ups Analysis ### How do the adenomas and SRN specifically compare against each other ### P-value tables for results of SRN versus Adenoma in with and without FIT models ## Marc Sze ###Load needed Libraries and functions source('code/functions.R') source('code/graphFunctions.R') loa...
03addab32144d1b49f33cfc2d2685188ef3c4ec5
3116a79d9328de9f6fcefa97457e5b5f1fe0f6be
/R/main_test.R
3f65861e2ba5387542e2fcc9e5caaa92447a15c5
[ "MIT" ]
permissive
klausfrieler/RAT
26679d8d61445e6435c37f031ed99406ebd10bf9
2631435c5488defadc4afab80fc97413bad92a42
refs/heads/master
2023-04-26T17:10:11.032396
2023-04-21T14:13:40
2023-04-21T14:13:40
172,775,138
0
3
null
null
null
null
UTF-8
R
false
false
2,627
r
main_test.R
get_eligible_first_items_RAT <- function(){ which(RAT::RAT_item_bank$type == "8" & RAT::RAT_item_bank$bit_flips == 4) } get_lures <- function(item_id){ if(purrr::is_scalar_character(item_id)){ return(RAT::RAT_lures_bank[RAT::RAT_lures_bank$item_id == item_id, ] %>% pull("lures")) } stop(printf("Invalid it...
8425e2a7d9dc7dda361fe34a349a350201459c5c
2f6f1979ad470d065fd34f43f3338ce0fe2e490e
/density_finalstate.R
cd4a2e1ad46ef25a35ce7b09c2047983e8e567ed
[]
no_license
jintangxin/collective-decisions
7c4b2c90b5624cc60d298ec6aa2e27eef39c5f5d
4c7466d34c3cd4f48b9bc92f395f61af3f143c3a
refs/heads/master
2021-01-01T04:16:53.910464
2017-11-29T21:41:58
2017-11-29T21:41:58
97,156,853
0
0
null
null
null
null
UTF-8
R
false
false
6,161
r
density_finalstate.R
########################simulate to get final states for all neurons########################################### require(plotly) # for nice plot at the end # TRACK COMPUTING TIME OF THIS SIMULATION ptm_total <- proc.time() # PARAMETERS total_time <- 810 #1620 #162 # in ms # 1000 # (BCD final value should be 1620 ms) t...
4b75f2be1ded60c2cfd74055195dad68ecb8ce28
473dfd3f5c89fd2bf2087c524c52e484ecc823b6
/tests/testthat/test-halton.indicies.CRT.R
9e82d1b7db1072589b8860608fb344e2ba9444eb
[]
no_license
cran/SDraw
038ec0a0f2d8a094f89d258d43edb15a003303b2
0b06c5ecbd424a0d9ba59fe5fd4f4bf30a1ce326
refs/heads/master
2021-01-17T19:20:33.351896
2020-07-03T15:20:09
2020-07-03T15:20:09
60,879,512
0
0
null
null
null
null
UTF-8
R
false
false
1,017
r
test-halton.indicies.CRT.R
df <- data.frame(x=(0:100)/101, y = 0.2) context("Test the halton.indices.CRT function") test_that("halton.indices.CRT() operates appropriately", { ##Check that error catch for J = exponents operates as it should expect_error(halton.indices.CRT(df, c(1, 2), "number of ...
5cd31323bbfe11dc6fd624e7b030eea8ea4d2889
d13066f005a224a0a3650b27317aa27d63039e46
/cachematrix.R
2fe3ed2f2c0efaaf4bdc691746e57249cf239ad8
[]
no_license
datadotvisible/ProgrammingAssignment2
3f6c65c7ad727605107da607533dd61ae8b7401d
284a32c28f3a5276565dbb6bd50cb6d57da53b7b
refs/heads/master
2021-01-18T10:51:27.188178
2015-03-20T22:09:24
2015-03-20T22:09:24
32,603,432
0
0
null
2015-03-20T19:42:53
2015-03-20T19:42:53
null
UTF-8
R
false
false
1,247
r
cachematrix.R
## These two functions make use of the R languages Lexical Scoping to help store matrix calculations within ## the parent environments of the functions. This is accomplished by use of the <<- method for assigning values. ## makeCacheMatrix takes as its argument x a matrix, if none is supplied an empty one will be cre...
7d2c1cfab157ec362b19f396dac25430b725363a
ef673026d38bc94e7d6b9d2a47027d5616c17c29
/R/book_list.R
431371e0d7ecc2a78da100e85572250fa070ff21
[]
no_license
Jjohn987/ctextclassics
5acd8709f73821e6980a38a6a35af938dd87f5ae
58285741b7b092ebac42ba14a99aa3d4544a87ba
refs/heads/master
2020-03-17T21:31:37.626366
2018-05-21T15:58:48
2018-05-21T15:58:48
133,962,724
4
0
null
null
null
null
UTF-8
R
false
false
457
r
book_list.R
#' @title Ctext.org Book List #' @description An internal dataframe used for the get_text and get_books functions for downloading #' books from the ctext.org API. Contains information for name of book, chapter, chapter number, and genre. #' Indludes over 130 different books available on ctext.org. #' @name book_list #'...
4094621c2e9ced3fa1c50f602703dd6f954ab320
20bcf6fac59ff712437755a39c815059498d353c
/man/IDSDS.Rd
e30160efe5b19bc10af09083a190859d82f66799
[ "MIT" ]
permissive
indrag49/QGameTheory
7175ba824cef339080729d8bbee77f6f7b6fda6c
5adca439bd2e1129d24f57538be581d28664cfc5
refs/heads/master
2023-08-20T12:42:12.021132
2021-09-24T11:53:18
2021-09-24T11:53:18
264,378,364
13
0
null
null
null
null
UTF-8
R
false
true
973
rd
IDSDS.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/IDSDS.R \name{IDSDS} \alias{IDSDS} \title{Iterated Deletion of Strictly Dominated Strategies algorithm} \usage{ IDSDS(P1, P2) } \arguments{ \item{P1}{Payoff matrix to Alice} \item{P2}{Payoff matrix to Bob} } \value{ A list consisting of the ...
8be831e12d90316ccf4689c7ac768c6d47049d59
21317fc6ac471065e8316dc730e1e6090903dd8b
/pageview_timestamps.R
515ce0c41ec62d6f74b313363008a004aac8ab7d
[]
no_license
tmuhimbisemoses/CRANtings
9428c9e95eec9231dc75328fdaea675671060ae4
d6d70634cf1fd0ce4aa67e9f519b6e9a2b2438cc
refs/heads/master
2023-06-17T12:30:05.097064
2021-07-13T19:02:49
2021-07-13T19:02:49
385,569,919
0
0
null
null
null
null
UTF-8
R
false
false
116
r
pageview_timestamps.R
library(pageviews) pageview_timestamps(Sys.Date()) pageview_timestamps(Sys.time()) pageview_timestamps("2016020800")
02ab64de7d44f9af98e3b09133d865988851e0f0
8357f04a0a50e10697a650ad319b37738dcc2cf8
/man/get.issue.labels.Rd
86b8f90a0412745266f9af869a3dff5981cbed03
[ "MIT" ]
permissive
prateek05/rgithub
2a7114a8262cd6abefc8d31f03a907b75f127ba2
153bde1466252952e21c1fdb2ff0b452b9c8de99
refs/heads/master
2021-01-17T04:24:00.180261
2014-07-14T17:24:43
2014-07-14T17:24:43
null
0
0
null
null
null
null
UTF-8
R
false
false
417
rd
get.issue.labels.Rd
\name{get.issue.labels} \alias{get.issue.labels} \title{List all labels for an issue} \usage{ get.issue.labels(owner, repo, issue.number, ctx = get.github.context()) } \arguments{ \item{owner}{the repo owner} \item{repo}{the repo name} \item{issue.number}{the number of the issue} \item{ctx}{the github ...
0384d879a023b5d1bcbcce332a9aa2ea14515e82
68f8217845056df195a2d78356ddd5a2f9a9e44e
/R/statistics_with_R/08_LogisticRegression/Script_Files/01_logisticRegression.R
9c69cdf2ba8fd8b1d403416cb42b410778b8995a
[ "MIT" ]
permissive
snehilk1312/AppliedStatistics
dbc4a4f2565cf0877776eee88b640abb08d2feb5
0e2b9ca45b004f38f796fa6506270382ca3c95a0
refs/heads/master
2023-01-07T15:11:18.405082
2020-11-07T21:06:37
2020-11-07T21:06:37
289,775,345
0
0
null
null
null
null
UTF-8
R
false
false
5,685
r
01_logisticRegression.R
library(car) library(mlogit) df<- read.delim('/home/atrides/Desktop/R/statistics_with_R/08_LogisticRegression/Data_Files/eel.dat', header=TRUE) # listing all columns in data frame names(df) # checking whether the passed columns ae factor or not is.factor(df$Cured) is.factor(df$Intervention) # converting column to ...
6875109724e29c8f825abe7209725cac615952e4
bdefef347f69d9787b85393f6dbffd6d295bfb4d
/checking_expression_data.R
37e4357781743a2d4b25c57d25ea227e8490f0dd
[]
no_license
aleighbrown/background_mutability
8dea93370742809313702051ca0bb95838cea713
45639983ac52f92703df0b88a41e4a8c6d67cffe
refs/heads/master
2020-04-17T05:05:01.630497
2019-05-13T10:40:38
2019-05-13T10:40:38
null
0
0
null
null
null
null
UTF-8
R
false
false
1,530
r
checking_expression_data.R
rebuilt_amino <- fread("~/mahmood/binom/analyzed data/codon_substitution_table.csv") rebuilt_amino[BScore <=5.462115e-05,Status85 := "Driver"] #quickly rename some genes. never using Hugo symbols again after this project. Too many alias rebuilt_amino[gene == "NSD3", gene := "WHSC1L1"] rebuilt_amino[gene == "KNL1", gen...
76fc46773a707414f05683d8bc6f64c2f1d6ca69
6526ee470658c2f1d6837f7dc86a81a0fbdcffd5
/man/MomsToPars.Rd
c2387f2f6d06e3ba1994be43314e583120d3578d
[]
no_license
mdlama/milkweed
c7e8a24021a35eb6fbef13360400d2d4069b4649
b791c8b39802f33471f8e827f369afa47c06d6af
refs/heads/master
2023-09-06T03:00:45.554997
2022-09-14T15:25:58
2022-09-14T15:25:58
76,479,540
0
0
null
2021-09-21T19:04:44
2016-12-14T16:59:01
R
UTF-8
R
false
true
366
rd
MomsToPars.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/mw_ipm.R \name{MomsToPars} \alias{MomsToPars} \title{Moments to parameters.} \usage{ MomsToPars(y, type = "ident") } \arguments{ \item{y}{Vector of moments.} \item{type}{Distribution type (lnorm, gamma, or identity)} } \value{ Vector of mome...
80cc646133ecef36c6f3aecff57772a3c8919863
5c05deb527c4ab642e0c98b66a762efdcec62e2b
/week1/intro.r
13d9991475c3cd0bce84945e6a2c65674d393a1b
[]
no_license
Freshchris01/ws19-20_business_analytics
02f68dc39c8c6f11f746f05311f8541d6e061083
5805bf65426d53e3604467d5f77215f096bdfb37
refs/heads/master
2020-08-27T08:42:55.949397
2019-12-18T22:11:57
2019-12-18T22:11:57
217,304,158
0
0
null
null
null
null
UTF-8
R
false
false
543
r
intro.r
#set working directory in files view #load lib library(tidyverse) #import data data <- read_csv("week1/LaborSupply1988.csv") # is tibble by default # data insights glimpse(data) str(data) summary(data) dim(data) nrow(data) ncol(data) names(df) head(data, n=20) # first n lines tail(data, n=8) data[10:12,] #10th t...
ec368a9e160cc52f072b4c4687df88a11b9e376a
1b0eb05c1e253b4262044d1c1e88bf09f62198d3
/global.R
775840642e1f53e74ab244ec1851b3dca8d58d53
[]
no_license
paulCrsr/fitibitShinyDemo
9ddc82837f396a811115f8d96b25f32839f68d9f
8d47702037d7153e8e2a6d12e89a564ec9443cd7
refs/heads/master
2021-08-10T17:06:56.411021
2017-11-12T20:21:10
2017-11-12T20:21:10
110,464,904
0
0
null
null
null
null
UTF-8
R
false
false
68
r
global.R
require(dplyr) require(zoo) csvData <- read.csv("fitbit_sample.csv")
3ed413fb37d03509fcb2e3bb8700275b58aa9022
93df22dd335b0e87d46fecc33e0b9313ceb53e45
/Prediction.R
b97c880e4825a9db627860ad50c243ffb5105643
[]
no_license
pcolmer99/Machine-Learning-Assignment
d9b600162a1497b1252bcafad8d7a8f0859e727a
ba759dbe1a93638fb1893a002b9b4a043dae9265
refs/heads/master
2021-01-10T05:29:47.400912
2016-01-29T04:19:28
2016-01-29T04:19:28
50,623,802
0
0
null
null
null
null
UTF-8
R
false
false
2,696
r
Prediction.R
## Loadup Caret & Libraries install.packages("caret") library(caret) library(ggplot2) ## Load in the training dataset training <- read.csv('pml-training.csv', na.strings=c("NA","#DIV/0!","")) ## Load in the testing dataset testing <- read.csv('pml-testing.csv', na.strings=c("NA","#DIV/0!","")) ## Cleanup the data ##...
bda8348945e7ab96882320dc33f4ebe4e2746912
dfb3d986e308512c38ae41d2b30948ad45fa1d18
/R/covid19_daily_cases_canada.R
26c6bf0119aad4ee8aedfad81e3fbd746d982bee
[]
no_license
billpine/dataviz
42ab4239f23e0f0b96092d12e9ecf0321489d022
e940523d968b6b9f7a3fce7d2e77e71667be1e7e
refs/heads/master
2021-05-18T05:12:07.570761
2020-03-29T16:08:03
2020-03-29T16:08:58
null
0
0
null
null
null
null
UTF-8
R
false
false
1,697
r
covid19_daily_cases_canada.R
library(tidyverse) library(ggpmthemes) library(ggtext) theme_set(theme_exo()) df <- read_csv( "https://raw.githubusercontent.com/CSSEGISandData/COVID-19/master/csse_covid_19_data/csse_covid_19_time_series/time_series_covid19_confirmed_global.csv" ) df <- df %>% pivot_longer(-c(1:4), names_to = "date", valu...
6526ee94e5fa3dcfa6df9c75950bfe627802885b
27f131e09ef647c09e30dab8b83acc6e9b817fa8
/cyclistic_ride.R
657594857ee51d181d947e16361ada23e537d3bd
[]
no_license
mishadarsh/Analytical-study-How-Does-a-Bike-Share-Navigate-Speedy-Success-
4cdb78f0dd2408efba30a1e86d548206f4b3a53c
edd7b9950c37ca420a707842639da0190be4ea17
refs/heads/main
2023-06-23T17:13:32.309644
2021-07-24T10:13:20
2021-07-24T10:13:20
389,057,653
0
0
null
null
null
null
UTF-8
R
false
false
2,587
r
cyclistic_ride.R
install.packages("tidyverse") library("tidyverse") install.packages("ggplot2") library("ggplot2") install.packages("lubridate") library("lubridate") install.packages("dtplyr") library("dtplyr") install.packages("dplyr") library("dplyr") install.packages("readr") library("readr") install.packages("plyr") li...
eb089120bb932f75beab3a5e8b030cf6e1dacb63
b2a07e6003cc146cb461bd058594b08870d03403
/hw6/hw6.r
d61446b5ea19beda67633b4f447b555aad9c5db4
[]
no_license
adrianzhong/stat133
4a128c16d406cd298fa65f077427a049e191dcb8
bc32486274a54fbca36c82de7a391e59d0243f1c
refs/heads/master
2020-04-16T03:08:20.414750
2015-08-31T22:31:58
2015-08-31T22:31:58
29,747,986
0
0
null
null
null
null
UTF-8
R
false
false
3,556
r
hw6.r
# Homework 6 # Stat 133, Lec 2, Spring 2015 # Due : Friday March 20th by 5 pm # Review the slides on simulations for this assignment. # Consider the following model on use of a new drug: # We have a population of doctors, population size : <n.doctors> # Every doctor has either adopted the use of a new drug, or not (0...
eb6e38df07c3070c8718d66d361d0a03126a8e30
ca4691e2c129deaa7885c8e905e381d9384a78f7
/scripts/14_distance_from_MPA.R
6388ae90805f488d5a21fb0ae0a1f629f189cbe3
[]
no_license
philiphaupt/Turtle_sat_tag_Aldabra
da1e4c329f8df8ab032bfdc3dea0fa6f1d22452e
ef81dc108bc096675d850879fa4d1ed7cf6de58e
refs/heads/master
2023-01-23T02:44:01.086222
2023-01-20T07:16:36
2023-01-20T07:16:36
209,151,880
0
0
null
null
null
null
UTF-8
R
false
false
2,684
r
14_distance_from_MPA.R
# AIM: Determin the distance from the last transmisson point in the feeding grounds to the nearest MPA library(sf) library(tidyverse) library(data.table) library(tmap) # read last points last_pts <- read_rds("./data/last_pts.rds") MPAs <- read_rds("./data/MPAs.rds") st_crs(last_pts) #set crs same st_crs(M...
74f37f661e8264caa8e039c263fdc65a50562344
689635789d25e30767a562933f39fcba1cebecf1
/Alpha Modelling/QuantStrat/Strategies/Trading/3. Trend Vigor III.R
dc78fe21627740c358d1b3e3f86494f0db18406a
[]
no_license
Bakeforfun/Quant
3bd41e6080d6e2eb5e70654432c4f2d9ebb5596c
f2874c66bfe18d7ec2e6f2701796fb59ff1a0ac8
refs/heads/master
2021-01-10T18:23:23.304878
2015-08-05T12:26:30
2015-08-05T12:26:30
40,109,179
5
0
null
2015-08-05T12:12:09
2015-08-03T06:43:12
R
UTF-8
R
false
false
5,615
r
3. Trend Vigor III.R
##### Information ##### # Trend Vigor Part III: ATR position sizing, Annualized Sharpe above 1.4, and Why Leverage Is Pointless # Posted on May 29, 2014 by Ilya Kipnis # Posted in Dr. John Ehlers, ETFs, QuantStrat, R, Trading, Uncategorized # https://quantstrattrader.wordpress.com/2014/06/11/trend-vigor-part-iii-atr-po...
f45f514554c1e14b7e5a6f4cdcec9056de2f3bdb
7d0892e68e6f11e7ac961e7355d0fba14e3552a9
/tests/testthat/test-skeletor-clean.R
2909b93d480a3f8d6252a2bdab981cdd0ee1ee8c
[]
no_license
nealrichardson/skeletor
948306502015c34edfcab7062904eca69fbe527d
3e3c2146f55056cce7bad9366c5fa9388166e8d5
refs/heads/main
2023-04-15T04:37:36.967555
2023-04-07T13:59:47
2023-04-07T13:59:47
55,750,058
20
0
null
null
null
null
UTF-8
R
false
false
2,972
r
test-skeletor-clean.R
context("Skeletor with no configuration") options(skeletor.name=NULL, skeletor.email=NULL, skeletor.github=NULL) public({ tmpd <- tempdir() pkgdir <- tempfile(tmpdir="") pkgdir <- substr(pkgdir, 2, nchar(pkgdir)) ## Remove the leading /. We'll need that later dest <- file.path(tmpd, pkgdir) test_t...
3f3905a876e19562749d4f9078cd37e9a314cdbe
ffdea92d4315e4363dd4ae673a1a6adf82a761b5
/data/genthat_extracted_code/rcarbon/examples/SPpermTest.Rd.R
fd32f4ee915d993696e416cb7ba12f074ef8ef28
[]
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
2,476
r
SPpermTest.Rd.R
library(rcarbon) ### Name: SPpermTest ### Title: Spatial Permutation Test of summed probability distributions. ### Aliases: SPpermTest ### ** Examples ## Reproduce Crema et al 2017 ## ## Not run: ##D data(euroevol) #load data ##D ##D ## Subset only for 8000 to 5000 Cal BP (c7200-4200 C14BP) ##D edge=800 ##D timeR...
c2c3bf7610fbd058d88883ab22d0d26c6d0a959e
94b36ac1cbce409b15b404e33ef947e8a5d1dbc2
/R/seeds_per_ecotype.R
3a75e90f90e351f097b7d1b2062827e7b713bbe2
[]
no_license
MoisesExpositoAlonso/grene
dacaa0104851cfbe6bd9579c9cced1fb76edbd4b
8dc5f554f5c10935020cdcb9beaf7cd5944e8bb5
refs/heads/master
2023-03-09T14:04:19.253830
2018-04-01T10:46:03
2018-04-01T10:46:03
96,513,155
0
0
null
2022-09-21T22:32:56
2017-07-07T07:44:04
R
UTF-8
R
false
false
122
r
seeds_per_ecotype.R
ecotype.w<-read.table("data-raw/Grene-Net ecotypes\ -\ aliquote.tsv",header=TRUE,sep="\t") weight_put_on_master_mix..g.
3d3277785b37ea3b5fec03d8e511ff313db95a14
287add902a548b978254b03f571f5e127d325e88
/R/IDW.R
0880969d1f45759fb662ae43e997f6e4493ad7d3
[]
no_license
Auburngrads/publicLibs
e36884552220fcf859d28ef5cc16d26baeb23f65
804efbb6bc80f5053712e375a09d2d46ce2f61a6
refs/heads/master
2021-01-17T02:44:58.943620
2020-07-20T00:32:03
2020-07-20T00:32:03
58,672,156
0
0
null
null
null
null
UTF-8
R
false
false
4,141
r
IDW.R
Base_Locations <- read.table("inst/extdata/Base_Locations.txt", header = TRUE, stringsAsFactors = F) CONUS_Locations <- Base_Locations[-c(2, 19, 21, 28),] CONUS_Locations$'5_Miles' <- 0 CONUS_Locations$'Std_5_Miles' <- 0 CONUS_Locations$'10_Miles' <- 0 CONUS_Locations$'Std_10_Miles' <- 0 CONUS_Locations$'15_Miles' <...
fc83d6e8fe90070c3c11b77cd21aca8b56750a97
657bbe51376c41fd550622df261d7fc044e652b9
/RANDOM FOREST/Random Forest On Glass Dataset/RANDOM FOREST glass.R
c26ce919e3f2c87d64438ec768b671e0c56b44de
[]
no_license
dattatrayshinde/Machine-Learning-Algorithms-in-R
8cebd46d0aca539d2f01ce13d61634854aae7d9e
df0152ffe6f3350223d1477b2e0a4cf7235b5631
refs/heads/master
2021-06-16T09:34:46.475879
2016-12-02T19:26:27
2016-12-02T19:26:27
75,424,136
1
1
null
null
null
null
UTF-8
R
false
false
959
r
RANDOM FOREST glass.R
install.packages("randomForest") library("randomForest") library("mlbench") data(Glass,package="mlbench") Glass index= 1:nrow(Glass) testindex = sample(index,trunc(length(index)/3)) train= Glass[-testindex,] test = Glass[testindex,] # fit=randomForest(Type~.,train,ntree=500) fit=randomForest(Type~.,trai...
ab98ff0113542799270eab1770592d20f4ce38d5
e44f1a8bcf0bdbc68e1dcfa0a744180409e6fa1c
/Lab1_cv1-4.R
c57445a9b3f73c4d1f9f68b972ebd0b535289ecc
[]
no_license
Zihan9710/DataAnalytics2020_Zihan_Zhao
1af4e9dc600811e3c386d8386ff7b0bb8ca6e99d
e40b2f0383d5be3f4258f0813fc4339782172a6b
refs/heads/master
2023-02-03T02:08:17.915709
2020-12-16T16:34:22
2020-12-16T16:34:22
294,724,990
0
0
null
null
null
null
UTF-8
R
false
false
4,054
r
Lab1_cv1-4.R
library(cvTools) library(robustbase) data(coleman) #------------------cv1------------------------------ call <- call("lmrob", formula = Y ~ .) # set up folds for cross-validation folds <- cvFolds(nrow(coleman), K = 5, R = 10) # perform cross-validation cvTool(call, data = coleman, y = coleman$Y, cost = rtmspe, folds =...
7b6c03f59e1a6dc0bd4b996364116b5369456de8
aab278c6ce3c4bc1f8ba8c12f1b9440578b40eb2
/man/fitted.AMMI.Rd
c07ee6187a0f7bbf8834565ea927f8c04e383803
[]
no_license
Manigben/statgenGxE
23623fb8cd5177ed8ef9f03c88acf46350bfe141
fc438b805822050ae2f0ef0f264c1f581985e7d1
refs/heads/master
2023-06-01T16:06:19.305022
2021-01-08T10:41:55
2021-01-08T10:41:55
null
0
0
null
null
null
null
UTF-8
R
false
true
709
rd
fitted.AMMI.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/createAMMI.R \name{fitted.AMMI} \alias{fitted.AMMI} \title{Extract fitted values.} \usage{ \method{fitted}{AMMI}(object, ...) } \arguments{ \item{object}{An object of class AMMI} \item{...}{Not used.} } \value{ A data.frame with fitted value...
7950e7bea22b845531ea7e7b7d2ca5b432f13a93
9086b91355e7e5d62236ea7105162d426dbbb29a
/run_analysis.R
71963dcff69887e28a0a28b09449594eda69b672
[]
no_license
pgupta05/getting-cleaning-data-project
7887ebe70dfe1104f6ed281daa5f5edc4757d3db
22901e666ac7d7dd557d80eca2cbe0925c053036
refs/heads/master
2021-01-21T21:48:32.801963
2015-06-21T14:32:00
2015-06-21T14:32:00
37,810,015
0
0
null
null
null
null
UTF-8
R
false
false
4,257
r
run_analysis.R
## Open libraries library(reshape2) ## define root dir rootDir = "C:/MyDataDir/Client/R-Code/UCI HAR Dataset/" ## Define Function runAnalysis <- function() { ## Read all activities activityList = read.table(paste0(rootDir,"activity_labels.txt"), sep=" ", col.names=c("activity_id", "activity_na...
0b7c511a20a9d4e6aa7bd5b109f37e7a3271bc7a
8b501a313569030bdef0c1fe4896b646fd5670f3
/tests/testthat/test-mgcViz_plot_effects.R
c125cd504e84694f250ec36b18460a53b5448ccc
[]
no_license
mfasiolo/testGam
50990a918571fa20cbc20cc7aee3bd5b6cd4cf64
7b831b36978cdb23436c286b03588dbf7beb042b
refs/heads/master
2020-06-02T04:05:28.747046
2019-10-02T20:34:22
2019-10-02T20:34:22
191,029,853
1
0
null
null
null
null
UTF-8
R
false
false
1,119
r
test-mgcViz_plot_effects.R
context("plot effects") test_that("plot.ptermMatrixNumeric", { library(splines) library(mgcViz) set.seed(2) dat <- gamSim(1, n = 200, dist="normal", scale=2) dat$fac <- as.factor(sample(1:5, 200, replace=TRUE)) ##### ## gamV, bamV, qgamV, gammV, gamm4V version #### obj <- plt <- list() o...
fea68dc5e126cc67c39d17372f2e208e05658a64
31cafb24cd7f8ba80ef3b3460a3954113093cbab
/R/covWeight.R
f2ce25d824e698b876ffea08540a2b17d3bf1c63
[]
no_license
alfcrisci/Reot
2f683d79a43690ffde0692e524d2c28b8a64476c
64bdc06dc8778e7bd871ed9bb6667f273ce54ea9
refs/heads/master
2021-01-20T22:51:20.211381
2013-09-24T18:00:13
2013-09-24T18:00:13
13,077,334
1
0
null
null
null
null
UTF-8
R
false
false
76
r
covWeight.R
covWeight <- function(y, weights) { cov.wt(y, weights, cor = TRUE) }
e49d9c70aa456e8ab18161687c0342166403aa08
bdf8de74bc020f27aa3cc3d410cac8aba7c5269c
/Lab1.R
55a02e643bed9ac9b5661067c1194e22bafbc932
[]
no_license
JuanAndres896/Lab1DataScience
772265bf0865a6cb60bc614a1f4f206e3b3fe57c
c744f956560f52208a6c39e2d2dcb90cda50fe22
refs/heads/master
2020-03-25T22:43:16.972611
2018-08-29T05:27:41
2018-08-29T05:27:41
144,238,330
0
0
null
null
null
null
UTF-8
R
false
false
2,175
r
Lab1.R
# Univerisdad del Valle de Guatemala # Data Science 1 - Seccion 10 # Juan Andres Garcia - 15046 # Laboratorio 1 #setwd("~/Sync/DATOS/DATA/LAB1") test<-read.csv("test.csv") train<-read.csv("train.csv") sample<-read.csv("sample_submission.csv") a<-vector() ntrain<-as.data.frame(train$Id) colnames(ntrain...
2273ee412a11c4cca9bba3bfc3fa85392bd9ffd7
343d569ab4a4a89a762c58f4fda375ab95823f0a
/man/Coll.Rd
348381f9f4426d2cadb3ea1b177b0ffca2842bac
[]
no_license
asancpt/sasLM
d62aa33ac3e63aff1c1a2db92a4c8615840ba06b
8c8d4dcf5f556a44bedfa5b19d3094bbd41bc486
refs/heads/master
2023-05-26T06:33:44.773640
2021-06-15T03:50:02
2021-06-15T03:50:02
null
0
0
null
null
null
null
UTF-8
R
false
false
845
rd
Coll.Rd
\name{Coll} \alias{Coll} \title{Collinearity Diagnostics} \description{ Collearity digsnotics with tolerance, VIF, eigenvalue, condition index, variance proportions } \usage{ Coll(Formula, Data) } \arguments{ \item{Formula}{fomula of the model} \item{Data}{input data as a matrix or data.frame} } \d...
f1f45833342625121b3813f84546e6ffc31270c1
99cfb90523e084cc553b642574d43861329ab5ba
/tests/testthat/test-fun_probabilstic_forecasts_integer.R
803941ba0e15cb58f1914129e1c6ceabc19bc805
[ "MIT" ]
permissive
laasousa/scoringutils
95220ecc365cd617703eb10bb25f6d6c60e05bb5
cd531cebf62e8b365f33e723819c1810098036df
refs/heads/master
2021-04-08T22:16:03.789884
2020-03-18T14:52:24
2020-03-18T14:52:24
248,814,529
1
0
NOASSERTION
2020-03-20T17:29:06
2020-03-20T17:29:05
null
UTF-8
R
false
false
6,124
r
test-fun_probabilstic_forecasts_integer.R
# ===================================================================== # # pit_int # ===================================================================== # test_that("function throws an error when missing true_values", { true_values <- rpois(10, lambda = 1:10) predictions <- repli...
f7f5a92a6787df8d2066d15d793d3a55fee6b1c4
c85e6a6ee42cc1fc2334b1773929c3215fc13d45
/DL_Coursework/IDLR/Chapter6_CodeExamples.R
4a9ccf9d5219033f067795cf130408998f0941fc
[]
no_license
wwells/CUNY_DATA_698
74edc514a46130385320668dd2773cff4e91b18f
21dd1e2995b235d529e613b5d77e21074d92da6e
refs/heads/master
2021-05-11T07:13:24.683732
2018-05-05T13:27:43
2018-05-05T13:27:43
118,012,390
1
0
null
null
null
null
UTF-8
R
false
false
2,216
r
Chapter6_CodeExamples.R
#Chapter 6 Code Examples #Recurrent Neural Networks for Sequence Prediction #Clear the workspace rm(list = ls()) #Load the necessary packages require(rnn) require(Metrics) #Function to be used later #Creating Training and Test Data Set dataset <- function(data){ x <- y <- c() for (i in 1:(nrow(data)-2)){ ...
ab8dff006c1d76d9dd16f87b0becc3c00771029c
8431621bfd23efdba6b9f5a27d45f9bb1cafd320
/global.R
f9b0b3e73b0e7d0028f7d71f10d9d4e7ad03ba57
[]
no_license
5c077/CKDapp
ad0ab6d5bac9ce6814370883c88241a74d0ba8fe
917318a5093e62a80e1385a73fc02ae1e1f576d2
refs/heads/master
2021-01-16T23:22:04.154241
2017-07-17T15:47:01
2017-07-17T15:47:01
64,875,171
0
1
null
null
null
null
UTF-8
R
false
false
1,988
r
global.R
library(dplyr) library(tidyr) library(shiny) library(shinydashboard) library(DT) library(d3heatmap) library(ggvis) library(ggplot2) # library(rCharts) library(dtplyr) library(data.table) #library(llamar) library(plotly) library(RColorBrewer) # Source javascript pagination code ----------------------...
0507a59d25e0f16696792bfc31dc6fe859d529c1
bfac9ce04f4c3c3afe24d134f229f3c67e32535b
/morgans_to_bp_recmap.R
439a813682e36af00fd4a642820105fd73447c00
[]
no_license
hj1994412/mixnmatch
e68a48d6d9f3e5bfcb5a9b7a6ed7bf9e0dc7c41c
c55de2421b5a99225fed465f86c3da385bc3794b
refs/heads/master
2022-04-09T19:27:45.455953
2019-12-02T06:00:53
2019-12-02T06:00:53
null
0
0
null
null
null
null
UTF-8
R
false
false
1,900
r
morgans_to_bp_recmap.R
arrArgs<-commandArgs(trailingOnly = TRUE); options(scipen=999) infile<-as.character(arrArgs[1]) data<-read.csv(file=infile,sep="\t",head=FALSE) start=as.numeric(arrArgs[2]) stop=as.numeric(arrArgs[3]) base_rate=as.numeric(arrArgs[4]) base_rate=(base_rate/1000) chromlength=as.numeric(arrArgs[5]) Mlength=chromlength*...
be097c29b38b07a1205589f706547791832b935f
3fdb12a1fe34aca6b96aa9047df4593404a5fc52
/plot.stm.kathy.R
c48312c2ac43712eb73d5ddb8aee820e1a852fe7
[]
no_license
carnegie-dpb/bartonlab-modeling
06c90e10df8fc37973a02db41f2c882bc8ceedfd
7d875f16f675bf94fc04a360ae8f6855d4642619
refs/heads/master
2021-01-22T03:48:47.674881
2018-04-18T22:29:04
2018-04-18T22:29:04
81,460,423
0
0
null
null
null
null
UTF-8
R
false
false
1,166
r
plot.stm.kathy.R
## a plot for Kathy t = getTimes(schema="bl2013", condition="GR-STM") HSP90.1 = getExpression(schema="bl2013", condition="GR-STM", gene="HSP90.1") BCAT2 = getExpression(schema="bl2013", condition="GR-STM", gene="...
bb21bc71233032771c073f5f0ca8b69c7abd2952
b197c890367797b4506630fbc1d6d9230e561d0e
/inst/application/ModelImport.R
0b6323b3f2422bfd2f6c05328629833ae10a9312
[]
no_license
EmbrapaInformaticaAgropecuaria/sdsim
7eedceeda24ab517f0ddd2d0e185ab49af745ca2
4002a052fd6fbc582d09f55e49b52144fd7be438
refs/heads/master
2021-04-12T08:32:35.508068
2018-04-10T16:59:42
2018-04-10T16:59:42
126,221,807
1
2
null
null
null
null
UTF-8
R
false
false
33,910
r
ModelImport.R
# Loads model if no other models with same ids as the one loading exist # Else, query user for confirmation before overwriting LoadModel <- function(modelName, simData, session, input, output, repository = NULL, loadDefaultScenario = T, nTableRows = 50, replaceId = NU...
3fd29f7ae14c4e5cffd551bbb7aa6c9c7dae5980
2e627e0abf7f01c48fddc9f7aaf46183574541df
/PBStools/man/calcStockArea.Rd
0b0682cbe14755a3f2bdc9bacc577787cb8d7df4
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
pbs-software/pbs-tools
30b245fd4d3fb20d67ba243bc6614dc38bc03af7
2110992d3b760a2995aa7ce0c36fcf938a3d2f4e
refs/heads/master
2023-07-20T04:24:53.315152
2023-07-06T17:33:01
2023-07-06T17:33:01
37,491,664
0
1
null
null
null
null
UTF-8
R
false
false
3,825
rd
calcStockArea.Rd
\name{calcStockArea} \alias{calcStockArea} \alias{calcWAParea} \title{ Calculate Stock Area } \description{ Assign a stock area designation based on species HART code and PMFC major and/or minor areas. } \usage{ calcStockArea(strSpp, dat, stockFld="stock", gmu=TRUE) calcWAParea(major, minor, strat, wts) } %- may...
cf070237b8b87050dd166838219388c0beb3a6fe
24a664c67f2ac72cb10337c71f2981762ec8034e
/Course-3-cleaning/web-scraping.R
2a1b95304bef96d46f37a18142e6321ca125f72b
[]
no_license
sariya/datasciencecoursera
8f0e801feead0c65d5dac31168acb9f574c1384f
f6a028dd4110d0dd0c8b83a459392914816fc899
refs/heads/master
2021-01-10T04:00:26.060050
2016-03-19T18:48:36
2016-03-19T18:48:36
50,143,042
0
0
null
null
null
null
UTF-8
R
false
false
1,040
r
web-scraping.R
# Reading data from the web # Week 2 reading, and getting, and clearning data # Date Feb 28 2016 # Sanjeev Sariya con<-url("http://scholar.google.com/citations?user=HI-I6COAAAAJ&hl=en") htmlCode<-readLines(con) close(con) # -- close the connection htmlCode # use XML package library(XML) url<-"http://scholar.google...
b9b73ef09838e64959c33c0301b7bbe9001f240c
02f24f0d8eaed72b4cb8b4ceb98d731eef1ee5c8
/man/remove_constant.Rd
8f0762b10037fbc1b01ce7926fa7d3f23880a910
[ "MIT" ]
permissive
bradleycolquitt/phyloRNA
78c24ea7d0e6f2df6f6a6e7a31702694518a837a
d7dc3bf1daace8fe884558b14ae735051d5e6ff0
refs/heads/master
2023-07-23T06:55:16.094078
2021-08-31T23:14:46
2021-08-31T23:14:46
null
0
0
null
null
null
null
UTF-8
R
false
true
678
rd
remove_constant.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/remove_constant.r \name{remove_constant} \alias{remove_constant} \title{Remove constant} \usage{ remove_constant(data, margin = 1, unknown = "N") } \arguments{ \item{data}{a data matrix} \item{margin}{\strong{optional} rows (1) or columns (2...
aaca7a0396b2cf6fc5204f97edb4ced400607c14
912ad27fe0c462026131613a6cf838d074c6dd59
/R/thetaSigmaParam.R
e1f4994e8061447df07fb7af482c3b2da44cc5bb
[]
no_license
OakleyJ/MUCM
8265ee0cf1bbf29f701a1d883aa8ab1f8074655b
28782a74ef18ce087b1a23fe15df5a67b156083e
refs/heads/master
2021-01-11T18:17:10.733210
2017-10-20T14:45:18
2017-10-20T14:45:18
69,334,386
5
7
null
null
null
null
UTF-8
R
false
false
4,141
r
thetaSigmaParam.R
thetaSigmaParam <- function(theta, param, n.outputs) { if (param == "original") { ###original Parametrization inverse Sigma <- matrix(nrow = n.outputs, ncol = n.outputs) Sigma[upper.tri(Sigma, diag = TRUE)] <- theta Sigma[lower.tri(Sigma)] <- t(Sigma)[lower.tri(Sigma)] ...
4a6b52991c230041af7a10ff025c0fc758e36cdb
b778e193c4a9c843debd4ec70524d8aa17fe5984
/expo_est_Db=1_wine_beta_ver4_2_sub.R
793194f81d2e3bfd0fa836344d16f7902941c44c
[]
no_license
YSheena/P-N_Criteria_Program
6965145140a3c6cd5cc626670258a84c2099e2a3
840238814c34e3e75b9881f584b5790e411b963d
refs/heads/main
2023-06-07T03:31:23.521501
2021-06-28T07:50:38
2021-06-28T07:50:38
368,452,854
0
0
null
null
null
null
UTF-8
R
false
false
18,271
r
expo_est_Db=1_wine_beta_ver4_2_sub.R
# This program is aimed to calculate the estimation risk # for an exponential family distribution specialized for wine data. # This program is for the submodel with reduced xi's # The main variables of the model # x1:"p1"-dimensional continuous variables # x2:1-dimensional discrete variables from 1 to "Rq" # Rq:the ...
c0d742740a7aa66f56f771a7744bdbc99f2ddc2e
ff53eb4044c2006e7ccf4a5a92e666a7fdebfebc
/CCM/ccm_causality.R
52e8e6739f9afd2c6653936adca08448ad9dd96e
[]
no_license
AhahaJade/netinf
d31b8a96782ca9dc6d1b998929f6074820351448
282fc2411d609523d0faa9e32b5564c8c72bc1e2
refs/heads/master
2022-11-05T04:01:19.701124
2020-06-26T17:08:42
2020-06-26T17:08:42
null
0
0
null
null
null
null
UTF-8
R
false
false
2,311
r
ccm_causality.R
library(rEDM) library(lattice) rgb.palette <- colorRampPalette(c("blue", "red"), space = "rgb") #par(mfrow = c(2, 2)) # ANCHOVY SST DATA data(sardine_anchovy_sst) names <- c('anchovy', 'np_sst') adj = get_ccm_means(sardine_anchovy_sst, 3, names) print(adj) # correlation coefficient threshold thresh <- 0.1 mat <- app...
ac59095b98efde288654e61869d685d631e6597c
090ff155d4d2ab91ddabc7a84c5206c45f4de211
/Plot1.R
30374d3c385d76ee34f5cb0ff25c3fe705d26b1a
[]
no_license
jcval94/Tesis
89db0e64bc51aa47e6c053d6eb0c8008fc66b168
cd9764811b6054c4f163aaafc45b80d971acb6ac
refs/heads/master
2021-07-12T04:39:28.303815
2020-08-09T05:30:43
2020-08-09T05:30:43
190,092,312
0
0
null
null
null
null
UTF-8
R
false
false
358
r
Plot1.R
library(tibble) df <- data_frame(month=as.character(1:4), Freq=c(.19,.23,.31,.27)) p<-barplot(df$Freq, ylim=c(0,.5), names.arg = df$month, space=0.25, axes=F) xval = seq(0, .5, .05) axis(side = 2, at = xval, labels = FALSE, xpd=T) axis(side = 2, at = xval, tick = FALSE, labels = xval, xpd=T) text(p, df$Freq+.03, labels...
df14a730647076c28cd23e8d5510488232269ad7
47cd7c4061392fb74f7d21d993a14f87a80fc7d2
/run_analysis.R
be948cacbf4048a9398967c251eacfb311f17aa0
[]
no_license
gnarra/CourseraCleaningData
067f188557952113d06f96641fde9df5b62eaaa4
8d5ff1add26014612eef15081befbc2ccc3ca9df
refs/heads/master
2020-04-18T10:23:08.035737
2016-08-21T23:12:53
2016-08-21T23:12:53
66,224,530
0
0
null
null
null
null
UTF-8
R
false
false
2,150
r
run_analysis.R
# Set Working Directory setwd("C:/Gopal/Coursera/CleaningData/UCI HAR Dataset") # Read the 561 Column Names from features.txt features <- read.table("features.txt") # train/X_train.txt': Training set, train/y_train.txt': Training labels. trainingSet <- read.table("train/X_train.txt", col.names = features[, 2])...
ba89c8ec97ce73e124bce80e86c290b70a709d18
3c59cc90a959aa4e8397cd1009045559209dfae9
/Session 6_Linear Regression/Linear_Regression_1.R
7a2f4fe980875a1372d2b9b48ea4086fc12c96b8
[]
no_license
datamaniac03/HardikClass
fb12459271232fd9cedbc00db38d6c50358c0113
9e5a5fef0e21257ce81f36866c2c17cbd0a8f90e
refs/heads/master
2021-01-15T17:50:19.475053
2017-08-09T03:47:40
2017-08-09T03:47:40
99,760,103
0
0
null
null
null
null
UTF-8
R
false
false
5,893
r
Linear_Regression_1.R
hardik.data <- floor(runif(10,10,30)) print(hardik.data) ajinkya.data<- findInterval(hardik.data,c(5,15,25,30)) print(ajinkya.data) cut(hardik.data, breaks=c(5, 15, 25, 30), labels = c("Low","Mid", "HIGH")) mydata<-read.csv("D:/Coaching/Business Intelligence/Course/Session 4/hsb2.csv") print(mydata) mydata$ra...
67fcc7403214de8c78444a8a0e48ada50c19495d
42aa74ccbd4f35997da7fbcceea1b903b3846c63
/R/NI.Dorf.calc1.R
960dc67d2ce914b5b82d0a1554c13c3b2db40b9d
[]
no_license
cran/binGroup2
b88543f087ab3bd0a499b87144a1037e8c58a126
79be6e46ac7fea730f9c81557f673bc6f6026f67
refs/heads/master
2022-06-19T12:30:16.516766
2022-05-25T10:00:16
2022-05-25T10:00:16
254,030,147
0
0
null
null
null
null
UTF-8
R
false
false
2,920
r
NI.Dorf.calc1.R
# Start NI.Dorf.calc1() function ################################################################### # Brianna Hitt - 12-06-19 # This function is the same as NI.Dorf(), but no longer finds the # optimal testing configuration. It only calculates operating # characteristics for a specific testing configurati...
c10be4bb42d256e40bcaa3e28f370b45c4ca6885
1f7b39f59c95b4741f9940a1556dab9062ad0783
/man/create_table.Rd
37e5b260d24a0ad71616d13e48706fbddeb308a5
[]
no_license
Nardus/SCRCdataAPI
d755157e957ee1347b4d91de9d0e6ceaac2f9551
75159024829df574b13ec63ad994f19a82573c00
refs/heads/master
2022-10-13T10:00:46.332331
2020-06-09T18:07:17
2020-06-09T18:07:17
271,031,395
0
0
null
2020-06-09T14:52:44
2020-06-09T14:52:43
null
UTF-8
R
false
true
692
rd
create_table.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/create_table.R \name{create_table} \alias{create_table} \title{create_table} \usage{ create_table(h5filename, component, df, row_title, row_names, column_units) } \arguments{ \item{h5filename}{a \code{string} specifying the name of the hdf5 f...
82389405ebafee4337fdd7b99193122b3cbf5d88
0e9a5fab0cad29b979043d1168b15a6d87fdc0f2
/inst/cps_acs_processing/src/pre_shiny_app_processing.R
748263ce0232dc57b2ca9b837f6396c13e5d4b1a
[]
no_license
economic-opportunity/eoq
509271e64c64a0ef912ab2f1ccfc83fdb1bfda47
a681aadaf55064623b6cb180ed11508a3e85972e
refs/heads/master
2023-04-01T06:17:28.786556
2021-03-22T00:31:53
2021-03-22T00:31:53
205,065,863
0
0
null
2021-03-07T17:59:44
2019-08-29T02:42:20
R
UTF-8
R
false
false
5,821
r
pre_shiny_app_processing.R
# libs -------------------------------------------------------------------- library(shiny) library(tidyverse) library(janitor) library(shinythemes) library(shinyWidgets) library(plotly) library(rjson) library(pivotr) library(eoq) # load -------------------------------------------------------------------- # post pr...
f0b4d9805687fe07842a3d83384701cd7061f8e1
090147049b162664113190e628313626b626214f
/ques.R
31c265cd67716b6c0931b17752e1cf913dba6c26
[]
no_license
a7420174/bsms222_121_kim
4e930585d6497e0a0259cb4ed6d5907a4147cf77
c42b21d74e30204ca8ba459a903785fea6b0e1e6
refs/heads/master
2023-01-08T20:34:57.853161
2020-11-16T01:22:58
2020-11-16T01:22:58
292,191,952
0
0
null
null
null
null
UTF-8
R
false
false
1,185
r
ques.R
startd <- function(d){ str_extract(d, "\\d+") } startp <- function(p){ str_extract(p, "\\d+") } d1 <- d[d$Inheritence %in% c("DeNovo", "Inherited") & d$Effect == "Missense",] dna <- as.numeric(startd(d1$c.DNA)) pro <- as.numeric(startp(d1$p.Protein)) plot(dna, pro) table(d$Effect) max(as.numeric(d$SeizureOnsetD...
bf15be006e0cc82427b27f3645cdb1972f9de241
7e392f3775c687f1184c59ad7c5f5bb5742785a7
/Ridge_Lasso.R
9326a002365c5d3fdffaaf657ac708ecf5927a52
[]
no_license
JIanying-Liang/STSCI4740-Project
ebf2d17b7ce14e66020da4dd191aacb4f6f25757
a05894474da8585347fe5672dddb739831994224
refs/heads/main
2023-01-28T09:40:19.194276
2020-12-15T07:52:42
2020-12-15T07:52:42
316,571,329
0
0
null
null
null
null
UTF-8
R
false
false
1,475
r
Ridge_Lasso.R
cancer_data = read.csv('D:/AmireuXFaye/Cornell/STSCI4740/cancer_data.csv') cancer_data<-cancer_data[,-1] View(cancer_data) cancer_data$Level = as.factor(cancer_data$Level) # Training set set.seed(1) train.index <- sample(1:nrow(cancer_data),0.8*nrow(cancer_data)) cancer_train <- as.matrix(cancer_data[train.index, 1:23...
7a7c753062c36b0083e4904bbf00c048464d4715
48c23d3bec5c33d46917bb0aa001607733b82ec5
/final_visuals.R
74b6e45c9d8f3ebd74fecd8cec4f96d8281cdcee
[]
no_license
nienkelegemaate/Fork-Me-Harder
72fd84f719b385311da31f2e276342746933ae75
53062349127d7ebeb032dfcafe9004eef2e3f298
refs/heads/main
2023-02-21T06:54:02.288278
2021-01-22T16:14:44
2021-01-22T16:14:44
330,630,407
0
2
null
null
null
null
UTF-8
R
false
false
5,445
r
final_visuals.R
# Preamble: Load libraries and read in DataFrame library(tidyverse) library(ggthemes) df = read_csv2('gender_df.csv') # Mutate Columns to indicate 0 (Absence) or 1 (Presence) for each metadata # attribute of interest and remove rows for which NA values are present df1 <- df %>% mutate(Alma_Mater=ifelse(Alma_Mater==...
a6957d0effc7a2312cf3b7d07bef2c757aeaef12
41ad52fe9ff9c3efe3d65e2da9b09fba88e0094e
/R/utils-regressions.R
d29e7e7761815f74da553fe976b27b474dfc44f2
[ "MIT" ]
permissive
AdrienLeGuillou/algUtils
31bdda3f7fb70a04e649c0c7312b0ade89cde951
a90a7e73e2291019ffeb6a799a110db288d4d351
refs/heads/master
2020-08-08T17:45:15.778315
2020-08-06T16:38:17
2020-08-06T16:38:17
213,881,173
0
0
null
null
null
null
UTF-8
R
false
false
1,547
r
utils-regressions.R
pre_reg <- function(df, fmla) { dat <- model.frame(fmla, df) n_NA <- nrow(df) - nrow(dat) message(n_NA, " values removed due to missingness") dat } kable_reg <- function(df) { kable(df, format = "html") %>% kable_styling(bootstrap_options = "striped") } #' @export alg_reg_logi <- function(df, fmla, ...
1358f7c5e93e005a9e70e89819f436fa712e41b8
8902a1139209246adc0c2a7f6c50f01318b36e99
/studies/prefSamplingNew.R
534d839eb21b7999c5a02ba2fd68919ccea53e08
[]
no_license
brianconroy/dataInt
d948f7e476303f070b3ba061ee6329af1d077a5d
d4b261577b9aec781b2810d215f04f77e7176a5c
refs/heads/master
2021-05-13T11:34:23.702692
2019-10-31T22:36:18
2019-10-31T22:36:18
117,129,891
0
0
null
null
null
null
UTF-8
R
false
false
16,490
r
prefSamplingNew.R
library(plyr) library(R.utils) library(ggplot2) library(gridExtra) sourceDirectory('Documents/research/dataInt/R/') ######################### # Tunes the preferential # sampling Bayesian model # Updates locational parameters # based on the joint likelihood, # not merely the locational # component #################...
9f12b71fcd3f5f2f686097c13db13aa8a1231247
8d0118a2259b00b5988373f43cebb4c28e498118
/scripts/DataExp.R
2bc6fef08e1ec7c77d19c730178ed221c349543c
[]
no_license
FarMar/ForestSoils
b8be387d1481498fa5b7e1ebb3d43877358ce37a
10c4f6a7513e365574f807efbef4e60885706bc6
refs/heads/main
2023-06-24T02:42:17.966607
2021-07-30T11:50:15
2021-07-30T11:50:15
317,782,768
0
2
null
null
null
null
UTF-8
R
false
false
64,540
r
DataExp.R
##################################################################################################### #### Forest soils data exploration ################### #### mark.farrell@csiro.au +61 8 8303 8664 18/03/2021 ################################ ###########...
5a1c343bf9c446fa5192c60a87751da7261cecc7
cab6be4f5004f4c9106e77623dfc85aec4fbeeec
/ballerDepHeterogenScripts/DataPrep.R
060f3492e76dcd27c2f12234ef27e6109748f3ed
[]
no_license
PennBBL/ballerDepHeterogenScripts
fab351c54bb5263e1aac4d133a8f92b66df4b8f4
90d112fd734e41ae93ec4bd3a591885c53915359
refs/heads/master
2021-06-04T11:55:28.632889
2020-02-16T03:09:25
2020-02-16T03:09:25
112,241,167
0
0
null
null
null
null
UTF-8
R
false
false
5,841
r
DataPrep.R
################# ### LOAD DATA ### ################# #Demographic data (n=1629) data.demo <- read.csv("/data/joy/BBL/studies/pnc/n1601_dataFreeze/demographics/n1601_demographics_go1_20161212.csv", header=TRUE) ##Clinical data #Screening diagnoses (n=1601) data.diag <- read.csv("/data/joy/BBL/studies/pnc/n1601_dataF...
d56d0905e642ef4a9314206a67a21f257471521b
ec7a64a18b9304a93ba84fa5538aa5a2da5dacb7
/Homework 9/Homework-9.R
9edf3dff4c042776a625c5ef07d8872615cf6e1b
[]
no_license
statduck/SP21
47581bb8b0847675a0c21ee9e195a206b6a82e08
a048e97a23b0b820a420b9240cae4668c6698b74
refs/heads/main
2023-08-01T06:43:16.629247
2021-09-11T15:30:08
2021-09-11T15:30:08
null
0
0
null
null
null
null
UTF-8
R
false
false
95
r
Homework-9.R
rm(list=ls()) library(FrF2) set.seed(42069) design = FrF2(nruns = 16, nfactors = 10) design
de2342e89ecee22199a091e4faec195f34267883
cfa1cfb6b9a39102a0cc7df5abf974cec2d472cc
/plot1.R
d2b75136250c17bc5387f8cd398888c5ca7383b0
[]
no_license
MrMaksimize/ExData_Plotting1
78e3a17e0719ad46062d661f10d48093fb034c8b
edd6ec351daafca89aa1232f66f27f42012fe058
refs/heads/master
2021-01-22T01:44:06.048234
2015-06-06T00:10:53
2015-06-06T00:10:53
36,845,317
0
0
null
2015-06-04T03:18:04
2015-06-04T03:18:03
null
UTF-8
R
false
false
286
r
plot1.R
## Set WD to the location of file setwd(dirname(parent.frame(2)$ofile)) source('helpers.R') pcons <- getData() hist( pcons$Global_active_power, col="red", main = "Global Active Power", xlab = "Global Active Power (kilowatts)" ) dev.copy(png, file="./plot1.png") dev.off()
2f6157d44170cfda1c635740161a0671ba6f8953
97ba2fb82ac72c6cbf3c999bd89627269b03989a
/man/split_path.Rd
db9514896179d128073fd02f9b605b758864c096
[]
no_license
markgene/mutils
e8b8ce71eb7733c7d18407ccbbeab63ff146af23
2d4bbc4769abd84b39adcce3194f38bc501f71b1
refs/heads/master
2022-03-27T12:45:53.785373
2022-03-06T15:42:07
2022-03-06T15:42:07
132,940,311
0
0
null
null
null
null
UTF-8
R
false
true
522
rd
split_path.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/utils.R \name{split_path} \alias{split_path} \title{Split a file path into a vector of folder names} \usage{ split_path(x) } \arguments{ \item{x}{A character scalar of file path.} } \value{ A character vector. } \description{ Split a file pat...
c5ca05362abddab078e4b2188c512e3ff55eb341
bb94bfdd55b1351794ccd2d1c8e774f5d9957241
/modelowanienieznany.R
e9ac3ff2e5aeabce7585f571ec4605fb8b1201a3
[]
no_license
HabibMrad/Bioinformatic_EDX
4fd5371afb6134c257c196421b7a83974e4670e2
a538cb6bc606b0428a4ad1c10c2fa80201c66cd3
refs/heads/master
2020-12-23T09:09:42.312875
2018-05-13T07:10:45
2018-05-13T07:10:45
null
0
0
null
null
null
null
UTF-8
R
false
false
5,599
r
modelowanienieznany.R
rm(list=ls()) install.packages("readr", "ggplot2", "MASS", "stats","lmtest","car", "RCurl") library(readr) library(ggplot2) library(MASS) library(stats) library(lmtest) library(car) library(RCurl) #pobranie danych dane <- read.csv(text=getURL("https://raw.githubusercontent.com/sonjawap/final/master/Kaggle.csv"), row.n...