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
e3d8911025eee98644ad98f0707543cfbd2a548d
92e979e0e55cf88078795becc261a20850004acb
/man/simulate_sample.Rd
e2064228f3cee62a352a14a4967df58a2fe26b4a
[]
no_license
rjnell/digitalPCRsimulations
c47becb1e19e2a3fb8f5056fc02f78d8c25e3f86
b341cf024b262cbc0cb77a6745c05b71247fd70d
refs/heads/master
2023-02-07T07:47:51.514474
2023-02-04T14:00:03
2023-02-04T14:00:03
295,371,471
0
0
null
null
null
null
UTF-8
R
false
true
532
rd
simulate_sample.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/simulate_sample.R \name{simulate_sample} \alias{simulate_sample} \title{Simulate a sample: return a random selection of droplets.} \usage{ simulate_sample(sample_size = 20000, universe = NULL) } \arguments{ \item{sample_size}{A table with the...
815ba166e5200328427c9429d09b82c957920d3d
c7b52f3e9dece7611b1577332459157ad0a03aa1
/functions/input/read_jh_csse.R
a34557a3351706623d0b7fc76c960873166d7699
[]
no_license
sueddeutsche/corona_automated_charts
e062dd3495ef6071c14de70407db6e42d3f16608
3093c9f3d25c39b262773161210cbb8f945c3f19
refs/heads/master
2021-04-07T19:29:12.734872
2020-03-20T08:25:28
2020-03-20T08:25:28
248,701,903
8
1
null
null
null
null
UTF-8
R
false
false
2,365
r
read_jh_csse.R
# # Johns Hopkins current data from dashboard # check to find out it there's an response from JH CSSE successful <- FALSE tryCatch( { r <- httr::RETRY("GET", url = "https://services9.arcgis.com/N9p5hsImWXAccRNI/arcgis/rest/services/Z7biAeD8PAkqgmWhxG2A/FeatureServer/2/query?f=json&where=Confirmed%20%3E%200&retur...
1ac00c14eebffaa56a9037c13f75d983b546113b
8aa9ba1acd76ee4cdc993b59dd9f72b1b22df2b2
/ui.R
7f7f9ecdbea402b9e570e5654f69a3d870f84841
[]
no_license
tbenschop/AngularJS
a7493ec7361715d7fe88ce0bbd325cd62b4d15eb
f14aaeb2943482bc7e180ac092e8fd50e73a3b83
refs/heads/master
2021-01-13T02:51:18.441855
2016-12-22T20:52:47
2016-12-22T20:52:47
77,136,604
0
0
null
null
null
null
UTF-8
R
false
false
175
r
ui.R
library(shiny) shinyUI(bootstrapPage(includeHTML("static2.html"), selectInput('abc','abc',choices = c('a','b')), uiOutput('abcd')))
d51037e11611a056e599ad797aae6dc471e8cd9e
e7e0ccce84c80113d7aba41458007dd42127a94c
/R/i_rise_gossling_hgdp.R
1446039950a93e94570cf398a679569915438629
[]
no_license
halasadi/ancient-damage
ea10ea94325b66b129c1d4e9e5bf4827e5377ad2
51387d59d3436d796a2621d3dd72afbec48f981a
refs/heads/master
2020-04-12T06:42:24.364980
2018-07-28T22:45:30
2018-07-28T22:45:30
62,754,123
2
0
null
2016-09-22T01:13:50
2016-07-06T21:20:43
HTML
UTF-8
R
false
false
4,414
r
i_rise_gossling_hgdp.R
################## I + RISE + Gossling + HGDP ############################## library(aRchaic) gossling_data <- get(load("../processed_data/annagosling2016-counts-table.rda")) system.time(gossling_data_clubbed <- club_signature_counts(gossling_data)) gossling_data_clubbed <- gossling_data_clubbed[-28,]; names ...
abdf177b2027955bad79ede729471a000d46711b
a5b199836daeef25fceb8ba3f4ae12a915506c89
/02_methylation_expression_associations.R
6edc1d95354824eaecca766dd2cc17a245833952
[]
no_license
WRScottImperial/Human-adipocyte-5mC-obesity
37ad159cfbeb1dfcc8c6f7c06421a901717b17a3
43b3b9a1fd544330f1f2c1b41cacf84ee8c66d63
refs/heads/master
2023-04-10T06:03:45.569090
2023-03-10T13:36:37
2023-03-10T13:36:37
179,325,255
1
0
null
2023-03-09T11:42:44
2019-04-03T16:06:57
R
UTF-8
R
false
false
3,208
r
02_methylation_expression_associations.R
############################################################################################# ##### Identification of sentinel DNA methylation sites associated with expression. ##### In combined subcutaneous and visceral adipocyte samples, using mixed effects controlling for sample relatedness. #################...
d65fee65bd1ad6e3e137f139c80c1b9836b1be3b
ffdea92d4315e4363dd4ae673a1a6adf82a761b5
/data/genthat_extracted_code/fastR2/examples/RatPoison.Rd.R
02895c1b1fd46c1e7af7dc36757d9fb58377babf
[]
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
276
r
RatPoison.Rd.R
library(fastR2) ### Name: RatPoison ### Title: Rat poison - unfinished documentation ### Aliases: RatPoison ### Keywords: datasets ### ** Examples data(RatPoison) gf_line(consumption ~ flavor, group = ~ location, color = ~ location, data = RatPoison) %>% gf_point()
b4d4ec16b06c19e9e8790adc47dd0643aff16e78
c770b96645e3792287fad149a97a1a9d0f95e5d6
/Exercise14.R
32e9471ed5476dbfe8a88ff873c1bb82c7459e52
[]
no_license
nickormushev/R-trainings
f70aa9900e8f27ed02adb7e24c4033b4fa60db6f
efa7df5b5075a505b2f35c50ee3b0d551023f742
refs/heads/master
2023-05-30T17:53:05.530260
2021-06-09T08:11:01
2021-06-09T08:11:01
367,485,275
0
0
null
null
null
null
UTF-8
R
false
false
10,000
r
Exercise14.R
library("tidyverse") st <- read.csv("students.txt") train <- st[101:400, ] test <- st[1:100, ] chisq.test(train$admit, train$rank) n <- nrow(st) correct_sum <- 0 for (i in 1:n) { train <- st[-i, ] test <- st[i, ] m <- glm(admit ~ ., data = train, family = "binomial") predictions <- predict.glm(m, ...
4c8c1289efdfd6f7674d82a86e6c6c5ba6940d77
d837c3cca39d2aedcd4cc29772dde5f1eb6d621f
/man/holiday.Rd
2c02867d04d9c9338c61e33a9d7e852e354ff00e
[ "MIT" ]
permissive
anabelberjonsanchez/christmaspackage
c06c04a21bea97f5b513f5e7b6d763994d808580
3adee6c6fe06b589846f5e9b9cb2cef011e1f67a
refs/heads/main
2023-01-24T20:57:42.013019
2020-12-02T22:12:46
2020-12-02T22:12:46
317,600,047
0
0
null
null
null
null
UTF-8
R
false
true
379
rd
holiday.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/holiday.R \name{holiday} \alias{holiday} \title{A Holiday Function} \usage{ holiday(christmas = TRUE) } \arguments{ \item{christmas}{Do you like holidays? Defaults to TRUE.} } \description{ This function allows you to decide what to do during...
353e362fd54a2741352edd9480db00aee153d14f
a85a1ef7f643d2d87cf7d58c7ecd0f5bcddfd510
/rscripts/figures/fig3.R
8b4bf0764216f716ccb51830d9211e13b44c2e3f
[]
no_license
welch16/ChIPexo
85c06a2d26a37f68006cbbdf03c994b3cd0b70f4
cc2de1b1f453c1f6ac73aad0872a41f11a28d4be
refs/heads/master
2021-09-12T12:57:09.142674
2018-04-16T23:06:27
2018-04-16T23:06:27
20,110,804
0
0
null
null
null
null
UTF-8
R
false
false
4,475
r
fig3.R
#!/usr/bin/env Rscript library(optparse,quietly = TRUE) optList = list( make_option("--outdr", action = "store_true",type = "character", default = "figs/figuresV2/fig2", help = "Directory where all the figures are stored."), make_option("--fig.width",action = "store_true",type ...
532f2f5af16296c314a0818c404982871976af19
dce37174ec552c73c63586000f6b506cbf5a25a6
/R/gwfa_uniquenesses_sum.R
75e376559fa250419a6c2e4d372a235366c9c330
[]
no_license
naru-T/gwefa
36a5a298cf488432b06584cb5df9f3aa1e4de789
0eb58ae65ad82536d6ca24664d763b4aa78b3860
refs/heads/master
2020-03-21T10:48:52.336020
2019-04-25T04:32:15
2019-04-25T04:32:15
138,472,410
0
0
null
null
null
null
UTF-8
R
false
false
397
r
gwfa_uniquenesses_sum.R
gwfa_uniquenesses_sum <- function(bw, x ,dp.locat, k, robust, kernel, adaptive, p, theta, longlat, dMat,vars, n.obs, fm, rotate,scores, oblique.scores, timeout, foreach){ ans <- gwfa(data=x,elocat=dp.locat, vars,bw,k, kernel, adaptive, p=2, theta=0, longlat, dMat, n.obs, fm, rotate,scores,oblique.scores=oblique.scor...
363a02c66c7e4de9998fb2c067f6a0f43005733b
c2d79fd415b3417a56d7c0a85b453b68eebb7d7a
/R_Programming/demonstration.R
035f0ae15e023871f81fb7610e4f4c42b1dd626e
[]
no_license
noone31173/AI_ANALYTICS
71d6907ce940f8818fbc0e23ee8ca9f29fad85b7
e0854cb80c55c64c1b4ace54b3a84af573991167
refs/heads/master
2022-11-11T14:01:21.130217
2019-12-08T12:30:13
2019-12-08T12:30:13
226,520,448
0
1
null
2022-10-26T09:09:16
2019-12-07T13:46:16
Python
UTF-8
R
false
false
632
r
demonstration.R
library(nycflights13) library(tidyverse) nycflights13::flights ?flights view(flights) filter(flights, month == 1, day == 1) dec25 <- filter(flights, month == 12, day == 25) dec25 filter(flights, month == 11 | month == 12) arrange(flights, year, month, day) arrange(flights, desc(dep_delay)) select(flights, year, month, ...
d06a04ab45383bc1e37c29399b981712772a1974
f65a07c8d1c0a270f976071a3fd2f8db823a7ad4
/R/k_to_f.R
f05cee7236a4bc2bb4995cc3cba443660f32fb13
[]
no_license
mt-climate-office/mtdrought
4da714fe93d5fd38f48e33745ab1196e2b15214c
2001a91e80ec723af931e796ea0f4416342ebfef
refs/heads/master
2021-06-24T00:37:26.185845
2020-10-28T20:40:38
2020-10-28T20:40:38
123,042,157
0
0
null
2020-06-18T19:27:08
2018-02-26T22:59:29
HTML
UTF-8
R
false
false
110
r
k_to_f.R
k_to_f <- function(x){ x %>% magrittr::multiply_by(9/5) %>% # C/K to F magrittr::subtract(459.67) }
6f0ee96038dc849ad8f760188dd21910ce1e0b81
b83c7ce220eef7e0ce1c209b937dd8bc48577db2
/man/resample_times.Rd
15d209cf63fe4cfa72b9376a454a4de43eb51554
[]
no_license
mahowak/peekds
d35a08d983284223f9ea6d3497757a151866f3e4
47550093666a108d31d1edfca867cb80bd147278
refs/heads/master
2020-09-21T10:56:15.359908
2020-07-24T00:43:48
2020-07-24T00:43:48
224,767,618
0
0
null
2019-11-29T03:09:11
2019-11-29T03:09:10
null
UTF-8
R
false
true
360
rd
resample_times.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/generate_aoi.R \name{resample_times} \alias{resample_times} \title{Resample times to be consistent across labs} \usage{ resample_times(df) } \arguments{ \item{dir}{df that has subject_id, dataset_id, trial_id and times} } \description{ Resamp...
206d566c30aeea08014b30a2e4d0f1a6d24a905f
856ab7e8164df470e69d989618207db9c28c666b
/christmas_radio_data_assets.R
531dd20584df0de9a76dc8a9ba0a762676d3cb0b
[]
no_license
walkerkq/christmas-radio
2c2c317ec7e02fe5fe4b33943354f83aa708c036
768eda86739ecd99768221dba86eb6032886039c
refs/heads/master
2021-01-12T05:46:21.702619
2016-12-23T15:31:15
2016-12-23T15:31:15
77,192,488
0
0
null
null
null
null
UTF-8
R
false
false
1,626
r
christmas_radio_data_assets.R
library(ggplot2) fm <- read.csv("christmas_radio.csv", stringsAsFactors=F) not_us <- c("BC", "BN", "MB", "MP", "NS", "PR", "QC", "SK", "VI", "GU", "AS") ##### States with the most Christmas stations st <- data.frame(table(fm$State[fm$Christmas==TRUE])) st2 <- data.frame(table(fm$State)) st <- merge(st, st2, by="Var1"...
b19beca2e242348119acbf48974f0aabd38de287
9ab25c9161cbb7d3d6f1068fcbc01449ba6baa0b
/RVS0.0.0/man/calc_score_test.Rd
8293509251c544579ca4686d8bf84c5dcf7ff2de
[]
no_license
jiafen/RVS
5b9d4a42f4684d6589bbbc4167849e509b3c001a
f1c1ba78ec3983dd3f90bc09f1496d75d0f8b7dd
refs/heads/master
2021-01-10T09:10:58.940526
2016-01-27T20:37:48
2016-01-27T20:37:48
49,983,897
0
0
null
null
null
null
UTF-8
R
false
false
781
rd
calc_score_test.Rd
% Generated by roxygen2 (4.1.1): do not edit by hand % Please edit documentation in R/help_assoc_test.R \name{calc_score_test} \alias{calc_score_test} \title{clac_score_test calculates the score test for given expected value of genotype for case and controls seperately (M1, M2)} \usage{ calc_score_test(M1, M2) } \argu...
37fb25acd4e7b3c18717914d0fe07be6c1872a24
69187c8d9affbadba26f5fd9e0ad9acf632284b8
/script/functions/flag_duplicates_by_ids.R
2c7a9703c08da9f4f82ae9ba9a98189a8b147b4c
[]
no_license
nthun/videogame_psychophys_meta_analysis
ba232e421f2f7dfbd732107fb36d978261d7fa13
2086df4dd871c2f26563a7e3ad0fa7b0e1795cb6
refs/heads/master
2021-05-06T10:32:48.387612
2018-11-18T21:38:45
2018-11-18T21:38:45
114,146,708
0
1
null
null
null
null
UTF-8
R
false
false
1,323
r
flag_duplicates_by_ids.R
# Flag duplicates by id(s) # By using several databases, it is possible to have several duplicates of the same article with the same id. As there can be several ids, removing duplicates is not that straightforward. # INPUT: df data frame with potential duplicates # keys a character vector of identifier variables...
6dcbaa023ab200b637a83ba8c45066280eb08cad
3db768da9b99873ec55cdf449feaf64654da1bdf
/R/STAR2bSMRT_NRXN.R
6fe2a9bca0eb0b5a706f60325fb856969e04e14d
[]
no_license
zhushijia/STAR2bSMRT
ca8cf30efaca8bed2fda287779b5f705875a4c0d
a3081be9455f6073e6ce1be4a229983aab7c6aad
refs/heads/master
2021-03-27T08:49:39.151251
2019-12-12T23:13:13
2019-12-12T23:13:13
119,112,032
3
1
null
null
null
null
UTF-8
R
false
false
8,900
r
STAR2bSMRT_NRXN.R
#' STAR2bSMRT_NRXN #' the main function of STAR2bSMRT specially designed for NRXN1 alpha splicing #' identification #' #' @param genomeDir character value indicating the directory of STAR genome #' index for both STARlong and STARshort read mapping #' @param genomeFasta character value indicating the fasta file of g...
100a5c1a1fd0203342f593e6e21c7516c14c2599
329a5521af71c51419c7d40c6defd4ba659fa03c
/man/rdoublebinom.Rd
cb70a756058d1fcf5ca308d19bba593850d55427
[ "MIT" ]
permissive
jin-yuyu/DoubleRobGam
96bb106e0733e99a43c489516d596a161c3ccd7e
2808246aaa29f4538978a2516dcf832837848a22
refs/heads/master
2023-07-14T18:46:43.361846
2021-08-20T08:21:55
2021-08-20T08:21:55
null
0
0
null
null
null
null
UTF-8
R
false
false
618
rd
rdoublebinom.Rd
% Generated by roxygen2 (4.1.0): do not edit by hand % Please edit documentation in R/generalFunctions.R \name{rdoublebinom} \alias{rdoublebinom} \title{Random generator of Double Exponantial Binomial-type data (counts)} \usage{ rdoublebinom(size, n, prob, theta) } \arguments{ \item{size}{sample size needed} \item{n}{...
1b6b33a9b84b61e63634e69c0c0844d2c6b17dbe
a09711cc3dfa313ed6c95467d8cad1f375503c8b
/01_Examples_Scripts.R
67d3fc6fe68fde7750af85a7eb207b6e94fcde53
[]
no_license
MigueldaCosta/learnxts
c466687c75faab661d93129e52bdf0797abf61dc
8abed8112203566a0c1ab42c044606d81d1a2e88
refs/heads/master
2021-07-10T16:01:50.913131
2017-10-11T21:12:59
2017-10-11T21:12:59
null
0
0
null
null
null
null
UTF-8
R
false
false
5,124
r
01_Examples_Scripts.R
# studing xts and zoo packages install.packages("xts") library(xts) # XTS = MATRIX + INDEX # creating a matrix: x <- matrix(1:4, ncol = 2, nrow = 2) # creating an index idx <- as.Date(c("2015-01-01", "2015-02-01")) # creating a time series by using xts function and order by index: X <- xts(x, order.by = ...
69a5e2717af2594a2c97b04b454b50bf07b75358
7ab599bd9ec468a07835e1fd7048a46bfcb8e5e3
/Variable Importance Using WOE And IV.R
f73295b1daa0f799fec3b71fe9dcba645f28ab79
[]
no_license
debasishdutta/R_Programming_Feature_Engineering
fed9d69245c10275bb73b29bc40b6caf096a0a23
177b3bf8880a9cdad138ea0da8f78f8cf9b4b80a
refs/heads/master
2022-05-28T14:51:44.030342
2020-05-04T06:04:05
2020-05-04T06:04:05
261,091,700
0
0
null
null
null
null
UTF-8
R
false
false
2,453
r
Variable Importance Using WOE And IV.R
################################################################################################ ######################### Weight of Evidance & Information Value ########################## ######################### Developer: Debasish Dutta ################################# ######################### ...
598b7caa5b5bf17c126b6d48029a2faf16ffaffe
cd6f95463534a1c4fe88b1963ca2809d9961e6ec
/process/microarray/annotate.r
112c0c2c051085031c29ff27ec41cabf84b5c90d
[ "Apache-2.0" ]
permissive
Manikgarg/ebits
aeaa5ba957397a6644ccc6769ef5d3e9ffc8477a
d70aa56b6d8eb7ac8aa73215f935b117deedc254
refs/heads/master
2020-03-11T16:12:52.066875
2018-04-18T13:44:25
2018-04-18T13:44:25
null
0
0
null
null
null
null
UTF-8
R
false
false
3,919
r
annotate.r
#' Mapping of annotation identifier to annotation package #' #' there should be a mapping between the two available somewhere? #' List of BioC annots: https://www.bioconductor.org/packages/3.3/data/annotation/ mapping = list( "pd.hg.u95a" = "hgu95a.db", "pd.hg.u95b" = "hgu95b.db", "pd.hg.u95av2" = "hgu95av2...
41858d23707d8a163aa98d93aa4ca08afd0b491a
9aafde089eb3d8bba05aec912e61fbd9fb84bd49
/codeml_files/newick_trees_processed/5813_0/rinput.R
9d019cf5f0871743aa2337df0a5e113408b5c615
[]
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
135
r
rinput.R
library(ape) testtree <- read.tree("5813_0.txt") unrooted_tr <- unroot(testtree) write.tree(unrooted_tr, file="5813_0_unrooted.txt")
f3251d0fe2b98bdd924189d2ff57947537ebc7d1
97c2cfd517cdf2a348a3fcb73e9687003f472201
/R/src/SystemDB/R/System.R
5d30f076482d27f73b720f78427cdefa3599b125
[]
no_license
rsheftel/ratel
b1179fcc1ca55255d7b511a870a2b0b05b04b1a0
e1876f976c3e26012a5f39707275d52d77f329b8
refs/heads/master
2016-09-05T21:34:45.510667
2015-05-12T03:51:05
2015-05-12T03:51:05
32,461,975
0
0
null
null
null
null
UTF-8
R
false
false
2,469
r
System.R
# System Class # # Author: rsheftel ############################################################################### constructor("System", function(system=NULL){ this <- extend(RObject(), "System", .system=system) constructorNeeds(this, system="character") if (inStaticConstructor(this)) return(this) failI...
8f94a8d0c1dba8efd905a9029eba2bb56efeb0e1
64bcb6a325629f3af563b5f8de5d208777f1688f
/man/visualize_corrections.Rd
270a7c5657bccc5eb8dec74b7bedc5561d82d2a2
[]
no_license
fdbesanto2/cdynfgeo
8a8309357e5bedc6f569479fa9bc6a8fc8b22ee9
86fd59e37c731db5b8018895e872d53f985b9313
refs/heads/master
2022-11-12T09:45:46.465857
2020-07-01T14:52:03
2020-07-01T14:52:03
null
0
0
null
null
null
null
UTF-8
R
false
true
613
rd
visualize_corrections.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/visualize_corrections.R \name{visualize_corrections} \alias{visualize_corrections} \title{Visualize corrections made by the consolidate_data() function} \usage{ visualize_corrections(df, dbhmin = 500, plotsPerPage = 25) } \arguments{ \item{df...
5caae7fea221ebbc80ba4da45b4d499f43cb0cd3
51fdd67d355df9ed4378bc86e432386edd31d4ca
/man/scale_colour_gradient2_tableau.Rd
5e0ff19c80c5c6a86ddf968f1b51340fd2f98199
[]
no_license
bobbbbbi/Data-Visualisation-with-ggplot2-ggthemes
f434c6dede486849236ddc26d6a31a3ee093ffe9
6ff7f1589b6199bf4c11ffde12b5fed9ceee4fce
refs/heads/master
2020-06-19T08:08:40.380067
2017-05-01T00:02:28
2017-05-01T00:02:28
94,182,518
3
0
null
null
null
null
UTF-8
R
false
true
1,760
rd
scale_colour_gradient2_tableau.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/tableau.R \name{scale_colour_gradient2_tableau} \alias{scale_colour_gradient2_tableau} \alias{scale_fill_gradient2_tableau} \alias{scale_color_gradient2_tableau} \title{Tableau diverging colour scales (continuous)} \usage{ scale_colour_gradie...
6c127bd42786d9635f2f10057d30283ae2175f69
be8f72dfc6406df60603b1e1efc1903daf5351a4
/Scripts/enders_chapter6J.R
ff3e38e053ba3ec8e4964eb6eef41588d3c6cceb
[]
no_license
nigoja97/Econometria
492eb2ab917e2f6432d46960b48efc7550fcfa6d
8a7ecb47342331a13b9c42bbe67701932794d9ee
refs/heads/main
2023-06-18T08:26:36.254427
2021-07-19T19:59:40
2021-07-19T19:59:40
343,526,217
0
0
null
null
null
null
UTF-8
R
false
false
5,233
r
enders_chapter6J.R
######################################################### ######################################################### ###### 6. COINTEGRATION AND ERRORCORRECTION MODELS ###### ######################################################### ######################################################### ### PAGE 366 library("gdata"...
7b8db3469db492e890f541fc810381d049a0b24c
30e9b3b7fd58c87083c7b02ca7d67a6b13235c2e
/exercise/HK80/man/HK80GEO_TO_WGS84GEO.Rd
16570d38616abca5bba08e47856ca05ef2bb9298
[]
no_license
zhongduowang/programing_in_r_cn
76bbb3888b127b8ccf2f23fc7d23d9f5f5ceed2d
9a7d994b204b4352d0f5ea3aa76e0fabdb54a678
refs/heads/master
2020-03-21T14:32:08.947060
2018-06-25T15:28:16
2018-06-25T15:28:16
null
0
0
null
null
null
null
UTF-8
R
false
false
1,316
rd
HK80GEO_TO_WGS84GEO.Rd
\name{HK80GEO_TO_WGS84GEO} \alias{HK80GEO_TO_WGS84GEO} \title{ Convert HK80GEO coordinates to WGS84GEO coordinates } \description{ Convert HK80GEO coordinates to WGS84GEO coordinates } \usage{ HK80GEO_TO_WGS84GEO(latitude, longitude) } \arguments{ \item{latitude}{ latitude in decimal degrees } \item{longitude}{ l...
6b6d9afa4bc452974db71e5a572468336849e8f3
d01ef90f1b72ae02ac5055c7c93c69fcf5a7be5c
/scripts/map.QTL.permutedPhenos.R
877ce82a4477bad161e5fae9ec9faae236b90d72
[]
no_license
ngon/LgSm-DataProcessing
3b8dde9e4e75f1e2e6791ec342cda80b6d54070f
37c816f5257dcc87802124e87dbd9e445f6d146f
refs/heads/master
2020-07-04T15:07:14.876067
2015-11-21T02:52:33
2015-11-21T02:52:33
22,928,887
0
1
null
null
null
null
UTF-8
R
false
false
3,318
r
map.QTL.permutedPhenos.R
##### MAP QTL IN F50-56 AIL ##### # This file uses permuted phenotype data (5 permutations for each of 14 traits). ##### GO TO DIRECTORY setwd("/group/palmer-lab/AIL/LgSm-DataProcessing") ##### CONSTANTS MAF=0.05 #### READ GENOTYPED SAMPLES AND CHANGE SOME NAMES ---------------------- # 54109_11 changed to 54109 (d...
85ca2006cde6a14f78c89d3220f3f3872a97eaf3
77acf64d79612a57014f519d16635624d82ee725
/all/compareSpectrum.R
5fecce272ad2743391bc283c489475c21d31d9bc
[]
no_license
wanghuanwei-gd/cancer
9ad01f6f1da805fdcff11caab5938ac7c1251834
5983ed246f9ae9e249761e407b521b585609a386
refs/heads/master
2021-01-24T20:01:34.616622
2016-06-04T04:29:26
2016-06-04T04:29:26
65,798,692
1
0
null
2016-08-16T07:41:55
2016-08-16T07:41:54
null
UTF-8
R
false
false
72
r
compareSpectrum.R
/Share/BP/zhenglt/02.pipeline/cancer/mutationSignature/compareSpectrum.R
774d95f36cedcdce33f846d1290b92beab423a42
b5defe24e626043a866d63be9ecaa550822e77b1
/zad26.R
e4ec15f33c985d12c6b042f0d3e7af0a1c6a7d49
[]
no_license
marcin-mulawa/Zadania-R
df47e70d1bb39a93115992ec1ae2d50c837a8140
3d97df77b900bf4169379c95df6a4c4b60e6d6b6
refs/heads/master
2022-04-10T15:02:04.431437
2020-03-25T11:15:16
2020-03-25T11:15:16
249,969,758
0
0
null
null
null
null
UTF-8
R
false
false
49
r
zad26.R
v <- 1:20 for(i in v){ print('Witaj swiecie') }
4f2cf2481a3b6a339f2a77a9ceea392b5cb0450a
fc18ec80388622ade08d1ed6af6b64cd2b01b687
/man/DB_weightedIdx.Rd
048fb521b52ac97141979a93cf6441415a6c9c27
[]
no_license
yannabraham/Radviz
2942d96e8a2fbe337250c10a592aa17b0e1fe514
c9c0d92c6e0acb7b6df6d913f3835156e0acbe68
refs/heads/master
2022-05-15T06:33:44.126045
2022-03-25T09:00:31
2022-03-25T09:00:31
46,946,711
9
1
null
null
null
null
UTF-8
R
false
true
945
rd
DB_weightedIdx.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/DB_weightedIdx.R \name{DB_weightedIdx} \alias{DB_weightedIdx} \title{Computation of weighted version of the Davies-Bouldin index. This index serves as a measure of clustering quality of a 2D projection result with known class labels} \usage{ ...
669a6d55ea71479e70c169e768d7de0bc15b8ac8
56abe0a36be4fea9f4339654b94ebe9c2bcdb41d
/code/UniversalFunction2.R
1d0b14ba221c58778fafc2194ad2baa55297e5f0
[]
no_license
SSoleymani/YieldCurve
7f13f58c7479a578f94f447b73adcbd9ee08e215
8b3f812e805d8ea2981c4393f9103360403dfa55
refs/heads/master
2020-04-08T05:30:21.269380
2018-11-26T04:58:47
2018-11-26T04:58:47
159,063,179
0
1
null
null
null
null
UTF-8
R
false
false
6,732
r
UniversalFunction2.R
universal_function_remove_outlier = function(outlier_detection_method_name = "chull-95", input_data) { ################################## Remove Outlier ############################## removed_outlier <- input_data if(outlier_detection_method_name == "Mixture Model") { pacman::p_load(mclust) fitted_va...
88e5d457d4c68d55af68d105dad9b57e61ef60e5
44bb8677f66af56471e650370441680757479ad3
/R/plotgroups.boxplot.R
1915c084a71da52d962ff4de3e604105dcfcc5b3
[]
no_license
ilia-kats/imisc
930ae08eca9055c3d73e9118d291cba0c10f2e56
80618a220a986b31295d9029964e18d717f978d0
refs/heads/master
2021-01-17T02:23:40.848856
2018-04-12T11:52:57
2018-04-12T11:52:57
47,841,670
0
0
null
null
null
null
UTF-8
R
false
false
7,926
r
plotgroups.boxplot.R
#' @templateVar plottype boxplot (extended with mean, standard deviation, and standard error of the mean) #' @templateVar additionalparams #' \item{swarm}{whether to overplot the boxplot with a beeswarm plot} #' \item{swarmcols}{color of the beeswarm points} #' \item{beeswarmpars}{additional parameters passed to \code{...
302d5dbc7b22a604ac050491670722994ef4f6e8
00d84ff34c2c3c82e03413c5178bacf11459ad7d
/functions/fitscore.R
17bd5d5526522a318ed1aaaf5255d553fcb4d285
[]
no_license
stokeinfo/DGLoadMiner
1641a065ee63e5fd64941b18bcd387a2e506a928
ec51e1d753b46da137ebbd394d95586f75f2222d
refs/heads/master
2020-12-30T09:37:51.996652
2014-09-29T18:58:46
2014-09-29T18:58:46
null
0
0
null
null
null
null
UTF-8
R
false
false
1,097
r
fitscore.R
#fitscore functon for computing correlation between demand and generation fitscore <- function(df, m1=6, d1=1, m2=6, d2=30){ dem <- multiday(df, m1, d1, m2, d2, analyzedemand=T) gen <- multiday(df, m1, d1, m2, d2, analyzegeneration=T) #create window of time intervals based ...
03d38b376553ed47b9911848ec7efe0622355fcf
0500ba15e741ce1c84bfd397f0f3b43af8cb5ffb
/cran/paws.database/man/rds_delete_db_proxy.Rd
c3d4be69d7ecc9c1fd1975f5513922e29e2493fe
[ "Apache-2.0" ]
permissive
paws-r/paws
196d42a2b9aca0e551a51ea5e6f34daca739591b
a689da2aee079391e100060524f6b973130f4e40
refs/heads/main
2023-08-18T00:33:48.538539
2023-08-09T09:31:24
2023-08-09T09:31:24
154,419,943
293
45
NOASSERTION
2023-09-14T15:31:32
2018-10-24T01:28:47
R
UTF-8
R
false
true
464
rd
rds_delete_db_proxy.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/rds_operations.R \name{rds_delete_db_proxy} \alias{rds_delete_db_proxy} \title{Deletes an existing DB proxy} \usage{ rds_delete_db_proxy(DBProxyName) } \arguments{ \item{DBProxyName}{[required] The name of the DB proxy to delete.} } \descript...
c79ebf1fc472c536d59b7e57283ce51a107a1009
e34c6b5b46a16501607a472b78a82cc631fa65a9
/Practicas_TareasU2/Practica3.r
ea4719108df2e11a4824d3aadfa34a0d5096e8b0
[]
no_license
manuelorozcotoro/Mineria_De_Datos
379598c8045dbf14aa03141f1ee37b3c8cdebd2f
595aedb734c045c1e2f804817d016242d3fd756c
refs/heads/development
2020-12-30T01:54:25.851040
2020-06-17T03:44:40
2020-06-17T03:44:40
238,821,758
0
3
null
2020-06-17T03:44:41
2020-02-07T01:42:13
R
ISO-8859-1
R
false
false
2,689
r
Practica3.r
getwd() setwd("/users/Dell/Desktop/DataMining-master/MachineLearning/MultipleLinearRegression/") getwd() # Importando el conjunto de datos dataset <- read.csv('50_Startups.csv') # Codificación de datos categóricos dataset$State = factor(dataset$State, levels = c('New York', 'Cali...
2b5cd8438dc08fed065cdc89bed96086d9c9d0c5
5e832862b2e36be6ba27e874e98499bc399de699
/man/do.states.Rd
2a50820d55230709e1522dfd64f7b0338952fd40
[]
no_license
dmgatti/DOQTL
c5c22306053ddbd03295207702827cf2a715bb70
a1a4d170bf5923ca45689a83822febdb46ede215
refs/heads/master
2021-01-17T02:08:27.831277
2019-05-24T19:22:35
2019-05-24T19:22:35
13,506,518
15
12
null
2019-02-27T13:46:31
2013-10-11T18:33:24
R
UTF-8
R
false
false
760
rd
do.states.Rd
\name{do.states} \alias{do.states} \docType{data} \title{do.states} \description{ The 36 unphased genotype states for the DO on the autosomes and X chromosome. Also the 8 DO founder letter codes. } \usage{do.states} \format{ A list frame with 3 elements. \describe{ \item{\code{auto}}{Character vector with two...
3206fa4452426d6f7c99437a503cc9abed5ee5d5
77f2c4be50c9670b0178fc09c058e520d2450272
/tests/testthat/test_compare.R
28bbea22ab4f4b99560d2833e79859130b8d13e7
[]
no_license
cran/doctr
a8c686a76b9c6dde3f3f5545adf68099726b4565
ac12a023bd346f75472c8f527a09982c3fb8f996
refs/heads/master
2021-01-17T22:56:27.013242
2017-03-07T14:12:46
2017-03-07T14:12:46
84,207,086
0
0
null
null
null
null
UTF-8
R
false
false
736
r
test_compare.R
library(doctr) library(tidyverse) context("Compare") # Setup data(mpg) mpg2 <- mpg %>% mutate(class = as.factor(class)) c <- mpg2 %>% compare(sample_n(mpg2, 100)) c2 <- mpg2 %>% compare(sample_n(mpg2, 100), 0.5) test_that("comapre() returns a valid list", { expect_is(c, "list") }) test_that("comapre() result...
ae740d4e148c1185d5fe66dc57df1da5399ab1d0
ffdea92d4315e4363dd4ae673a1a6adf82a761b5
/data/genthat_extracted_code/fbroc/examples/plot.fbroc.perf.paired.Rd.R
8f9e7056115933f52875f75d545c7400628f7648
[]
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
448
r
plot.fbroc.perf.paired.Rd.R
library(fbroc) ### Name: plot.fbroc.perf.paired ### Title: Plots the difference between the bootstrapped performance ### estimate of the first and the second classifier. ### Aliases: plot.fbroc.perf.paired ### ** Examples data(roc.examples) example <- boot.paired.roc(roc.examples$Cont.Pred, roc.examples$Cont.Pred...
999a2b91b79816575e5cd317bd92a81c829df847
6cb88733bbbe65abf43cc78f4b2d3e3e51a540f7
/man/fitted.metapred.Rd
cb996dda6644e69fdf21bfd72ce9b7d858806120
[]
no_license
cran/metamisc
5ef8449ca492e0855083e619d55d1a24d518ed5d
d0bb31976b9999e2b326d2ff5f23619c91b6108a
refs/heads/master
2022-10-02T06:28:40.286889
2022-09-25T11:10:02
2022-09-25T11:10:02
17,697,425
1
0
null
null
null
null
UTF-8
R
false
true
1,296
rd
fitted.metapred.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/metapred.R \name{fitted.metapred} \alias{fitted.metapred} \title{Extract Model Fitted Values} \usage{ \method{fitted}{metapred}( object, select = "cv", step = NULL, model = NULL, as.stratified = TRUE, type = "response"...
5ea8553a058a2b0be7814bc8ea1ea554324d3ac1
fea0a06c07a4f63f076dc375a1eb402497d0fdeb
/analyze/analyze.r
c6d9ee5b02dd787ae817884b02d6e9bfb0867271
[]
no_license
ESS-IA-Eaton/ESS-IA
4b649a4b45e7b65636dafa597cf4b36f79b954d4
c4ea837795493306523fed44c21e365c44356a20
refs/heads/main
2023-03-03T04:38:18.063845
2021-02-13T17:03:45
2021-02-13T17:03:45
338,616,140
0
0
null
null
null
null
UTF-8
R
false
false
384
r
analyze.r
inFile <- read.csv(file.choose(),header=FALSE,sep=",") # file with info outFile <- file.choose() # file to deposit summary close(file(outFile, open="w")) # erasing all content in file for (var in 1:(7*17)) { avg <- mean(inFile[,var]) ci <- 1.96 * sd(inFile[,var]) / sqrt(nrow(inFile)) cat(paste(avg,avg...
d4ab6e5b7367b70bf8442b9e164aec8bfd119c61
a5ebc917557b5a8a1a889859befe1d31b20b408c
/man/tr2g_fasta.Rd
fd82f9576eeb95f60dca03d08ae23536801dac40
[ "BSD-2-Clause" ]
permissive
BUStools/BUSpaRse
f81e246ca905ace2bd947958f0235222e4a6c10f
5b23c9b609ea20259110eb2592720a6019751a90
refs/heads/master
2022-09-19T15:48:26.420285
2022-04-26T15:58:37
2022-04-26T15:58:37
161,709,230
7
2
BSD-2-Clause
2020-04-24T05:45:14
2018-12-14T00:04:47
R
UTF-8
R
false
true
5,338
rd
tr2g_fasta.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/tr2g.R \name{tr2g_fasta} \alias{tr2g_fasta} \title{Get transcript and gene info from names in FASTA files} \usage{ tr2g_fasta( file, out_path = ".", write_tr2g = TRUE, use_gene_name = TRUE, use_transcript_version = TRUE, use_gene_...
ed6bbc1b3ea6a99cc9af290124a5d8da3a1ed872
625ababd193e2c3ff77081ab0a3640aca26fa7bf
/IntroductiontoLinearModels/CalculationofLinearModels.R
5c3585dfa570fef747692309c10250f8b35c1291
[]
no_license
AndrewS622/Data-Analysis-for-the-Life-Sciences
2121db45368efb0e51c31b3688f20ed556c22518
7aec64fca87c22b07b86a9002358617c55973917
refs/heads/master
2022-12-05T18:10:42.885403
2020-09-02T00:24:47
2020-09-02T00:24:47
282,118,076
0
0
null
null
null
null
UTF-8
R
false
false
1,728
r
CalculationofLinearModels.R
## Collinearity sex <- factor(rep(c("female","male"), each=4)) trt <- factor(c("A", "A", "B", "B", "C", "C", "D", "D")) X <- model.matrix(~ sex + trt) # matrix is not full rank --> collinear c(paste("rank = ", qr(X)$rank), paste("nrow = ", nrow(X))) # outcome observed Y <- 1:8 # Fix two coefficients by subt...
84314ee10c678fd912ee751863172afbc69255b7
27e0500a35d8d3980bfea03363de0a53f4c50314
/plotlyflowdataviewer v-2.R
388cae017e932e42cace5b176d9f87148dde9627
[]
no_license
ecprich/flowing-water
991ca3c070b42cb45c1132ad4c334bc5b456e4c2
189871150b6bff70dd6474ba5e6a1eea4d3a97d8
refs/heads/master
2020-04-22T17:07:29.750507
2019-02-13T15:25:57
2019-02-13T15:25:57
170,530,105
0
0
null
null
null
null
UTF-8
R
false
false
2,638
r
plotlyflowdataviewer v-2.R
# make sure all these library("packages") are installed on your machine library(RODBC) library(BESdata) library(plotly) library(dplyr) library(lubridate) library(bindrcpp) # pull the rain data with the date range you want first rain.start <- as.Date("2018-09-27") #starting date for flow and rain data rain.en...
3f1198d53500e264468b98f3d6f3cc9efb0b1109
9e0e911074a02d773632016c1f20be21639e94fa
/man/sstr.Rd
255fe25812cc4af4aa6309569e7604748bec1bd8
[ "MIT" ]
permissive
mmuurr/zzz
4ce5b6d7f38eca0c6651f6b8ab7632348ec8fa55
9489289d1c1feac374784ff7c806a33f16c26302
refs/heads/master
2019-08-28T00:32:48.803114
2018-05-09T21:52:49
2018-05-09T21:52:49
57,738,462
0
0
null
null
null
null
UTF-8
R
false
true
697
rd
sstr.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/str.R \name{sstr} \alias{sstr} \title{Object structure string.} \usage{ sstr(obj, ..., .name = FALSE, .newline = FALSE) } \arguments{ \item{obj}{Any R object.} \item{...}{Arguments passed on to \code{\link[utils]{str}}.} \item{.name}{Provid...
c198feeda861c18d550a75a95681dcc85f17cd7b
f160f4532d41201a9ca0849bd1b1527070487eda
/Code/figures.R
d0746b51446633648993cfc3793018fff79ec27c
[]
no_license
rwrandles/freexp
f8185a0f115125490c0febb0dd6efefea14cd937
570de2e55788000314d8dc6da2350f51988ea0e0
refs/heads/master
2020-07-04T09:51:58.161133
2019-08-14T09:36:29
2019-08-14T09:36:29
202,247,025
0
0
null
null
null
null
UTF-8
R
false
false
17,572
r
figures.R
############################### ## Loading required packages ## ############################### library(ggplot2) ## contains functions for producing visualizations library(dplyr) ## contains functions for data cleaning/manipulation library(tidyr) ## contains functions for data cleaning/manipulation library(maps...
a9db1043ba706cec4dd96e8d766408cfb4fa023d
c7b21b8da05cd2066ac45bb86adbb3266501384c
/man/run.nomogram.Rd
e1adc8eb6b06b1798c153d2b2e5f81d65f6f639d
[ "MIT" ]
permissive
zhangkaicr/doRadiomics
1d68a14408773b9e30314d65c097a6e9a11c8cb5
458d38aacbebf646cb8588be780ef2c6026fde0c
refs/heads/main
2023-03-22T00:19:13.636809
2021-03-09T04:17:20
2021-03-09T04:17:20
null
0
0
null
null
null
null
UTF-8
R
false
true
346
rd
run.nomogram.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/Class_definition.R \name{run.nomogram} \alias{run.nomogram} \title{Train nomogram model} \usage{ run.nomogram(x, dt) } \arguments{ \item{x}{a nomogram object} \item{dt}{the training dataset} } \value{ an updated nomogram object } \descriptio...
d84d17b74cf1a078cb8cb12c9e75ab1456a52c44
d94ded7d1a3a0a89a809962dc3e4239f03ab429b
/R/Package_Documentation.R
f2caae9e904331ad35d85748c319a803a47b747f
[]
no_license
paulstillman/GERGM
4a9a7d999ca9fec0cfb26ad82e9cffd34dc37ec0
01c3d20249f999b422b7fe04c86f09cf05c8415c
refs/heads/master
2021-01-12T17:48:24.303688
2016-09-19T00:53:56
2016-09-19T00:53:56
null
0
0
null
null
null
null
UTF-8
R
false
false
2,069
r
Package_Documentation.R
#' GERGM: Generalized Exponential Random Graph Model #' #' @section GERGM functions: #' To use this package, first load in the network you wish to use as a (square) #' matrix, following the example provided below. You may then use the gergm() #' function to estimate a model using any combination of the following statis...
d03e6fb98cc21dd3607ca4b20a306dc84685d2ac
c900792007ef419990fb6ef194cfd9edf14f7e9c
/tests/testthat/test-database_path.R
24229f71bf5b85ff4f94323546f0d14fb0818fba
[]
no_license
ybkamaleri/boligfinn
1e6c01eb00a11ad15e9b5967ebd4ec58987e5cef
02833b372448b8268cf49a746508442bc0a4e9a9
refs/heads/master
2021-02-13T20:06:06.835470
2020-06-18T21:10:07
2020-06-18T21:10:07
244,728,060
6
0
null
2020-04-28T21:44:43
2020-03-03T19:52:01
R
UTF-8
R
false
false
243
r
test-database_path.R
test_that("Path to database", { if (.Platform$OS.type == "windows"){ dirLocal <- "C:/boligfinn" } else { dirLocal <- "~/boligfinn" } sti <- paste(dirLocal, "boligfinn.sqlite", sep = "/") expect_identical(path_db(), sti) })
a09d5074c98917a9e544ae83d6955e737bc4f7ef
8ffe7592ffce7fe0a36515e23fdf889d09f076a3
/R/auc_aupr.R
f7e0d3d6e124889dc7212c4105db7ed047595784
[]
no_license
Auroraywood/misc
880a8522b2d87d893d2d1182696bcf9825f324e0
dfc576b534bc1a50f30f20060bea3d489cee249c
refs/heads/master
2022-01-06T11:16:45.177921
2019-05-09T07:38:48
2019-05-09T07:38:48
null
0
0
null
null
null
null
UTF-8
R
false
false
1,577
r
auc_aupr.R
# compute auc of single file library(PRROC) # fg: vector of postive prob; bg: vector of negative prob; # roc <- roc.curve(scores.class0 = fg, scores.class1 = bg, curve = T) # roc$auc # pr <- pr.curve(scores.class0 = fg, scores.class1 = bg, curve = T) # pr$auc.davis.goadrich ## function of compute auc auc <- functio...
75c850dc582d237c88ed775af199c5c4e14f7ccb
9a6ca52a3152fe631597d7d2f44b6e1c91f6aa63
/global.R
495ca9046f41ff06b43be38300844525565e7a56
[]
no_license
dnaxy/Airline-On-Time-Statistics-and-Delay-Causes
12460e3372c658d807388d8001b50ac1aee27168
1d1cde355bbac829c9ba4646b8e137e6aa8fe78b
refs/heads/master
2021-01-18T19:10:23.066911
2017-04-01T07:01:00
2017-04-01T07:01:00
86,891,016
0
0
null
null
null
null
UTF-8
R
false
false
951
r
global.R
# load required library library(DBI) library(RPostgreSQL) library(dplyr) # DB connection flights.db <- src_postgres( dbname = "joe_db", host = "localhost", port = 5432, user = "joe", password = "test" ) # after test with the data come from 1 month, 3 month, the whole 12 month, # choose the 3 mont...
cd61143a9789eba2e87c454dbe56f924b4c31646
e667d89c3a081edd7a1284b652d97688ef603a80
/R Programming/Excercice 2/plot1.R
1ac6563cf3299febaf5f2592f92c36a2f6d8dce6
[]
no_license
fabianoal/My-Coursera-Data-Science-Projects
2d15b8a1148df478e35bd7c06396bafa64595bc7
b118e02ed26bc920e6f68bc7db6513ac812fe531
refs/heads/master
2021-01-01T05:51:12.904670
2016-01-24T15:00:59
2016-01-24T15:00:59
40,630,138
0
0
null
null
null
null
UTF-8
R
false
false
1,778
r
plot1.R
#For this to work, just put the file household_power_consumption.txt on #the same directory as this script, and hit "source"... print("Starting script. Cleaning the environment...") remove(list = ls()) #Setting the work directory for the directory where the script was open from. setwd("/Users/fabianoal/Documents/Cour...
5ea90fce760be96924385ac38d23bb0ddb172498
9f665364a2fd7b211699bb89b55951dd6125a2f8
/R/sthdScrapiInput.R
fb78c225c37a369cb4fccdf509d8585129e0353e
[]
no_license
lawrykatherine/SCOBI
b9c0ca3fa44b771ec46456c8a29e94bf6db42618
7a3346d2a25df7e5f8eb85c1a1be70250d1b8d41
refs/heads/master
2020-08-06T07:47:49.988629
2019-07-17T23:29:20
2019-07-17T23:29:20
null
0
0
null
null
null
null
UTF-8
R
false
false
387
r
sthdScrapiInput.R
#' @title Steelhead Smolt Data from LGTrappingDB formatted for SCRAPI #' #' @description This is a steelhead smolt data set from MY2015 that has already been formatted for \code{SCRAPI()}. #' @name sthdScrapiInput #' @docType data #' @usage sthdScrapiInput #' @format Data is formatted and ready for \code{SCRAPI()}. Ori...
b85f93683575a81608177d521a98ebce7e63bb70
13ddcf944e06e15de7936dbd68346053e6fc793c
/R/calcPredictionError.R
5341c30667d803a15801284154e2830db16378e2
[]
no_license
cran/mlegp
e9049cf9e5080e6b744050bad12c184f94f774c1
48bc5f5814bfcdb42b06cd3258f3e5c72607108e
refs/heads/master
2023-04-14T16:23:34.570025
2022-03-10T12:40:02
2022-03-10T12:40:02
17,697,577
2
0
null
null
null
null
UTF-8
R
false
false
238
r
calcPredictionError.R
`calcPredictionError` <- function(gp, newData, nugget = 0) { r = calcCorOneObs(gp$X, gp$beta, gp$a, newData) v = gp$sig2 + nugget - gp$sig2*r%*%gp$invVarMatrix%*%t(r)*gp$sig2 if (v < 0) return (0) return (sqrt(v)) }
f10b7e8f8baea3b128f76b44319d937f48879630
7cf99de143882e9013238c053d0503eb96c3bfd2
/R/calc_dose.R
40fecbfb4731a98ac5c4ab77358a2c66162c0557
[]
no_license
jgrevel/BAST1-R-Library
f2df669dfe45bc783b7df45afc01b519b48e3a8e
636034254f97c7368ba2434d334ed1f84e1aafb3
refs/heads/master
2020-04-11T04:21:43.244917
2018-12-12T15:49:33
2018-12-12T15:49:33
161,495,141
0
0
null
null
null
null
UTF-8
R
false
false
5,144
r
calc_dose.R
#' Calculates most recent DOSE size for a NONMEM data file. #' #' Calculates size of most recent dose for any NONMEM file that contains dosing records. #' #' @author Rupert Austin #' @param data data frame containing data in NONMEM format. #' @param ID_col name of column containing patient IDs. #' @param TIME_co...
b3b175cf35f17c49e38a25ff6954daf502613f7d
624725876409f179d3bab0bf26250b600b760a45
/man/turb.iec.plot.Rd
89731b4cfb307b17534f8e20878e322fca012fc2
[]
no_license
paulponcet/bReeze
a05fe65ac651a2e9a8e3f17f7fe275a1cca9e1b2
b03c144efbb93c17b7464a760bbf49877c710cb3
refs/heads/master
2021-01-16T00:22:13.632582
2017-01-07T21:08:06
2017-01-07T21:08:06
78,894,730
2
0
null
2017-01-13T23:25:22
2017-01-13T23:25:22
null
UTF-8
R
false
false
6,496
rd
turb.iec.plot.Rd
\encoding{UTF-8} \name{turb.iec.plot} \alias{turb.iec.plot} \alias{iec} \title{Plot turbulence intensity site classification} \description{Plots the turbulence intensity and site classification after IEC.} \usage{ turb.iec.plot(mast, set, subset, ...) iec(mast, set, subset, ...) } \arguments{ \item{mast}{Met mast obj...
3b2c5e2b7374b89cadb9787262274f0de34ddd81
779130a18c03edcca3c3a684146a1644222156b5
/R/RcppExports.R
47eb7e431d67890ef24d393f1782e87e833fa9db
[ "MIT" ]
permissive
washingtonquintero/GarchMidas
7aff6fdd0ae045e5947f7ecffccf8ebb8211c098
5439b54e133ce88f5613ccfe7e0f591c57223595
refs/heads/master
2023-03-15T15:31:12.931891
2019-10-02T04:27:45
2019-10-02T04:27:45
null
0
0
null
null
null
null
UTF-8
R
false
false
443
r
RcppExports.R
# Generated by using Rcpp::compileAttributes() -> do not edit by hand # Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393 calculate_g <- function(omega, alpha, beta, gamma, returns, g0) { .Call('_GarchMidas_calculate_g', PACKAGE = 'GarchMidas', omega, alpha, beta, gamma, returns, g0) } sum_tau <- function(m, ...
b4924a44560ea9ad88c4ea8685ed2010f19997ad
f6401021b5655bf14acba25664a389e0a2d024b5
/scripts/DataMunging/08_ExtractingPEAnames.R
273939eb84ea38dc7647040cdc82aa5b2cf76901
[]
no_license
JulietteArchambeau/HeightPinpinClonapin
56726076b40f274d1bfc4b4534382907cc41027b
8395f9b320665c8610a80ae0a4e396bbcb1e1616
refs/heads/master
2023-04-19T00:41:01.330853
2023-02-03T15:22:55
2023-02-03T15:22:55
254,827,204
0
0
null
null
null
null
UTF-8
R
false
false
3,191
r
08_ExtractingPEAnames.R
##################################################################################################################" ################## #######################" ################## Extracting rPEAs and gPEAs names ...
6bebff035d93d887b66e1796c37c7c30379c0465
ccdf80dd77137b4193c74270f375a26a9b6bd2cd
/Gene_base_analysis.R
c739b86a426c0b43290b65609f584e4efcf2ba05
[]
no_license
hameddashti/somatic
11387192e041ace909d4e42a46da5e537a52c2bc
d8718a6fa88cdfabc721cce30601a962b43d1ba1
refs/heads/master
2021-04-30T15:07:22.436552
2018-02-26T17:41:56
2018-02-26T17:41:56
121,232,133
0
0
null
null
null
null
UTF-8
R
false
false
3,946
r
Gene_base_analysis.R
{ library(BSgenome.Hsapiens.UCSC.hg19) library(SomaticSignatures) library(GenomicRanges) library(readr) library(ggplot2) library(dplyr) library(VariantAnnotation) library(tidyr) library(csv) library(readxl) } b<-'Brain' inputfile <- paste0('/home/san/halinejad/Desktop/Masroor...
4ff02b2b373ace20b7d654f2abdf83f8d7379955
2e5c75ecabf2785c83da261b6d10b62eef3f21eb
/Peer-graded Assignment- Getting and Cleaning Data Course Project/run_analysis.R
015d16a0ba9a3ed969b120e4dd29ce547afcff79
[]
no_license
chimizo/datasciencecoursera
008bd55e3dfa63f8e57f5a572fc4e5286ff0327e
1da16d1c040408659666597e20a5d85430367a17
refs/heads/master
2021-01-21T22:34:41.436691
2017-11-05T21:40:14
2017-11-05T21:40:14
102,160,423
0
0
null
null
null
null
UTF-8
R
false
false
2,488
r
run_analysis.R
#You should create one R script called run_analysis.R that does the following. # 1. Merges the training and the test sets to create one data set. # 2. Extracts only the measurements on the mean and standard deviation for each measurement. # 3. Uses descriptive activity names to name the activities in the data set ...
aebf90c42ae09da07d809d5014053753e12c1851
df36258042863fa8de9c563d7ec6e2927ee83ca6
/lib/AnimalFeature.R
7b05cb800e8d0c0b4f05892ce55e08cf3ee0d02a
[]
no_license
bz2290/Spr2017-proj5-grp8
ac36ac44776fb39a878a491f424590c39642db55
6575ba02db1ac3e0fb0082c6f94c1ea912689db5
refs/heads/master
2021-06-14T05:08:26.832566
2017-04-28T17:15:44
2017-04-28T17:15:44
null
0
0
null
null
null
null
UTF-8
R
false
false
924
r
AnimalFeature.R
#setwd("../doc") AnimalFeature = function(description_vector, title_vector) { library(Hmisc) animal_list_filename = "../data/animals.txt" animal_df = as.character(read.delim(animal_list_filename, header=FALSE, sep = "\n")[,1]) animal_df = tolower(animal_df) animal_df = append(animal_df, capitalize(animal_df...
9e9727e3642efdb235c29554ced540715c937439
7189a65f956a85e74157c37253b087e0cb1835da
/R/GENERAL/integral_x^n_exp(ax).R
d80bce251b313e0c6bff45af60fbb7da73eccef9
[]
no_license
maxbiostat/CODE
22b4a16dd55377cfdfbfe5a658a51032ae4722ef
bbfa7bde29ccde58f16db5381ec14655afc66032
refs/heads/master
2023-02-07T13:25:46.533953
2023-01-26T15:20:36
2023-01-26T15:20:36
20,405,024
1
2
null
null
null
null
UTF-8
R
false
false
495
r
integral_x^n_exp(ax).R
f1 <- function(x, n, a) x^n * exp(a*x) f2 <- function(x, n, a) x^{n-1} * exp(a*x) sol1 <- function(x, n, a) (x^n * exp(a*x))/a - (n/a) * integrate(f2, n = n, a = a, 0, Inf)$value # analytic solution given by Gradshteyn & Ryzhik # works for every a<0 sol2 <- function(n, a) gamma(n+1) * (1/a)^{n+1} # simply rec...
1bf1211c8de38ebe9b11be35f42a3095ee0ccfc7
5ddea1ad62a397deee8f8e348afbce631d5417ac
/man/quiz_clean_drive.Rd
5e0bd8e34be9e4093f3578c1fab7cffbd7803af0
[ "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
453
rd
quiz_clean_drive.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/answer_sheets.R \name{quiz_clean_drive} \alias{quiz_clean_drive} \title{Deletes the answer sheets} \usage{ quiz_clean_drive(quiz = getOption("peRson.quiz")) } \arguments{ \item{quiz}{Quiz environment with quiz variables.} } \value{ No result,...
8d49959f1482c5d83ef5be6c17d65a695a0f25d0
dea77147a8d60f99afc2740b3184a88f889032b0
/R/deblank.R
4dc971f275c1b3e061038362a25adae5cc06ce42
[]
no_license
cran/ProfessR
98834f2043512110249f53996d45ad40d552b8f5
ddfb2f35ad46fb4a648ba32ca57f7e524c87e157
refs/heads/master
2020-04-20T19:45:41.076089
2019-09-23T10:20:02
2019-09-23T10:20:02
17,713,804
0
1
null
null
null
null
UTF-8
R
false
false
234
r
deblank.R
deblank<-function(a) { b = a for(i in 1:length(a) ) { h = unlist( strsplit(a[i], split='') ) b[i] = paste(h[h!=' '], collapse='') } return( b) }
ad4560157e8621ae46ac1bcd6d67fc6d558b74c5
8b61baaf434ac01887c7de451078d4d618db77e2
/man/is.url.Rd
049119d5059dcd63712d8ec8658ffab60edb8fd3
[]
no_license
drmjc/mjcbase
d5c6100b6f2586f179ad3fc0acb07e2f26f5f517
96f707d07c0a473f97fd70ff1ff8053f34fa6488
refs/heads/master
2020-05-29T19:36:53.961692
2017-01-17T10:54:00
2017-01-17T10:54:00
12,447,080
3
1
null
null
null
null
UTF-8
R
false
true
481
rd
is.url.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/is.url.R \name{is.url} \alias{is.url} \title{Which entries are URL's.} \usage{ is.url(x) } \arguments{ \item{x}{a character vector.} } \value{ a logical vector of length x. values are TRUE if the entry looks like a URL. NB the URL's are not...
212a452f65dc778f9860cb46c52db4584ced920f
e05660d01c88dce798659c9e2dc2b47e45545cd4
/R/correlate.R
0298df81ef5c565b8f8e4d2efd37c18a91f7df5c
[]
no_license
nickilott/NGSKit
22718b22784cc85060e7a0c490cc09644f3724d9
7a22c372685d54c9e61e32bd49007dd263c53839
refs/heads/master
2021-07-11T23:01:33.764197
2020-06-04T21:57:20
2020-06-04T21:57:20
129,386,003
0
1
null
2020-04-03T10:16:27
2018-04-13T10:17:44
R
UTF-8
R
false
false
409
r
correlate.R
library(dplyr) correlateMatrixWithVector <- function(mat, vector, method="spearman"){ cors <- list() for (i in 1:nrow(mat)){ res <- cor.test(unlist(mat[i,]), vector, method=method) res <- data.frame(cor=res$estimate, p.value=res$p.value) cors[[i]] <- res } result <- bind_rows(cors) rownames(r...
22b36b3991ce45bf636a73297195ad985b639957
a8fb113cbe592a059d558a8f7b925a77ca510a0e
/R/cannon_get_data.R
8d83edd8f52b2b8883de29225e99cc24b9736ee2
[]
no_license
CannonCloud/coronavirus
7ab9fccfa54d512894bc223f2e899ad6b179bce9
01dd19339eb1fafe086174cc746eeca8790799d1
refs/heads/master
2021-03-26T17:14:06.509780
2020-03-16T14:36:32
2020-03-16T14:36:32
247,724,915
0
0
null
2020-03-16T14:34:19
2020-03-16T14:34:18
null
UTF-8
R
false
false
9,935
r
cannon_get_data.R
library(tidyverse) library(readr) library(dplyr) library(tidyr) library(lubridate) library(ggplot2) library(countrycode) library(magrittr) ########################################################## # Download Johns Hopkins CSSE Data from GitHub ########################################################## var_list <- li...
5b70eeb3048df50ddf2965e7b9fd7288fa7e3bd5
32ea541936d63a63d196ab2c338ca87d2c5ff0fb
/q1/plot1.R
b0d02ef6734c8dc35907d3d7f10433eb6e58b9d5
[]
no_license
mohiiieldin/Coursera-Explatory-Data-Analysis-project
d80cbc231a698994fc9b114a89236ebe25c0170e
85d97ba2daaacb8dc6e99dae25514a2424564a26
refs/heads/master
2020-07-14T03:57:43.248575
2019-08-29T20:00:22
2019-08-29T20:00:22
205,232,250
1
0
null
null
null
null
UTF-8
R
false
false
1,078
r
plot1.R
setwd("E:/Coursera data science specialization/4. Explatory data analysis/week4/project2") SCC <- readRDS("Source_Classification_Code.rds") #Source Classification Codr NEI <- readRDS("summarySCC_PM25.rds") #National Emissions Inventory library(dplyr) total_emmision_per_year <- NEI %>% group_by(year) %>% summarise(tot...
e223d7e7c61cb2c7972143ab0528fd4b7d3f44c2
6d07290565118ab94d32b101a8f0e0c200422cd8
/jug-master/man/simple_error_handler_json.Rd
7f01ac5b19fdd751a7f672d606551026cf7d7e4d
[ "MIT" ]
permissive
XWU-UT/Clustering_D3platform
0597294649b5a91bd7dd4b06645fa3182841f166
e79daa9a7b7582d168a6673d49d776d7b029a2f0
refs/heads/master
2020-12-17T07:05:57.731697
2020-01-28T13:48:36
2020-01-28T13:48:36
235,286,160
0
0
null
null
null
null
UTF-8
R
false
true
534
rd
simple_error_handler_json.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/middleware_error.R \name{simple_error_handler_json} \alias{simple_error_handler_json} \title{An error handler middleware which returns a error description in JSON format} \usage{ simple_error_handler_json(jug, path = NULL) } \arguments{ \item...
62fc17b9c0c88cf5c9dabb14e60bdd915909e7eb
ffdea92d4315e4363dd4ae673a1a6adf82a761b5
/data/genthat_extracted_code/PROSPER/examples/sel_herb.Rd.R
328fe04bc8b1633793f7eacca5f82456f245c05c
[]
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
320
r
sel_herb.Rd.R
library(PROSPER) ### Name: sel_herb ### Title: Surviving the herbicide ### Aliases: sel_herb ### ** Examples struc_preparation(Rmx=10, n_loci=2, epis=0, dom=1) gen_freq( af=c(0.01,0.8), n_seeds=10000) sel_herb(start="initialSB", result="winter", thresh=20, sdrate=0.4, rate=100, put=0.04)
72886c6259547a0dd8b61ba0e062d8d17a80ffbe
432cc53cc851c9130ec6d0f2ce6c6aee41f6c57e
/plot1.R
e6fef382c083ce44bd38ecea2021f75db4eb6644
[]
no_license
ramyasridharan5/ExData_Plotting1
1ae385131671c3c1c7a4481645dec8a8bd9c8928
6d8f3f23caea0a4d2d8b85a2b231ad178cee3a39
refs/heads/master
2020-04-14T00:53:51.439197
2018-12-30T07:09:31
2018-12-30T07:09:31
163,545,588
0
0
null
2018-12-29T22:36:20
2018-12-29T22:36:19
null
UTF-8
R
false
false
562
r
plot1.R
df<-read.table("household_power_consumption.txt", sep=";",header=TRUE, na.strings="?") df[,1] <- as.Date(df$Date, "%d/%m/%Y") d<-df df[,2]<- strptime(paste(df[,1], d$Time), "%d/%m/%Y %H:%M:%S") s<- subset(d, Date>="2007-02-01"& Date<="2007-02-02", select = c(names(d))) png(filename = "plot1.png", width=4...
fd651e14adfb72990c259995733e6ffbae56284b
e091c1711b087acdfdca9b84b7050d65cd7b8400
/man/att.Rd
2dfcff59a85ff1751cbfed49430f371f04008e34
[ "MIT" ]
permissive
pboesu/GenieR
ee1bfd256a1cb26b1b389a6c17f0af48cb5b0876
008d3a55cedd1dab6670b1100bbe220dd4d5271f
refs/heads/master
2020-03-07T10:12:14.443447
2018-01-09T13:38:59
2018-01-09T13:38:59
null
0
0
null
null
null
null
UTF-8
R
false
true
871
rd
att.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/att.R \name{att} \alias{att} \title{Sort out sampling times, coalescent times and sampling lineages from a phylogenetic tree} \usage{ att(phy, eps = 1e-06) } \arguments{ \item{phy}{A phylogenetic tree.} \item{eps}{Difference parameter to sep...
9878ccdf64d45cb38fd2aa5d4c3e5489009f3771
3eefcbaa7faaff48f1335a3a3e4dc56e114c1ab0
/revision_probaDiffMatchedPairs.R
7b789f5b95e0b61c618526c808f09c02c649b134
[]
no_license
marzuf/v2_Yuanlong_Cancer_HiC_data_TAD_DA
9a435c08a9064d127a86d9909042bb4ff59ad82d
e33a0683ac7a9afe21cfec06320c82251d3ba0d5
refs/heads/master
2021-06-16T15:57:30.182879
2021-05-18T08:36:44
2021-05-18T08:36:44
202,159,949
0
0
null
null
null
null
UTF-8
R
false
false
8,888
r
revision_probaDiffMatchedPairs.R
outFolder <- file.path("REVISION_PROBADIFFMATCHEDPAIRS_CORRECTED") dir.create(outFolder, recursive = TRUE) all_inter_intra1_dt <- get(load("REVISION_INTER_INTRA_PROBA_CORRECTED/all_inter_intra_dt.Rdata")) all_inter_intra2_dt <- get(load("REVISION_INTER_INTRA_PROBA2_CORRECTED/all_inter_intra_dt.Rdata")) # outFolder <-...
e5983834ca50f738be5a0de558b995550c14444a
f0454bfe7f3cf48ed64ddd3a7dd1b3defdf742ed
/man/ukb_gen_samples_to_remove.Rd
f65d92dfb2c290a1b4ddbd539cc6190923d62401
[]
no_license
kenhanscombe/ukbtools
96cd9f42a8d9210979dd0c73080e788af776fd7d
d0e3248eae12429b4dbc2c278960367df19a3511
refs/heads/master
2023-03-12T18:54:43.822541
2023-02-22T09:47:39
2023-02-22T09:47:39
82,282,787
82
19
null
2020-06-22T21:05:18
2017-02-17T09:53:22
R
UTF-8
R
false
true
2,970
rd
ukb_gen_samples_to_remove.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/genetics_qc.R \name{ukb_gen_samples_to_remove} \alias{ukb_gen_samples_to_remove} \title{Related samples (with data on the variable of interest) to remove} \usage{ ukb_gen_samples_to_remove(data, ukb_with_data, cutoff = 0.0884) } \arguments{ \...
ee5fc020b9eb358d27c59a23ed8cc5d22684fbc1
e5b89b428ccda56241171ac3cdae9a1dbbb462e4
/solve.QP.R
1fee897911e12d40227d6bcc729917810bc40d81
[]
no_license
hankHeish/TSSCO
7dff6a8296cd5a824cbf80be3a1eab8e94b73703
9d73611f76dc03377e0c54b11a9322a5fcecbfec
refs/heads/master
2021-01-19T07:15:18.881522
2020-05-01T15:34:57
2020-05-01T15:34:57
87,529,139
0
1
null
null
null
null
UTF-8
R
false
false
6,551
r
solve.QP.R
#Statistics and Data Analysis for Financial Engineering #Chapter 16: Portfolio Selection library(Ecdat) library(quadprog) library(lpSolve) library(linprog) #16.6 Risk-Efficiency Portfolios with N Risky Asstes data(CRSPday) R <- 100 * CRSPday[, 4:6] mean_vect <- apply(R, 2, mean) cov_vect <- cov(R) sd_vect <- sqrt(dia...
a4244121aff58828d50629b1faf6fdfcb791ff9c
e0dacb4e31dab0928e139ee0904bb87a1c860e3f
/ReadProcessData.R
8bd2e9be1a3569e394f6351cddc616dbe37d13b0
[]
no_license
cuict/Schlegel_et_al_core_analysis
47e1d19a43f3a0889584ddf21c5ef5a715558f30
d349c8dbb92c4285e699c05b69f38826f0f261bd
refs/heads/main
2023-05-14T17:06:09.476817
2021-05-30T21:12:18
2021-05-30T21:12:18
null
0
0
null
null
null
null
UTF-8
R
false
false
4,159
r
ReadProcessData.R
library(Seurat) library(dplyr) library(SingleR) setSeurat <- function(dirpath, name, projectName){ name.data <- Read10X(data.dir = dirpath) name <- CreateSeuratObject(raw.data = name.data, project = projectName, min.cells = 3, min.genes = 200) name@meta.data$expt <- projectName name.mito <- grep(pattern = "mt-"...
bb6c2b13fac1159423c2ff67978b3d7c7bb12868
de8af7e9fc82c2ff647d74a2b2b150ba7db9b7f6
/man/download_sra_db.Rd
98709d4a2957a7b4ad2902f0ddc8204a16cf0c46
[]
no_license
joseah/srametadata
ccb5e21cbb5fc5d1708a16c018167ac5df317795
c991bb111ef6373cc446dcf05da96a52341f1d15
refs/heads/master
2021-01-10T09:20:37.679671
2015-06-05T04:02:58
2015-06-05T04:02:58
36,451,082
0
0
null
null
null
null
UTF-8
R
false
false
674
rd
download_sra_db.Rd
% Generated by roxygen2 (4.1.1): do not edit by hand % Please edit documentation in R/download_sra_db.R \name{download_sra_db} \alias{download_sra_db} \title{Download SRA metadata database} \usage{ download_sra_db(file.name = "SRAmetadb.sqlite", path = getwd(), method = "auto") } \arguments{ \item{file.name}{File nam...
a82954b90cd7464433c51b479e64705cfa7705fc
d9a4dce87b2975f3242e722955e69e221057b034
/R/cleanup.R
0fcd088925b49b9507ceeac881bddca7cd6af431
[]
no_license
JoeLugo-zz/Classification
63d4e19b91546712b2d7e8155ed4b92ab73b5215
4772d055c177c7c6797d5cec50d6df15b7e80000
refs/heads/master
2022-11-04T08:12:39.271258
2017-02-01T04:02:19
2017-02-01T04:02:19
null
0
0
null
null
null
null
UTF-8
R
false
false
12,593
r
cleanup.R
library(MASS) library(class) library(plyr) library(reshape2) library(dplyr) library(tidyr) library(chron) library(caret) library(e1071) library(gbm) library(MLmetrics) library(randomForest) library(foreach) library(parallel) library(doParallel) library(nnet) library(RCurl) set.seed(1017) TRAIN_DATA_PATH="/Users/joseph...
401b10381236dbb0c215c7d526c143d9df599fa3
b299b0ab63c24534198ba671b4eb63a23c4e6c60
/man/cell_ids.Rd
65e46a696c604deb1b2a5fa17ba31754fb0a990d
[]
no_license
kueckelj/celltracer
a94bfd97075b8128b5b2871b65f6a22a161c68ac
1cb3def126ea685f88ed2d785a0f0ab882535af5
refs/heads/master
2023-05-02T22:53:20.531195
2021-05-29T08:58:00
2021-05-29T08:58:00
303,118,630
0
0
null
null
null
null
UTF-8
R
false
true
289
rd
cell_ids.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/documentation-dummies.R \name{cell_ids} \alias{cell_ids} \title{cell_ids} \usage{ cell_ids(cell_ids) } \arguments{ \item{cell_ids}{Character vector. Denotes the cell ids of interest.} } \description{ cell_ids }
ae9329c3905790ce15d27ef1d925aaf822cd6030
1f2473c8b6693efd1edc9cdcb37c967903dacb97
/plot3.R
66d565fb678ba47b2da5d0f51f246c46cee993c7
[]
no_license
jromania-sykes/ExData_Plotting1
07f8390e431e8373fa791aac34f94d47963b9401
bd9636edf861f65cebf0bffc3017c185cbdc3713
refs/heads/master
2021-01-18T05:22:35.795252
2015-08-08T04:13:55
2015-08-08T04:13:55
40,377,704
0
0
null
2015-08-07T19:35:18
2015-08-07T19:35:17
null
UTF-8
R
false
false
1,016
r
plot3.R
plot3<-function(){ # preprocess file with grep to only bring in data for days we will use df<-read.csv(pipe('grep ^[12]/2/2007 household_power_consumption.txt'),sep=';') # set column names colnames(df)<-c('Date','Time','Global_active_power','Global_reactive_power','Voltage','Global_intensity','Sub_mete...
9e769b8dc7b35c8f935a379e7f242e80bb4c9e13
f300f25414e56879874f8540e00382517a44d78f
/inst/simulations/simulation_analysis.R
e2ff6af19ec74ae36ff81735fd4eb9c01b1ac7c1
[]
no_license
robertsy/assimilr
c9e266a64dd20a7df55c1cef60e37a860cd3b349
0eb77afe8ca79274285c8ae7d659f429155c8041
refs/heads/master
2021-01-12T05:52:23.288713
2017-07-07T13:49:33
2017-07-07T13:49:36
77,225,544
4
2
null
null
null
null
UTF-8
R
false
false
6,844
r
simulation_analysis.R
## final experiments analysis for paper ## analyse of high frequency and low-frequency experiments for paper library(RColorBrewer) library(ggthemes) # tikz_flag <- TRUE mainpath <- 'inst/simulations/figures/' mlatex <- c('BLOCK-LEnKPF', 'NAIVE-LEnKPF', 'LEnKF') crps_n <- 'CRPS' # load simulation results ---------...
f6f0c63f4fa9c2a32e05451102bb8e69e247a999
1ae370c92d271056fa8947dcf2ed36adbb88543c
/R/blockrandfast.r
3b0355f6acb4783f5a925f5fb72c0924ab7eee00
[]
no_license
keaven/nphsim
ee007d737b24809931410acc226c24446132548d
b91a716ada4ddd1aee84bc30ab3b7d84112826bd
refs/heads/master
2021-01-20T14:47:57.223459
2020-05-21T16:07:25
2020-05-21T16:07:25
90,663,939
21
10
null
2020-05-21T16:07:27
2017-05-08T19:16:51
R
UTF-8
R
false
false
701
r
blockrandfast.r
blockrandfast <- function(n, num.lebvels=2, levels=c("Control","Experimental"), block.size=1) { block.num<-ceiling(n/block.size/length(levels)) #number of blocks block.length<-length(levels)*block.size #Length of each block block.content<-rep(levels,block.size) # block content trt, contro...
badf5dd2be03047fd74a745eba180bc4daea0621
1b99784e6090d80356bfa7d7e261078e35281dc3
/overall plots zoom.R
22dcd49305d8259df99644731c239b7d76541ef5
[]
no_license
ChanJeunlam/Last-Glacial-Maximum
790cfabef011dfd273896853ec94c51ea48104ee
d2ef54a9cb3fad3c87f31309bb693e5d616a75ea
refs/heads/main
2023-04-19T13:52:50.473483
2021-05-11T15:31:36
2021-05-11T15:31:36
null
0
0
null
null
null
null
UTF-8
R
false
false
13,063
r
overall plots zoom.R
#Conf plotting LGM library(raster) library(foreign) ############# plots library(plotrix) library(raster) library(MASS) library(audio) library(sp) library(foreign) library(rgdal) library(maptools) library(rgeos) library(doParallel) library(rasterVis) library(dismo) library(plotKML) library(SDMTools...
1021549c92a6a8f2169c1eca1f1b30877a9900dd
f36a0e00e552abfe2e8dd82bf3ec67cbafc10b7d
/cachematrix.R
c8878150dd26c7e4b8ea448b528ce4ff978efc7a
[]
no_license
LMT337/ProgrammingAssignment2
5b2126056c4dc8a2156dcb558d22143def3b5242
1712fa11c82b509e29ef86cbe5cfc90aac567371
refs/heads/master
2021-01-14T14:28:18.225384
2015-11-21T17:03:32
2015-11-21T17:03:32
46,380,445
0
0
null
2015-11-17T22:48:46
2015-11-17T22:48:45
null
UTF-8
R
false
false
2,536
r
cachematrix.R
#code uses the framework of the makeVector and cachemean examples to complete the #Caching the Inverse of a Matrix assignment. #elements of those examples were changed to complete the assignment otherwise everything is #exactly the same as original example code. #makeCacheMatrix: This function creates a special "matri...
1da834ae2a0dee06aa63da5ee125a2d437df8a32
122b7034f73d20fe3eda07a587239b114da49d14
/monte_carlo_option_pricing.R
57a0690e4c2210560d72f21532b3f1719abd0c71
[]
no_license
ozadabuk/monte-carlo-option-pricing
d72be0dc4c03630210e4884f697051d2ce68159a
d005b599c1bb3b2d4c2feb517cd4519010423b9e
refs/heads/master
2023-02-13T13:07:44.013176
2021-01-09T06:20:15
2021-01-09T06:20:15
328,087,424
0
0
null
null
null
null
UTF-8
R
false
false
3,356
r
monte_carlo_option_pricing.R
library(pracma) tic() # X ~ N(0, 1) # r(t) <- r(t-1) + 0.18 * (0.086 - r(t-1)) * delta + 0.02 * sqrt(delta) * X r_path<-function(n){ X <- matrix(rnorm(n*d, 0, 1),nrow=n) r_t <- rep(0.07, n) r <- matrix(r_t) for(i in 2:d){ r_t <- r_t + 0.18 * (0.086 - r_t) * delta + 0.02 * sqrt(delta) * X[,i] r <- cbind...
2498af7ae92f9f83c129b7d03a96c21831d7f563
522685c66aae28b1579148a9c99fd77b013f2498
/Voter Files/NC/NC_EarlyVoteStats.R
88f315fa09dc14b9bd7221921607221b210fe953
[]
no_license
mcdisc/UF-Election-Sciences
eb49220341c1814eb4a5384619d588f144aa10ad
dd0a144172dba64dde016a6997bc8f11ea3905b7
refs/heads/master
2021-04-19T02:51:48.606226
2017-10-03T01:32:11
2017-10-03T01:32:11
50,298,295
20
2
null
null
null
null
UTF-8
R
false
false
3,087
r
NC_EarlyVoteStats.R
library(dplyr) library(data.table) library(magrittr) library(tidyr) NC2017hisall <- fread('/Users/Potalora/Downloads/ncvhis_Statewide.txt') NC2017votfile <- fread('/Users/Potalora/Downloads/ncvoter_Statewide-2.txt') NC2018hisallless <- subset(NC2017hisall, select = -c(1, 4, 7, 9, 13, 14)) NC2017less <- subset(NC2017v...
13f8a2cf5acdb2623afa56cfb01aa3f2caae1c7a
f42d9d77c06cff51b4a628a49ce3be7a2d0633e9
/man/wleRelFromRes.rd
8056e617d2b4513a9cb02c48f663a1837cf68b6b
[]
no_license
weirichs/eatModel
131af527d3ee28d1339e2d2cc2cc1a49a0ecfd33
008cb8b51986d8d4c29fe2e474a15a979625ff4f
refs/heads/master
2023-08-17T15:56:19.829254
2023-08-01T21:49:37
2023-08-01T21:49:37
155,389,798
0
0
null
null
null
null
UTF-8
R
false
false
740
rd
wleRelFromRes.rd
\name{wleRelFromRes} \alias{wleRelFromRes} %- Also NEED an '\alias' for EACH other topic documented here. \title{Gives WLE reliability from the object returned by getResults()} \description{WLE reliability in a data frame. } \usage{ wleRelFromRes(resultsObj)} %- maybe also 'usage' for other objects documented he...
796ec3338027f18ff3a7be4fffd351da79d0c888
c98cabd9038d9129c4d9a6ff194ec9958f247743
/proyecto final/facebook.R
38d32e4929b835239a97782c4509a62a69107746
[]
no_license
davidandresvalles/MCPP_david.valles
4fc6d31c7d0af4e6937fbb6de6037a13c1aa434d
689e02a9031f2225c3501ba91fa76e82bc33f1ad
refs/heads/master
2021-07-14T21:30:00.512879
2017-05-26T10:00:25
2017-05-26T10:00:25
80,293,020
0
0
null
null
null
null
WINDOWS-1250
R
false
false
9,515
r
facebook.R
library(devtools) install_github("pablobarbera/Rfacebook/Rfacebook") install.packages("Rfacebook") library(Rfacebook) token <- 'EAACEdEose0cBAE1ZAZB293ZAMGEyrMuwOjE3RMGKi4rr4sTR2hhFZBUZBxPk9npWe7XDNXZBZBHrJqmBLU0gVPBqFqcOMvMbleLnQMexfRmE1tGGnkt1P9gakg8uuYczNZAbDwggdRBk3m1KqpGCZAxuaPoVngC7dJx19oNOrKZC7TwG48xbyZBDb...
013ac18867a2a26beb7bab88b7deb8982da4e657
b974bb36c70bd4cff617bec91dd667d73b1c940e
/R/excel.R
96e3c590a354b5a93274ea79ea93438ebd1120e5
[]
no_license
crazybilly/muadc
6ad29493609f2a787a814467aaf51dd7845d1dfd
6be923163d076bb91d4476f5488405255cb6e1ca
refs/heads/master
2021-05-22T11:24:26.173269
2021-03-03T14:58:09
2021-03-03T14:58:09
24,445,150
2
1
null
null
null
null
UTF-8
R
false
false
427
r
excel.R
#' Excel #' #' @description open a file in Excel. This is convience wrapper around `shell.exec(normalizePath(file) )`. #' #' @param file a character string describing the path of the file to open. If the file does not open with Excel by default in Windows, it will open in the default program. #' #' @return returns NUL...
94cdf993e281ac35ea0dea2136736d280ab70a18
705255987191f8df33b8c2a007374f8492634d03
/man/NextBestDualEndpoint-class.Rd
76edd378174c7f7b24bf426d48bb90c96c4f5519
[]
no_license
Roche/crmPack
be9fcd9d223194f8f0e211616c8b986c79245062
3d897fcbfa5c3bb8381da4e94eb5e4fbd7f573a4
refs/heads/main
2023-09-05T09:59:03.781661
2023-08-30T09:47:20
2023-08-30T09:47:20
140,841,087
24
9
null
2023-09-14T16:04:51
2018-07-13T11:51:52
HTML
UTF-8
R
false
true
3,522
rd
NextBestDualEndpoint-class.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/Rules-class.R \docType{class} \name{NextBestDualEndpoint-class} \alias{NextBestDualEndpoint-class} \alias{.NextBestDualEndpoint} \alias{NextBestDualEndpoint} \alias{.DefaultNextBestDualEndpoint} \title{\code{NextBestDualEndpoint}} \usage{ Nex...
b02308ecb8651084438bc1ea796f991edc19bd3e
fd7a1da4ff3ea6730a858287df6e874328cb1787
/functions-to-know.R
479ae45b6eb3b17f046bf227eb5a6682264f8a01
[]
no_license
vanbibn/LearningR
842571464f4a9faf780a1612ba88f49fcbd46d56
8ad03cbcb9b28331cf940d822771df23fc96239a
refs/heads/master
2020-12-22T02:44:15.225349
2020-09-14T03:24:52
2020-09-14T03:24:52
236,647,727
0
0
null
null
null
null
UTF-8
R
false
false
5,840
r
functions-to-know.R
# Functions to Know as Learning R ############################################# ## Packages =================================================================== strinstalled.packages() #check what packages are installed library() old.packages() #check what packages need to update ## Session Info and Help =============...
05d5380a5d66e4b19cf0378fe8893cba02ab6463
4606b475270a56b0bba89599e7a57faac89fdc5a
/R/dust.R
6f4b09c8f77bfbddb93daf2839b87b5bd2d981c3
[]
no_license
kateharborne/ProSpect
46785f548c15462c1543d348918ca20baf0447ca
c9a36c556ab1c97d92cba167d02ed5bf1555c710
refs/heads/master
2022-04-20T07:08:13.879769
2020-04-21T13:34:28
2020-04-21T13:34:28
257,155,864
0
0
null
2020-04-20T02:56:21
2020-04-20T02:56:21
null
UTF-8
R
false
false
5,431
r
dust.R
CF=function(wave, tau=0.3, pow=-0.7, pivot=5500){ return=exp(-tau*(wave/pivot)^(pow)) } CF_birth=function(wave, tau=1.0, pow=-0.7, pivot=5500){ return=exp(-tau*(wave/pivot)^(pow)) } CF_screen=function(wave, tau=0.3, pow=-0.7, pivot=5500){ return=exp(-tau*(wave/pivot)^(pow)) } CF_birth_atten=function(wave, flux...
6a448e26d2d0d903f305c0eeb83d065f3f7b5049
804dd2645a1b53fefdd4dd8e4674512448c881da
/R/mcmc_sampler.R
687ebcc8815603a21f5ecd8badf6dea928335f4e
[]
no_license
drkowal/fosr
03ddb6fae2c7dcefa01286f535d9b0e8e5b5a03c
ab225ff3d8ccb4a2b410880dd89b2447e45400f7
refs/heads/master
2021-06-26T07:14:29.714398
2020-09-26T03:05:27
2020-09-26T03:05:27
129,114,497
3
4
null
null
null
null
UTF-8
R
false
false
18,964
r
mcmc_sampler.R
#' @useDynLib fosr #' @importFrom Rcpp sourceCpp NULL #' MCMC Sampling Algorithm for the Function-on-Scalars Regression Model #' #' Runs the MCMC for the function-on-scalars regression model based on #' an FDLM-type expansion. Here we assume the factor regression has independent errors, #' which allows for subject-spe...
ddb7ce3fe5cac3efb5fbcb1f10c8cc42dac44a2f
6a3e9b4cded7752b4949ac4281b3ad6850b9e6b3
/2019-11-20 New Zealand birds/nz_bird.R
ee766d84ae6164aa7b0b1879e115ea3884fa574b
[]
no_license
GilHenriques/TidyTuesdays
cdffc1256532d01bb7b8f664fccd606a7db4393c
9431c7b438838bd781461c1bacf34a4bfc627748
refs/heads/master
2020-07-12T09:28:08.366365
2020-07-01T20:18:31
2020-07-01T20:18:31
204,779,080
4
3
null
null
null
null
UTF-8
R
false
false
3,701
r
nz_bird.R
# 2019-11-19 TidyTuesday # Gil J.B. Henriques library(tidyverse) # Read data --------------------------------------------------------------- nz_bird <- read_csv("https://raw.githubusercontent.com/rfordatascience/tidytuesday/master/data/2019/2019-11-19/nz_bird.csv") %>% groupdata2::group(n = 5, method = "greedy") ...
58e71bc3b46e2870f6f8d7804c41837de8130102
e5c43a31a082bbfec5ebbc20b34d373896721579
/R/functions/export_k_rasters.R
a7d99765fb3a1d6aeae13217371f450c0f3e4710
[]
no_license
geryan/rfst
3dde3a499651f3a1ccc736f8c6597c5972f0e17c
0aac1f0c3b17096af0c5b0b06e1ad80ac6d709ca
refs/heads/master
2023-05-02T12:32:51.743467
2021-04-27T01:26:47
2021-04-27T01:26:47
164,573,310
1
1
null
null
null
null
UTF-8
R
false
false
1,004
r
export_k_rasters.R
require(foreach) export_k_rasters <- function(simulation_result, initial_k, period = 10, summary_function = mean) { # get the simulation timespan timespan <- length(simulation_result[[1]]) # divide the timespan into groups based on period epochs <- split(1:timespan, ceiling(seq_along(1:timespan) / period)) #...
d79d65ee698b5034f1e70c3c7b31053dad456b61
8b7b4a096cabade05415edc75f8a5adce62b1576
/tests/testthat/helper.R
9e723d8532ff47727e2f26a2b370c1f39d674191
[ "MIT" ]
permissive
2DegreesInvesting/r2dii.plot.static
0350b9fe0952be30d14bf8868ba3816adde6f63b
fcb89716c1668774cda5f0bf1ba10af9a0443057
refs/heads/master
2023-05-05T22:37:08.046611
2021-05-28T15:03:22
2021-05-28T15:03:22
327,862,849
0
0
null
null
null
null
UTF-8
R
false
false
1,223
r
helper.R
expect_no_error <- function(...) { expect_error(..., NA) } fake_example_data <- function(sector = "automotive", technology = "electric", year = 2020L, region = "global", scenario_source = "demo_202...
a750e50bd091f9eb539b7acbc22ca47f84bf0a26
0301b1e7f15226b667b7650b44a32d5edea0977f
/cachematrix.R
8a9efc13286d4f3dc977de0077a56ac1e51da19b
[]
no_license
iev1977/RProgAssgnmntW3
0a03a6407fc08c78912a75ecf9e488b73d1c043e
08fb222d58a5f31da9467c61c4ac6892518b491f
refs/heads/master
2021-01-10T10:18:03.349474
2016-04-01T21:11:36
2016-04-01T21:11:36
55,262,450
0
0
null
null
null
null
UTF-8
R
false
false
1,937
r
cachematrix.R
## makeCacheMatrix creates a special "matrix" object that can cache its inverse. ## cacheSolve computes the inverse of the special "matrix" returned by makeCacheMatrix above. ## If the inverse has already been calculated (and the matrix has not changed), then the cachesolve should retrieve the inverse from the cache...
bda2e354109a45b7f6dc687997153328047fb2c8
785264b5af06dfe69e44abd1c147420e240c4ab0
/rchive/oldplotscripts/sub_plot_10-16.R
773599b22fc84921f2cc4b8d63387ebf83452cf0
[]
no_license
yash1223/limiting_advr
28665c1725ff56949a494f01bc939ae414274874
9747628413129c6fcae2ce3c7a27b4bbab8cf8d1
refs/heads/master
2020-04-10T23:02:26.147757
2018-12-11T14:12:53
2018-12-11T14:12:53
161,339,910
0
0
null
null
null
null
UTF-8
R
false
false
3,073
r
sub_plot_10-16.R
source("sub_EDA_preproc.R") temp <- plotdf target <- "fig" #10-16 plots temp <- temp %>% subset(beta_fix_all != 0) %>% subset(beta_fix_all < 4) %>% subset(beta_fix_all > -4) %>% group_by(Country) %>% as.data.frame() pll <- plot_general(data = temp, x=demand_avg, y=beta_fix_all, country=Country, region=Region...
f8c5b6331ab350e0b44f5e742173759af5fe4828
361149f27813dc80073279ef561a04be8eb9abc4
/quiz/2015-03-11_YidingLyu_yl3248_quiz3.R
7dfd40661bd31a5b70bbb5b995df24be84686c41
[]
no_license
denistanwh/data-viz
492312a84be7bc11aa72efc08effac0b99f9cad6
311598bcbde38903b827cd9bb0eb9f0b1ae10303
refs/heads/master
2021-01-14T08:39:24.600147
2015-05-13T17:06:23
2015-05-13T17:06:23
29,634,530
0
0
null
2015-02-11T17:18:05
2015-01-22T00:43:55
R
UTF-8
R
false
false
1,542
r
2015-03-11_YidingLyu_yl3248_quiz3.R
library(maps) library(ggplot2) library(reshape) data(airquality) str(airquality) head(data) data=airquality sum(is.na(data)) data=na.omit(data) ###get the time stamp data$Time=as.character(paste("2014",data$Month, data$Day, sep="-")) data$Date=as.Date(data$Time, "%Y-%m-%d") ###plot with ggplot2 head(data) ### The ...
7593718b2fbfd55d91cf1378c580f54c717eb08c
567e4fac2f8c72e4b3189941cab1ff0ce2462011
/cron/update_mystats.R
52d3a64e36b4574bf7ef0f34d79ddfe07b01c312
[]
no_license
cmm801/r-finance
14f42977c16c7407accc97b0f6f6a3f2dc984f77
cdbb6e8933240d26490b5d36b7f4a58d2889485f
refs/heads/master
2023-02-13T12:33:59.772411
2018-08-28T00:48:43
2018-08-28T00:48:43
146,369,515
0
0
null
null
null
null
UTF-8
R
false
false
188
r
update_mystats.R
source( sprintf( "%s/finance/LIBRARY.R", BASE_PATH ) ); output.pathname = WEBSITE_URL; asOfDate = last.biz.date(); my.pf.stats( asOfDate = asOfDate, output.pathname = output.pathname );