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
617db0953d2221bc518b97298420881a35769a4e
b4eacbe6efcedd50ddb3b4974006a02aeefff9d9
/cachematrix.R
4a0a1bd01c1b225cdcf12b843f615c2024ea3af8
[]
no_license
kelly-tidwell/ProgrammingAssignment2
061c3d901e79def620ddebc82e0be75e252ea6b3
220139c635ca8f17d0e41c771c8cc4fb29519f35
refs/heads/master
2021-01-20T21:44:40.590358
2015-02-22T17:27:21
2015-02-22T17:27:21
31,049,610
0
0
null
2015-02-20T03:33:52
2015-02-20T03:33:51
null
UTF-8
R
false
false
1,577
r
cachematrix.R
## Put comments here that give an overall description of what your ## functions do ## Write a short comment describing this function #makeCacheMatrix is a funciton that creates a special "matrix", which is really a list containing a functoin to #1. set the value of the matrix #2. get the value of the matrix #3. set t...
4a5cef0bafff7c76111fe9db398be34882b76b76
9e8e728f8d616a50313ff81d52d49e634435f49f
/src/GLFMR/f_p_1.R
33b08bae21ff2ef577de84a2bb12c7bf3276e521
[]
no_license
tartaruszen/GLFM
abb5ee055bf9942ad0762eaca56dd63e5853a578
7c4c14785f9c68263f0a224e535b659618926c28
refs/heads/master
2020-12-02T22:40:35.500264
2017-07-03T21:45:22
2017-07-03T21:45:22
null
0
0
null
null
null
null
UTF-8
R
false
false
143
r
f_p_1.R
f_p_1<-function(x,mu,w){ if (w == 0){ stop( 'scaling factor should never be 0') } else{ y <- log( exp(w*(x-mu) - 1) ) } }
e5d8925caade7ff87dde7c01a5b3c967973ec805
6c7368ddcd2bd20aee6b7eb4d56fd7e2291ae3d2
/postgre-new/RCode/thesis_figures.R
701ac9aa4e7895889f42a1c5e60e798b6101ea6f
[]
no_license
tectronics/hackystat-ui-trajectory
77e6b04a8165810285f8a7b9532571019d0f23aa
f138117dae63ae5df4912d11f36d1470ef1995c3
refs/heads/master
2018-01-11T15:16:27.040944
2014-10-08T16:04:28
2014-10-08T16:04:28
46,141,008
0
0
null
null
null
null
UTF-8
R
false
false
15,018
r
thesis_figures.R
## # Author: seninp # modified: 12-2013 ## ## get connection require(RMySQL) require(ggplot2) require(scales) require(gridExtra) require(Cairo) # require(splines) require(MASS) library(zoo) # # connect to DB # con <- dbConnect(MySQL(), user="postgre", password="postgre", dbname="postgre2", host="localhost") # # qery D...
9338758fda127e37063e77d19b1099280d71512b
8fafea88c3ea03f1b63dd4b2a74663d57577a3a0
/scripts/03 data_processing.R
f03ecbd7341797806b212914e1629fdf8920dccc
[]
no_license
smodestas/Seimo_rinkimai_2020
0bb6f2c01a008b191f48b93b9b4786a94e9e7476
40e88dfeb917d59840dd60d71c769adaa5896f44
refs/heads/main
2023-02-12T09:46:10.070595
2021-01-09T12:07:24
2021-01-09T12:07:24
322,553,570
0
0
null
null
null
null
UTF-8
R
false
false
10,324
r
03 data_processing.R
rm(list = objects()) ### Loading data #### vienmandat <- readRDS("./raw-data/srapped-data/vienmandat.RDS") daugiamandat <- readRDS("./raw-data/srapped-data/daugiamandat.RDS") bendras <- readRDS("./raw-data/srapped-data/bendras.RDS") #### Cleaning data #### vienmandat$Kandidatas <- vienmandat$Kandidatas %>% tolowe...
a3ec320e5ad19c6f3271252b9bd6dc7eda31a615
9e9af9030b571b5c030d6fcfe23ee87be95ced01
/_scratch/analyze_authorized_officers.R
e1f00bf37bf2728ebb7cfb0fd8310caba9be7d02
[]
no_license
monkeycycle/police-compensation
fec34d16ffc3e45b2f9abeff412c5a4da907ecdc
55527e2005d66f63f64225ee7c0207c8f2bc5085
refs/heads/main
2023-07-12T22:25:13.995619
2021-08-22T05:10:41
2021-08-22T05:10:41
383,266,415
0
0
null
null
null
null
UTF-8
R
false
false
2,160
r
analyze_authorized_officers.R
wps_authorized_actual_officers <- wps_annual_reports %>% select(year_date, total_authorized_police_members, sworn_total_actual) %>% mutate( auth_actual_diff = sworn_total_actual - total_authorized_police_members, pct_change_authorized = round((total_authorized_police_members/lag(total_authorized_police_mem...
0a324bc21fd67fbe1c82df4ea91a2cb1709f5469
54b4976030ae6a42e10282c8f41609ef266721c9
/man/ecd.asymp_stats.Rd
5580269977df279393a6b89f0754b99ad7f062ad
[]
no_license
cran/ecd
b1be437b407e20c34d65bcf7dbee467a9556b4c1
18f3650d6dff442ee46ed7fed108f35c4a4199b9
refs/heads/master
2022-05-18T20:24:56.375378
2022-05-09T20:10:02
2022-05-09T20:10:02
48,670,406
0
0
null
null
null
null
UTF-8
R
false
true
863
rd
ecd.asymp_stats.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/ecd-asymp-stats-method.R \name{ecd.asymp_stats} \alias{ecd.asymp_stats} \alias{ecd.asymp_kurtosis} \title{Compute asymptotic statistics of an ecd object} \usage{ ecd.asymp_stats(object, q) ecd.asymp_kurtosis(object, q) } \arguments{ \item{ob...
a0bc6acaa5dc214a9ef83a8335cab40d540265a5
807c010451d6298f80ac5fefb91574e89f198f82
/R/SOGL_final_new.R
4eaaf11db1419d2d9f21170ad18d826e4fb7b938
[]
no_license
cran/MAMA
ebe954d0a31189b61f7071b650256f10318c9887
97d3cea2f6ac7269f618cce47931eefecfa7bfae
refs/heads/master
2020-12-24T18:04:14.838773
2013-01-28T00:00:00
2013-01-28T00:00:00
17,680,395
2
0
null
null
null
null
UTF-8
R
false
false
8,715
r
SOGL_final_new.R
computeOrdering <- function(data, varname, test) { if (test == "FCH") { ord <- fold.change(data,varname) for (i in 1:ncol(ord)) { ord[,i]<- rownames(ord)[order(ord[,i], decreasing = TRUE)] } } if (test == "T"){ ord<-meta.test(data, varname)$test for (i in 1:ncol(ord)) { ord[,i]<- row...
6c665ffc065b2954e9a176464c1ba8fb27ae73a9
b5f1967395871f81b8c4555ef196a97ced9c2f68
/man/preprocess.Rd
9a4f61a20b505252589c75bf8be749a27218288e
[]
no_license
GeertsManon/rKOMICS
03cf12b3abc7bbf478df442cb28e19bd14f7ef65
a51234afd2df5646bc751297c384856004bff6f9
refs/heads/main
2023-08-05T09:28:15.819882
2021-09-12T17:41:34
2021-09-12T17:41:34
384,369,959
0
0
null
null
null
null
UTF-8
R
false
true
2,521
rd
preprocess.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/preprocess.R \name{preprocess} \alias{preprocess} \title{Filtering of minicircle sequences} \usage{ preprocess(files, groups, circ = TRUE, min = 500, max = 1500, writeDNA = TRUE) } \arguments{ \item{files}{a character vector containing the fa...
3c681c896606ce3a6d6948aea071c1dd5d24552b
ef5f8872e4724a4be1cab2c248423bb9bbc646f1
/inst/doc/basic-dutils.R
3897578a2b2b018a055c348f9950dff845dbea61
[]
no_license
cran/mets
90b853434d5ef8b8128bce8dbd83d64d1d9ab37a
da16c5483bd64fb9dba0be3d502b98f2017c08d9
refs/heads/master
2023-01-28T20:46:30.039893
2023-01-17T08:40:07
2023-01-17T08:40:07
17,697,439
0
1
null
null
null
null
UTF-8
R
false
false
7,669
r
basic-dutils.R
## ---- include = FALSE--------------------------------------------------------- knitr::opts_chunk$set( collapse = TRUE, comment = "#>" ) library(mets) ## ----------------------------------------------------------------------------- library(mets) data(melanoma) ## -------------------------------------------------...
b5d9d5351f098b00dbae5bb6f6f307395dcff4cd
5a3bfe0e6d0ca6beef6940cc3986edf571481388
/Project 5 -- Grupo Bimbo Predicting Demand/Cozart/XGBoost Running Sum Feature.R
908199a1c2ad4b5981a474c719f2a23430bd3e1a
[]
no_license
SathishPaloju/Data_Science_Bootcamp_Projects
8c45c5480b34681cd8660a8bcb5b111d7903558a
cd3f63516d2303623ac7f70059ea2b0459dade9c
refs/heads/master
2021-12-10T20:38:08.407939
2016-09-18T17:49:19
2016-09-18T17:49:19
null
0
0
null
null
null
null
UTF-8
R
false
false
2,492
r
XGBoost Running Sum Feature.R
setwd("C:/Users/Hayes/Desktop/BDS 005/Projects/Project 5 test") library(hash) library(data.table) library(Metrics) library(foreach) library(dplyr) library(xgboost) library(doParallel) registerDoParallel(2) library(slackr) library(Matrix) slackr_setup(channel = "@hcozart", username = "i_bimbobot", icon_emoji = "", ...
738be50fa5b1b28d40fd10de6463a3b3b205594e
defbf410c07e93cb4c40c32c7aae6efc91064fd0
/histogram.R
7e434e2a7402828b0f193c37985c84adbfabadca
[]
no_license
yuutingzzz/Visualizations
f78f528c2e774ffa7b85bae71d704f5a4b85069d
087531f132acaf95f0e05b2cfacf24ba1ab829b2
refs/heads/master
2022-11-09T01:17:53.841824
2020-06-24T14:26:02
2020-06-24T14:26:02
274,526,190
0
0
null
null
null
null
UTF-8
R
false
false
246
r
histogram.R
library(dslabs) data(heights) m_heights <- filter(heights,sex == "Male") head(m_heights) p <- m_heights %>% ggplot(aes(x=height)) p + geom_histogram(binwidth=1,fill="grey",col="black") + xlab("Male heights in inches") + ggtitle("Histogram")
d2fb07a0c77cf96e9c852bb6d525d758d34d1ec7
307bf2687171022411c18c7a563775639c031ab1
/R/formats.R
8105f10b6eee7346102d4580078491df0ec170c9
[]
no_license
jeremyrcoyle/skimr
bcf3d5809a27bfceffd487b7fce64d8e98f10fc6
30ba9086967cbc33df64c970d3b1639ff0542bcf
refs/heads/master
2021-05-04T22:33:23.139921
2018-02-02T21:39:50
2018-02-02T21:39:50
120,045,111
2
1
null
2018-02-03T00:15:19
2018-02-03T00:15:19
null
UTF-8
R
false
false
4,203
r
formats.R
#' @include skimr-package.R NULL #' Change the formatting options for printed skim objects #' #' Formats are dispatched according to the type of value returned by the #' "skimmer," i.e. summary function. One special formatting "type" exists for #' the names of the returned vector. The names are used to assign the lev...
f144d183b27dacdd6731fede710b16baf4734900
684ab6df320ca26f9dfcd6471742645dd688fbc2
/R/functions.R
7973cce460415ecb06ef57b29dd557f4d6fe7c62
[]
no_license
Josh-Myers/MyersMisc
0861ca1c9f67e2683d2e69fa1ce85ccc736dbb55
92ad735817931c2c9a8015029c0fc60767a0e568
refs/heads/master
2020-04-08T14:47:39.955675
2018-11-29T02:49:53
2018-11-29T02:49:53
159,449,218
0
0
null
null
null
null
UTF-8
R
false
false
34,525
r
functions.R
# package functions #' MyCalPlot function #' my hack of validate.plot.default in rms for my 2 panel plots to match with val.prob #' @keywords Calibration curves #' @export #' @examples #' MyCalPlot() MyCalPlot <- function (p, y, logit, group, weights = rep(1, length(y)), normwt = FALSE, pl = TRUE, smoot...
bffa4429138d0bbda5699474fbe3be0fcbf4f11f
9f1c221750fcd80b1a534752098ff5617115c395
/tests/testthat/test_readTweetData.R
6f210193aa38675034d02eaf3ab6054aeb93628c
[]
no_license
AlfonsoRReyes/CreatingPackages
857118d5e74700ab316ffa4a29b380eeeb9b455f
f9723df4f121be53bf97923fe1328edcb72c066a
refs/heads/master
2021-01-11T20:36:02.710934
2017-04-18T19:14:01
2017-04-18T19:14:01
79,151,941
0
0
null
null
null
null
UTF-8
R
false
false
704
r
test_readTweetData.R
context("readTweetData tests") test_that("readTweetData properties data.frame", { # compare dimensions, names, class, size DF in bytes, size attributes in bytes baseLoc <- system.file(package="ismbTweetAnalysis") extPath <- file.path(baseLoc, "extdata") ismb <- readTweetData(file.path(extPath, "ismb.txt"), "i...
5c1cb8532de2d5f1c2dff6d62a90024e0b5c3a84
22b31c323642436b77685c2b54fb423fd655e547
/sequence.R
985f859fcbbd2beb055fb9cbc0503ee060aca00b
[]
no_license
SamikshaAg/R-Programming
e35a3b9bb5490fcf11a05be30c2eafca03e6c35c
9508588fef7290b623901460c46027806ffc9ee5
refs/heads/master
2020-01-23T21:44:27.017232
2016-12-04T14:21:36
2016-12-04T14:21:36
74,695,073
0
0
null
null
null
null
UTF-8
R
false
false
681
r
sequence.R
#sequence from 1 to 20 my_seq1<-1:20 #sequence from 1 to 20 using seq() function my_seq2<-seq(1,20) #sequence from 1 to 20 incremented by 0.5 my_seq3<-seq(1,20,by=0.5) #sequence of 30 numbers between 5 and 10 my_seq4<-seq(5,10,length=30) #sequence of numbers with length as the length of along.with argum...
a6b6040ac82bc35d6ea000d2c037bb87246bb801
ca0b298e9cb0407238a28418d9419f284eb4011a
/R/func_demo.R
7ba830973de59d65ae56f71e90a1068e82dde550
[ "MIT" ]
permissive
Angelovici-Lab/BioTools
be28a84acd7fde6b3516886ece495a623a230148
c6d6e9278f19331ed991658e0673ba37e538e782
refs/heads/master
2023-06-15T06:08:50.120854
2021-07-16T22:23:49
2021-07-16T22:23:49
283,844,000
0
0
null
null
null
null
UTF-8
R
false
false
132
r
func_demo.R
#' Demo #' #' @description This is a demo function. #' @keywords Demo #' @export #' demo <- function(){ return("Demo") }
420fe8ca2ad859f6342dfbd8add8dfa45caf82e2
883a4a0c1eae84485e1d38e1635fcae6ecca1772
/nCompiler/R/NF.R
feb7f6d471ddee51debff9241d6fe93f11c870fe
[ "BSD-3-Clause" ]
permissive
nimble-dev/nCompiler
6d3a64d55d1ee3df07775e156064bb9b3d2e7df2
392aabaf28806827c7aa7b0b47f535456878bd69
refs/heads/master
2022-10-28T13:58:45.873095
2022-10-05T20:14:58
2022-10-05T20:14:58
174,240,931
56
7
BSD-3-Clause
2022-05-07T00:25:21
2019-03-07T00:15:35
R
UTF-8
R
false
false
5,630
r
NF.R
nFunctionLabelMaker <- labelFunctionCreator('nFun') ## nFunction represents a pure function, not a class, although it ## may sometimes be implemented as a class. ## In particular, when derivatives are enabled, a nFunction wil be ## implemented as a class, with the CppAD tape as member data. ## Argument types and/or ...
3c118ad6b9b5285ae698deabf733727fe77e50c9
84696ddd7b2e7f2b735d6196331407b276d9babc
/toplotbullbear.R
33fb919eab83c366f842e46ca5f279e872fb75db
[]
no_license
phoebeshih/crawlfutures
f59f13432e8b3dafb2956d3e70924c2d53030847
cf6e00d3e406e6448b7a6e730525fb0bc4b46fc4
refs/heads/master
2021-06-05T23:24:49.898453
2016-06-12T13:39:19
2016-06-12T13:39:19
null
0
0
null
null
null
null
UTF-8
R
false
false
1,986
r
toplotbullbear.R
getwd() #大台 unclosed_TXF <- read.csv(file="unclosed_TXF.csv",head=TRUE,sep=",") #小台 unclosed_MXF <- read.csv(file="unclosed_MXF.csv",head=TRUE,sep=",") foreign<-c('foreign_bear','foreign_bull') dealer<-c('dealer_bear','dealer_bull') trust<-c('trust_bear','trust_bull') cols <- c('darkseagreen','pink') columns<-foreig...
1d25b4eb5cf894334281ff7be996e4ecbb62f560
5a08e607367a964680b4740a6f64587eb7c7020a
/IlluminaEPICtools/R/getGenes.R
f9abbf2cf33b087b3ee28e76b104e98e42b8ba45
[]
no_license
qiongmeng-m/EpiPsychosis_IGF2
1b409ca334de0bab68f3f7b6822d289a1c647744
82fc709aa8e9406ae138aafe2fb13f79c658d54a
refs/heads/master
2021-10-18T22:00:57.756578
2019-02-14T16:58:56
2019-02-14T16:58:56
null
0
0
null
null
null
null
UTF-8
R
false
false
452
r
getGenes.R
#' get granges of genes #' #' @param gFile (char) path to gene definition file #' @return (GRanges) #' @import GenomicRanges #' @export getGenes <- function(gFile) { dat <- read.delim(gFile,sep="\t",h=T,as.is=T) cList <- c(paste("chr",1:22,sep=""),"chrX","chrY") dat <- subset(dat,chrom %in% cList) gene_GR <- GRang...
6fe5432ef662ee69038a756fefc5ccc6507d0d1a
fdedcc4fb558790169c100efd3a396614e815067
/man/plot.population.Rd
55612ddfc419ff3144c2d0843ee6d16753e86cad
[]
no_license
cran/MoBPS
b7f7fdbde92a190c800185e2dd005d514d81f1d3
c2aeedfcba8ebf563cc64e4d4a5d2d5f186e95e1
refs/heads/master
2021-11-22T18:48:13.109306
2021-11-09T15:50:18
2021-11-09T15:50:18
251,009,278
0
0
null
null
null
null
UTF-8
R
false
true
781
rd
plot.population.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/plot.population.R \name{plot.population} \alias{plot.population} \title{Plot Population} \usage{ \method{plot}{population}(x, type = "bve", gen = NULL, database = NULL, cohorts = NULL, ...) } \arguments{ \item{x}{Population-list} ...
be1a5fce7829bf137ee63b7ac90921281908d415
3a7dc9233fbf64759b5234a18f45a66f8e1cfd96
/man/swap_counts_from_feature.Rd
30fbdfb74f7b180665834ba049fbd6224e61c35e
[ "MIT" ]
permissive
whtns/seuratTools
2b3328ce9cf7f3dcdddd03786a8baf87d8e2d646
39b6cf4e73f9fa8a3f1a85330cc0bcbf9c302297
refs/heads/master
2023-06-23T04:33:46.584459
2023-06-22T22:50:58
2023-06-22T22:50:58
179,151,711
9
0
NOASSERTION
2021-08-17T20:20:43
2019-04-02T20:14:56
R
UTF-8
R
false
true
313
rd
swap_counts_from_feature.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/utils.R \name{swap_counts_from_feature} \alias{swap_counts_from_feature} \title{Swap counts from Feature} \usage{ swap_counts_from_feature(cds, featureType) } \arguments{ \item{featureType}{} } \description{ Swap counts from Feature }
2f6dae29b632d8db0d2cb5a7d4f0084ae6fce0d8
608369a849cf5244ac51d9180d142bceeba0a7ba
/man/qsavem.Rd
93f0ae8794e6265ef88d83f1aa36954b9508b4b5
[]
no_license
traversc/qs
437d72b46b184d99e01e90d7cd00f3e5aaa155e5
792ae169ba0959568c69c18598d90faba33be623
refs/heads/master
2023-04-11T14:53:37.867427
2023-03-31T18:00:55
2023-03-31T18:00:55
163,551,739
361
30
null
2021-11-12T17:30:47
2018-12-30T00:54:43
C
UTF-8
R
false
true
1,318
rd
qsavem.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/qsavem-load.R \name{qsavem} \alias{qsavem} \title{qsavem} \usage{ qsavem(...) } \arguments{ \item{...}{Objects to serialize. Named arguments will be passed to \code{\link[=qsave]{qsave()}} during saving. Un-named arguments will be saved. A na...
d91865bf977d78bf8dc7a9bb54462c9a09466724
7c21f28832d7cdf51205140203bbab5b47a254da
/scripts/get_figures.R
89c26513f09dc013d14188046009ba0a26a90dd4
[]
no_license
mariafiruleva/bat_paper
23d22e51d95accf952bdc730262e97856fade63d
7dc77efc7892e003cc383cf5bf0644478301fbc3
refs/heads/main
2023-04-08T06:24:24.512375
2021-04-16T14:59:33
2021-04-16T14:59:33
358,629,273
0
0
null
null
null
null
UTF-8
R
false
false
18,598
r
get_figures.R
suppressMessages(library(Seurat)) suppressMessages(library(ggplot2)) suppressMessages(library(reshape2)) suppressMessages(library(RColorBrewer)) suppressMessages(library(Matrix)) suppressMessages(library(dplyr)) suppressMessages(library(grid)) suppressMessages(library(gridExtra)) suppressMessages(library(plyr)) suppres...
f9a0cfe154604b71227d48da1cb3c66f88d6bda1
8982143e6eff27f3cd338ced46ef545425af1176
/iteration/map-functions.R
37a0dcf0a33b73b0d17cf7aa567b337d53562d8d
[]
no_license
uroszivanovic/R-for-Data-Science
825f493769e3646de15ebced983a4ffa2aee1d45
46ccf93a1a3afd958941461b32eea8ae78319267
refs/heads/master
2022-06-20T18:42:24.850635
2020-05-06T16:46:49
2020-05-06T16:46:49
257,034,087
0
0
null
null
null
null
UTF-8
R
false
false
843
r
map-functions.R
library(tidyverse) #The output is always a list: map(c(TRUE, FALSE, TRUE), ~ !.) map(c("Hello", "World"), str_to_upper) map(1:5, ~ rnorm(.)) map(c(-0.5, 0, 1), ~ rnorm(1, mean = .)) map(1:5, runif) #The others - outputs are always vectors: df <- tibble( a = rnorm(10), b = rnorm(10), c = rnorm(10), d = rnorm(1...
991ad6e5f21a55c95e9a31e8fc56d9635a7a32d5
6d6bc8a91bc134ec51b04dce1cf31c91986eddbc
/R/getCategoryFrequenciesForest.R
330c5731d475500e12383d3f49f6154315836c92
[]
no_license
adibender/rFtools
09e2b2f0b567dcfe95c1b65a917cc50544e598f5
d4cba8b8b65ee6dfc24d2aedd944697840c51690
refs/heads/master
2020-03-21T10:03:18.445005
2018-06-23T20:47:50
2018-06-23T20:47:50
138,431,381
1
0
null
null
null
null
UTF-8
R
false
false
736
r
getCategoryFrequenciesForest.R
getCategoryFrequenciesForest <- function(rFobject, X) { ## workaround to transform data.frame with factors into numeric matrix X <- matrix(as.numeric(as.matrix(X)), ncol = ncol(X)) splitInfoForest <- getSplitInformationForest(rfObject = rFobject, X = X) nodeObservationsFo...
f4a1425d162a62f62415f83ea02c44002ccf8900
d385bdb791ab267ac2411cc245c696a631ae2ad7
/Plot2.R
3af6d27899f19d896243c965501cd0ea3b25550f
[]
no_license
Patti-West/ExData_Plotting1
4081aa734112b9e3809e88ccf1f2cc853c8f1c77
300530c1918033ad6ced05a1d321c122af5ab2c8
refs/heads/master
2021-01-21T08:51:22.439371
2015-04-12T22:54:03
2015-04-12T22:54:03
33,836,893
0
0
null
2015-04-12T22:43:21
2015-04-12T22:43:21
null
UTF-8
R
false
false
567
r
Plot2.R
#Same as before - reading and preparing the data set setwd("~/Coursera") power_all <- read.table("~/Coursera/household_power_consumption.txt", header=TRUE, sep=";", na.strings="?") power_all$Date1 <-strptime(power_all$Date, "%d/%m/%Y") power <- subset(power_all,Date1=="2007-02-01"|Date1=="2007-02-02") power$Date2 <-st...
5d2c3ce2a192c3e016752d0c158d7354f4d3a8b4
9df052ed249d1be60bfeb83d9b76865ba14c6278
/R/PlotGlobalSens.R
2444ced170aec574069cb6083482dddd419bd131
[]
no_license
cran/capm
f68e7be0391f3044eab96dfdefe767f589c762c5
44f662f34d8bb935a9a56243c8c953a13e876773
refs/heads/master
2021-01-17T07:51:28.863562
2019-10-24T15:50:05
2019-10-24T15:50:05
17,694,936
0
0
null
null
null
null
UTF-8
R
false
false
3,672
r
PlotGlobalSens.R
#' Plot results of GlobalSens function #' @description Plot results of of \code{\link{CalculateGlobalSens}} function. #' @param global.out output from \code{\link{CalculateGlobalSens}} function. #' @param legend.label string with the name for the legend. #' @param x.label string with the name for the x axis. #' @param ...
be33d6620ae5ad1ecc046ffd2f2c7f0b9ef5726f
ce2435ac0d405cc80cfaddc02bb709ea7491a5d5
/Rprogramming/ReadingLinesOfaTextFile.R
f21a3aa0fea979b081c8bf5371f2dc37c2a7f3b2
[ "CC0-1.0" ]
permissive
pauEscarcia/BigData-Zacatecas
b9e4014ee1242522c04a46a8fd40badd809cfe7c
6ed59608d4583f8d0bdb5caa55c80f41a1c3844a
refs/heads/master
2021-01-10T05:25:26.429723
2016-03-14T03:18:03
2016-03-14T03:18:03
43,478,578
0
1
null
null
null
null
UTF-8
R
false
false
96
r
ReadingLinesOfaTextFile.R
#open connection to gz-compressed text file con <- gzfile("words.gz") x <- readlines(con,10) x
47c794753c5dcb1d28016844ad4af8b9e9215e0c
75db022357f0aaff30d419c13eafb9dddfce885a
/inst/Assessments/LFA41Assessment/5a.figureLengthFreqs.r
73e2c2a781152894e112c21dfc0667d273d67ad2
[]
no_license
LobsterScience/bio.lobster
d4c553f0f55f561bb9f9cd4fac52c585e9cd16f8
b2af955291cb70c2d994e58fd99d68c6d7907181
refs/heads/master
2023-09-01T00:12:23.064363
2023-08-23T16:34:12
2023-08-23T16:34:12
60,636,005
11
5
null
2017-01-20T14:35:09
2016-06-07T18:18:28
R
UTF-8
R
false
false
6,654
r
5a.figureLengthFreqs.r
#figureLengthFreqs require(bio.lobster) la() m=0 fp = file.path(project.datadirectory('bio.lobster'),'analysis','lfa41Assessment') a = c( file.path(fp,'LengthFrequenciesLFA41polygonSummerRV.rdata'), file.path(fp,'LengthFrequenciesLFA41NEFSCspringrestratified.rdata'), file.path(fp,'LengthFrequen...
1daaf275cc202275b758b028c2c75dcd620a0e1b
e88ce2c592127610f5879cc4c005f13b84f6dfd2
/platforms/affymetrix.R
f61c7001363873316981bcba0b30e07b4a7321e7
[]
no_license
hfogle/glds_microarrays
e693e40e210cfb62f5d4b351f9c2178c004d39ce
81647bada89a53bc17d502106c079758203af0f0
refs/heads/main
2023-07-18T20:48:47.173342
2021-09-20T16:20:42
2021-09-20T16:20:42
362,676,392
0
1
null
null
null
null
UTF-8
R
false
false
13,534
r
affymetrix.R
cat("\nAffymetrix pipeline selected\n") ### Import Raw Data # for (file in opt$files){ # if (grepl("\\.gz$", file)) { # R.utils::gunzip(filename = file, remove = TRUE) # opt$files<-list.files(file.path(tempin,"00-RawData"))} # } # rm(file) cat("Extracted runsheet files: ",opt$files) str(opt$files) workdir...
6fdac0c6ba96cd4570a1fb334cf7038d0055df47
a62e487b9fbd390a38519750d5054b042527c92e
/R/KH.Algorithm.R
dd24cff338c15394956aaa3fcd56d0e86292a4e2
[]
no_license
BimaAdi/MetaOpt2
dcfd5a62184ff8bcf1ab0e82371bd82eca3c4a62
640c7f3bb0e6c03fc20143b7064f06257f8f6b7e
refs/heads/master
2020-04-20T14:36:46.807556
2019-03-27T04:46:38
2019-03-27T04:46:38
168,904,438
1
0
null
null
null
null
UTF-8
R
false
false
8,122
r
KH.Algorithm.R
# Krill-Heard Algorithm(KH) KH <- function(FUN, optimType="MIN", numVar, numPopulation=40, maxIter=500, rangeVar, maxMotionInduced=0.01, inertiaWeightOfMotionInduced=0.01, epsilon=1e-05, foragingSpeed=0.02, inertiaWeightOfForagingSpeed=0.01, maxDifussionSpeed=0.01, constantSpace=1, mu=0.1...
40b595b8b6861d4be0fadf804121fe838b4717d5
e5bb0581bf88dfd4ff986dd760571c1528ea72a7
/Shiny/Functions/filters.R
45c1ff02bd20b28a7897971d650926549b69b2d9
[]
no_license
deslion/EyeTrackingProject
6b9805a8361cf24268c2841acd7749abec3ad73f
246771b25c8bc3d0e981219142545b586c85adf1
refs/heads/master
2021-01-15T20:53:25.696030
2016-03-29T13:42:52
2016-03-29T13:42:52
52,740,006
0
1
null
2016-02-28T19:47:43
2016-02-28T19:47:43
null
UTF-8
R
false
false
6,911
r
filters.R
createFilter <- function(id, name, description, fun, settings) { filter <- new(Class = "FilterEventDetector", id = id, name = name, fun = fun, description = description, settings = settings) return(filter) } # noFilter INDEPENDENT OF ETRAN CLASSES noFilter <- function(t,x,y,settings) { okMarker <- 1; gapMarker <...
fd6858be1d3fa470d6844363ddf66725fb0f943a
d51f182411fb25af96960abb1959826992609654
/plot3.R
eb96347efbc40c96fb095da70c37f5a98fd6857a
[]
no_license
mihir080/Coursera-_Exploratory-Data-Analysis
600a65b59852d4cbe374d23ac72cb57a3142041a
38441b1cd63d48af19f4ed8b0ab943f37f775f27
refs/heads/master
2022-07-24T23:32:56.633494
2020-05-22T15:29:17
2020-05-22T15:29:17
266,133,323
0
0
null
null
null
null
UTF-8
R
false
false
925
r
plot3.R
##Reading the data into R power <- read.table("consumption.txt", header = TRUE, sep = ";") ## subsetting the data required power2 <- power[as.character(power$Date) %in% c("1/2/2007", "2/2/2007"), ] ## Join the date and time variables of the data power2$datetime <- paste(power2$Date, power2$Time) ## converting da...
b9e583b66ddca957c205ff231ac0d86a0d4622cd
4f1672ab0833585fd3c29917a267850439d1dc66
/TimeSeriesAnalysis/FunctionFitting_GWAS_SimpleGP.R
3e8234598f8834b715203deee30736a204b17af3
[]
no_license
ter56/Cornell_SMB_MKK3andTimeSeriesAnalysis
69de38a8c0a9f4fdd7c8e054d0ed09103a6e7da4
19260c2fe7a7f4faa44c5f566b1797c439c91ff1
refs/heads/main
2023-08-29T03:14:01.893885
2021-10-25T19:09:22
2021-10-25T19:09:22
373,516,268
0
0
null
null
null
null
UTF-8
R
false
false
106,552
r
FunctionFitting_GWAS_SimpleGP.R
library(Hmisc);library(drc);library(ggplot2);library(readxl);library(reshape2); library(patchwork);library(rrBLUP);library(plyr);library(dplyr); library(knitr);library(tidyr); library(fda) ; library(magic) library(patchwork); library(knitr);library(stringr);library(LDcorSV) library(ggtext);library(ggh4x) library(GAPIT...
f8bfc5a38c8dd70c4b317f4b41fe6941c12d81ee
ca49614ccb369ba523b8fe0aad57e1856d946bc6
/distances/random_insertions_telomeric_distances.R
3538142c20d8e34c6ed46352a6f3c59395f067f3
[]
no_license
lebmih/LAIR
25a0020eaaffcbe53ed192d3fa8e5e1766713576
547ae2067df31b37a9b101dc08288f98c87dc1b8
refs/heads/master
2022-12-06T17:30:47.833588
2020-09-01T19:14:53
2020-09-01T19:14:53
177,459,885
1
0
null
null
null
null
UTF-8
R
false
false
23,039
r
random_insertions_telomeric_distances.R
## Working directory setwd("~/Lab/LongBCRs/MethodPaper/RunTables") ## Libraries x <- c('tidyr', 'dplyr', 'ggplot2', 'ggrepel', 'reshape2', 'stringr', 'Biostrings', 'ggridges', 'ggpubr', 'cowplot') lapply(x, require, character.only = TRUE) rm(x) ### Randomize the insertions ## Plan ## We need to ta...
669665f3ca29d0ce8295c19837cd6f815d96945a
a3a86cbf369626f205863425cbf1a373ab8a55f9
/man/discard_short_fixations.Rd
e43f80737f4732595dc1838ce1bd94a112807b77
[ "MIT" ]
permissive
chandms/ARETT-R-Package
77bc0efb20e08cc345b06714eab9ca91ad4e02e6
cb1c45947b29dd989e0109e60c67af2bac5d0968
refs/heads/master
2023-09-02T01:24:19.471989
2021-03-24T09:17:11
2021-03-24T09:17:11
null
0
0
null
null
null
null
UTF-8
R
false
true
1,459
rd
discard_short_fixations.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/discard_short_fixations.R \name{discard_short_fixations} \alias{discard_short_fixations} \title{Discard Short Fixations} \format{ Input data frame columns \describe{ \item{eventIndex}{Index of the event in which the gaze point lies} \item...
5981e5ad51865cdf53fecaa89d8866b308dbf061
3071df15b012f0fb792b13b6592213699c7bece2
/src/main/player_data_finder.R
c170106cf0be58c67628986ac0d65b9c49ef4f3e
[]
no_license
day536/fantasy
fb3303803f3d6a5c60a621872ec6b50776339fc3
801d8ad27f25ee5d5875d06a296a49c75efe852e
refs/heads/master
2022-09-05T13:47:34.402724
2020-05-27T18:43:06
2020-05-27T18:43:06
null
0
0
null
null
null
null
UTF-8
R
false
false
2,649
r
player_data_finder.R
# Dynasty Fantasy Football Predictions # Willis Day and Pat McHugh # May 7, 2020 library(httr) library(jsonlite) #library(dplyr) #library(tidyverse) lids <- c("460932538890711040") years <- c(2020) lid <- lids[1] year <- years[1] league <- GET(paste("https://api.sleeper.app/v1/league/", lids[1], sep="")) leagueList ...
0e7991f515486e8ba4055ec19917f1eeece719c8
9d8b743d802fb2a067ea4b1c12b44f4d9685418b
/man/data-dataContour.Rd
8406b6b51bcc2c23f881daa0cac269394682c4be
[]
no_license
cran/RcmdrPlugin.KMggplot2
24bee4662164a40a502101b4aef4e0aaa500e23d
a7397a49cf3ceab2bfc33fff8812e3c31b9e030d
refs/heads/master
2021-01-14T02:35:35.657819
2019-09-17T06:10:02
2019-09-17T06:10:02
17,693,102
0
1
null
null
null
null
UTF-8
R
false
true
831
rd
data-dataContour.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/data-aaa.r \docType{data} \name{dataContour} \alias{dataContour} \title{A Dummy Data for Contour Plots} \format{A data frame with 10000 observations on the following 3 variables. \describe{ \item{\code{x}}{a x-axis variable} ...
3d23f08f415947f3af5970364bcd62a0ae782956
76361d555c85f527a77ffd6d03778dc406877aab
/module2/dataframes.R
cdec8baad8fab53a1470b046300d2381c3151558
[]
no_license
DanielleQuinn/AAFC_Workshop
8eeceb4d61c602f5a20a4b9bef0100e2258175f5
f19a7172db820b8fa91a0c08e3bf5d3908ed7524
refs/heads/master
2021-02-08T18:30:22.836172
2020-11-26T21:00:37
2020-11-26T21:00:37
244,183,976
1
0
null
null
null
null
UTF-8
R
false
false
4,411
r
dataframes.R
# ---- Project Description ---- # This project is used for ... # It was last updated by ... on ... R.version.string # It uses R version 4.0.2 # ---- Load packages ---- library(lubridate) library(stringr) library(dplyr) # Note: If an error is produced saying there is no such package # it means you need t...
e1cba04534ee24f686b8597fb4c91b07f9494fac
75ec20adb7fc7f8df4bfc2a45a8d45a3da69d857
/scripts/explore/chl_oc_cci/climatology_map.R
43d1fb1e4f76a9f140533f20e00df0670116772d
[]
no_license
dreanod/redseachl
a824ebfe8334b07f5ed7030aeaef486b44b262a0
e0e89f4210199667740faddb66b85ee3270c4ae3
refs/heads/master
2016-09-05T14:47:11.006842
2015-05-07T05:53:32
2015-05-07T05:53:32
25,761,215
0
0
null
null
null
null
UTF-8
R
false
false
3,470
r
climatology_map.R
library(raster) library(scales) library(ggplot2) library(RColorBrewer) FILES <- list.files('data/chl_oc_cci/clean/', pattern='*.grd', full.names=TRUE) outputDir <- 'derived/EDA/chl_oc_cci/climatology_maps' dir.create(outputDir, recursive=TRUE) m <- as.matrix(raster(FILES[1])) m <- array(NA, c(dim...
b9bda8d2f54b4f92c60a0a131d1a5172fa9437ec
0cc572af25bec5e671a1d085435d3e088b6cb1cc
/decision+tree+assignment.R
9a1e4e342a76e42b54703b8617ec97ca31e511b6
[]
no_license
Nikanksha/Hypothesis-Testing
89d1260997f9b3027cdff2452d6d3fe981868467
e23e56252914c3808e1204ccdb121a04c97de27a
refs/heads/master
2022-09-21T19:42:49.964818
2020-06-04T12:00:05
2020-06-04T12:00:05
269,346,706
0
0
null
null
null
null
UTF-8
R
false
false
1,398
r
decision+tree+assignment.R
data("iris") install.packages("caret") install.packages("C50") library(caret) library(C50) inTraininglocal<-createDataPartition(iris$Species,p=.70,list = F) training<-iris[inTraininglocal,] testing<-iris[-inTraininglocal,] #model building model<-C5.0(training$Species~.,data=training) #generate the model s...
18f0b7c983fa42c0ce25817b617da50581e6ea90
bc66cb62f1e35fc0db76661eb8abe1b4ffa05f19
/man/write_errors.Rd
61aed68aa2680dbd23ce86814d2ba24e2ebf253a
[ "MIT" ]
permissive
bms63/timber
c4767ecdb97b762ecded50a6b36bd3584acbd8b6
5df97d7db4089f1ae405f202c43f17a4bf0d4434
refs/heads/main
2023-06-16T11:12:24.530880
2021-07-12T15:08:40
2021-07-12T15:08:40
null
0
0
null
null
null
null
UTF-8
R
false
true
455
rd
write_errors.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/writer.R \name{write_errors} \alias{write_errors} \title{Format errors attribute for writing} \usage{ write_errors() } \value{ A formatted vector of errors } \description{ Format errors attribute for writing } \examples{ scriptPath <- tempfil...
39bf821506c19a2640c9fd6954bfa1e8af72d1ed
4d86fab1be703b41c9972b0ce1c2cba6326cbf93
/MechaCarChallenge.R
073dfbd8896cac2bb8f3cdce132df268e8210d86
[]
no_license
Bominkkwon/MechaCar_Statistical_Analysis
1eb77a3a82dd399ab213de949ab81c77262984ac
e5278bfd6f5006893fa379235b5d5174e0f5dda8
refs/heads/main
2023-04-25T16:31:51.432341
2021-05-31T03:32:03
2021-05-31T03:32:03
372,085,786
0
0
null
null
null
null
UTF-8
R
false
false
1,203
r
MechaCarChallenge.R
library(dplyr) library(tidyverse) MechaCar_mpg_table <- read.csv(file='MechaCar_mpg.csv') Suspension_Coil_table <- read.csv(file='Suspension_Coil.csv') head(MechaCar_mpg_table) lm(formula = mpg ~ vehicle_length + vehicle_weight + spoiler_angle + ground_clearance + AWD, data = MechaCar_mpg_table) summary...
0cd8662edfb3feabaa99cc7eca11cd1c400b331b
23f456b19715dfaae4fa452c4f5bacbf9425d837
/man/heatMatrix.Rd
8e877f2d5ac8f6d8e8ca5b6bab5675716cad6020
[]
no_license
al2na/genomation
7a1c3a3aae5c8bfc74e32ee3a9151d03b28d57ca
2b701f676c2bc532bbf392ac6dd97c3f869b5f15
refs/heads/master
2020-04-05T23:45:41.324386
2015-08-25T11:01:12
2015-08-25T11:01:12
1,983,197
1
1
null
null
null
null
UTF-8
R
false
false
5,542
rd
heatMatrix.Rd
% Generated by roxygen2 (4.1.1): do not edit by hand % Please edit documentation in R/plotMatrix.R \name{heatMatrix} \alias{heatMatrix} \title{Draw a heatmap of a given ScoreMatrix object} \usage{ heatMatrix(mat, grid = FALSE, col = NULL, xcoords = NULL, group = NULL, group.col = NULL, order = FALSE, user.order = FAL...
46acea4577cc8351071b196ec5e3b2f67f94ed84
050edfa53f5ec7d76b2321c552266e0f60e4db92
/man/diamond.Rd
a5ecb035f90df5fd31caa07b69eda5d3864a7392
[]
no_license
placeboo/subgraph
e1ab54fabda52ed4243fdc5cdc2a348b2da6d41c
37036807aa7bd75aeab90fe224fdd44c126fb3f9
refs/heads/master
2021-10-27T15:54:59.877512
2019-04-18T08:08:57
2019-04-18T08:08:57
107,905,890
0
1
null
null
null
null
UTF-8
R
false
true
452
rd
diamond.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/diamond.R \name{diamond} \alias{diamond} \title{Diamond graphs List all possible fiveFlower graphs based on given Four nodes} \usage{ diamond(x) } \arguments{ \item{x}{The vector representing nodes} } \value{ A matrix listing edges of Diamond...
ddab6a12f0e0f1d248b642ae0ec663a9a0a42711
a31a28a10f58460aebc21891f552250004c43582
/rscripts/Scripts_page180.R
95cd36da2b1b1f49177b97a6868d3730f14d0db3
[]
no_license
suvaries/racademy
540809825659cb8105d3ae01587c37dedd1ad151
482d4a622661934984b864a924743b5baace6964
refs/heads/master
2020-03-19T09:50:38.507466
2018-06-05T20:50:24
2018-06-05T20:50:24
null
0
0
null
null
null
null
UTF-8
R
false
false
1,039
r
Scripts_page180.R
# Fonksiyonlar - Yahoo finance data çekme # getYahoo <- function(tickerList, from="2017-01-01", end="2018-01-01", pricetype="AdjClose" ){ library(quantmod) if (pricetype == "AdjClose") { type = 6 } else if (pricetype == "Open") { type ...
55329f7ab9aeb7b2df35285dd515d7e249ab774a
b6fe639016db185ea6dc74c65e7aee63d62699c8
/plot5.r
973e179121a841c01af2c143916d94426c18e6b6
[]
no_license
aluuu/ExData_CourseProject2
580ff072d54a39834ee965e2bffe3218e08997d4
c5c984ac79b51072ee651b4a944e870df49c8fa0
refs/heads/master
2020-12-25T14:23:48.576273
2016-09-03T09:34:54
2016-09-03T09:34:54
67,282,490
0
0
null
null
null
null
UTF-8
R
false
false
443
r
plot5.r
source("load_data.r") library(ggplot2) bcNEI <- subset(NEI, fips=="24510") bcMotorNEI <- subset(bcNEI, type=="ON-ROAD") emissions <- group_by_(bcMotorNEI, .dots=c("year")) %>% summarise(total_emission=sum(Emissions, na.rm=T)) qplot(year, total_emission, data=emissions, geom="line") + ggtitle("Changes of emissi...
68b2cdacd86a95ffcdb814efdbac1fe2ec3fce74
7bd4158d7a2b701f3d33c1335ef62635b6f8f05a
/tests/testthat/test-gen_sta_xml.R
0f802f70e94c356cc8488e0227a123faec5a9659
[]
no_license
SticsRPacks/SticsRFiles
f7ceccf81a805cd87939021b76e1d174b5d54c52
ed3ef394244f3e7a44093dd3c3424ee710282020
refs/heads/main
2023-08-30T21:41:20.020763
2023-07-28T08:44:29
2023-07-28T08:44:29
187,986,787
2
3
null
2023-07-28T08:44:30
2019-05-22T07:32:34
R
UTF-8
R
false
false
831
r
test-gen_sta_xml.R
library(SticsRFiles) stics_version <- get_stics_versions_compat()$latest_version version_num <- get_version_num() context("Creating an xml station file to latest version") workspace_path <- get_examples_path("xml", stics_version = stics_version) xl_path <- download_usm_xl(file = "inputs_stics_example.xlsx") sta_para...
33b3fc37ccc32dcae0754318946e8fe0dce4f057
1d91fb9f180131ac09491227c960f5f3ea58eaed
/man/ineq_eta_dag.Rd
96dd3f43bb8ea8eca9101ab934e17448e605b16e
[]
no_license
alysonvanraalte/LifeIneq
f1616547978ac1783b872badf85f6e4b2de9b67b
78e4b84dec2de0c669b41c341f91250325fad2f0
refs/heads/master
2023-06-07T22:40:03.627355
2023-06-06T08:20:40
2023-06-06T08:20:40
224,405,912
5
5
null
2023-04-26T13:10:10
2019-11-27T10:34:02
R
UTF-8
R
false
true
1,582
rd
ineq_eta_dag.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/indices.R \name{ineq_eta_dag} \alias{ineq_eta_dag} \title{ineq_eta_dag} \usage{ ineq_eta_dag(age, dx, lx, ex, ax, check = TRUE) } \arguments{ \item{age}{numeric. vector of lower age bounds.} \item{dx}{numeric. vector of the lifetable death d...
b986fe7765485be0ab18c5a9d67154e459064470
6ec0b79efbab7bf2f445bb237917b8c0dc8bdba1
/plot1.R
e5821469cb397d61c833235d613ab124bf28df4e
[]
no_license
MMADave/Exploratory_Data_Plotting
7db76a98fa3da495c95188e5c3911233d6ea7975
2eed0c309799001229e1d20eb3a59a1de21339ad
refs/heads/master
2021-01-18T11:14:56.924422
2014-07-13T02:01:21
2014-07-13T02:01:21
null
0
0
null
null
null
null
UTF-8
R
false
false
368
r
plot1.R
data <- read.table(pipe('findstr /B /R ^[1-2]/2/2007 household_power_consumption.txt'),header=F, sep=';') colnames(data) <-names(read.table('household_power_consumption.txt', header=TRUE,sep=";",nrows=1)) windows() hist(data$Global_active_power, main="Global Active Power", xlab="Global Active Power (kilowatts)", col="r...
2ac12cbdcc60bb8a08d2a74e3692e76157c1bc3a
04a3b346735b9366fedc0deab1d9c08b25647e85
/demo_associations.r
8a244c56a1511b683060dbfd2ee514b961845c2f
[]
no_license
edisona/amcat.r
ee4abccd95040c82a8660320df9838aaf913f88e
3e2fe2e029c6fdb44c191cbe48dc264f7d9ad202
refs/heads/master
2020-05-17T12:21:18.828489
2013-12-16T09:00:42
2013-12-16T09:00:42
32,724,312
1
0
null
null
null
null
UTF-8
R
false
false
2,294
r
demo_associations.r
source('amcatr.r') source('amcat_getdata.r') source('codebook_lib.r') source('associations_lib.r') ##### INLOGGEN OP AMCAT ##### conn = amcat.connect('http://amcat-dev.labs.vu.nl') # AmCAT vraagt om je inloggegevens #### SELECT DATA #### articlesets = c(3321,3322) # hier alle articlesets invoeren: c(articleset1, arti...
78f846ad24d94a0596e69e431cb7a5789645e889
f3119ef84a7d4a15f8347ba073c291607edae5ac
/Stegen and Hurlbert 2009 community assembly.r
61195598f67e9a232141f9e66e1cb3462a2b6c2c
[]
no_license
bendmorris/fia_spatial_diversity
167e7b37b1eeb0d96737c88e05932dab0f44f998
6cff0170cdd7a8d1eaa2419b1b50df20376f51de
refs/heads/master
2020-12-30T10:36:34.284563
2013-09-16T13:35:06
2013-09-16T13:35:06
8,338,407
0
0
null
null
null
null
UTF-8
R
false
false
11,623
r
Stegen and Hurlbert 2009 community assembly.r
## code for simulating 'metacommunities' and assembling local communities ## and calculating taxonomic, functional and phylogenetic beta diversity ## in order to evaluate the performance of different beta diversity metrics ## this version evolves traits and assigns spatial locations based on the assumed trait-space cor...
546bd900a0f93fb0196ed0d3920930c1c19acc3d
dc4e4365c7c5d6a94ea0616c12d1a59ccffa12e9
/man/mrExec.Rd
c0fd8b9de78c61f1d10d3685e583b1afe9a14d5b
[ "BSD-3-Clause" ]
permissive
hafen/datadr
582321d9a5628fb2facd1623fb4048a2ac1575bf
b4f7e7a1d9a09ac51b0c456f35177d61626d73c3
refs/heads/master
2020-12-29T03:06:38.926328
2018-08-20T23:59:20
2018-08-20T23:59:20
20,773,966
2
0
null
null
null
null
UTF-8
R
false
true
3,021
rd
mrExec.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/mapreduce.R \name{mrExec} \alias{mrExec} \title{Execute a MapReduce Job} \usage{ mrExec(data, setup = NULL, map = NULL, reduce = NULL, output = NULL, overwrite = FALSE, control = NULL, params = NULL, packages = NULL, verbose = TRUE) } \ar...
a05cc3a876f5124cc78259365d758aa3df7bdb4e
b6ea5f9d0d597d7ee146bac059d7f644740247a6
/R/enhancerToGene.R
86e19fb1d100d427ed01d72e9afd764cb97ad97d
[]
no_license
aertslab/ScoMAP
5315406086f98298534a613bfce1faec02ef8177
f81bc49a6eeb6ba17f04cf7e43837126b9b7fb77
refs/heads/master
2021-10-07T18:07:29.783024
2021-10-04T07:58:14
2021-10-04T07:58:14
243,273,940
20
3
null
null
null
null
UTF-8
R
false
false
28,257
r
enhancerToGene.R
#' getSearchSpace #' #' Get regions per gene in which to look for potential enhancers to be linked #' @param txdb Txdb object matching with the genome assembly used for the analysis #' @param org.db Org.Db objet for the corresponding species #' @param genes Genes for which enhancer-to-gene links want to be inferred #' ...
46aa63771ce2e707810135b14992980c5754f0a2
a9de5afbb7e169f668224305858821765d70a072
/pkg/R/stringdist.R
2061b2ed98e387e9892b670893a14fe237529e65
[]
no_license
rsaporta/stringdist
05f5a1db5f97a30497035d99d6ed8179c56f35ff
771e5ec46e83e739d087962f9d9792ce5d94acdb
refs/heads/master
2020-12-25T00:39:23.282374
2013-07-19T14:20:39
2013-07-19T14:20:39
null
0
0
null
null
null
null
UTF-8
R
false
false
12,471
r
stringdist.R
#' A package for string distance calculation #' #' @name stringdist-package #' @docType package #' @useDynLib stringdist {} #' Compute distance metrics between strings #' #' @section Details: #' \code{stringdist} computes pairwise string distances between elements of \code{character} vectors \code{a} and \code{b}, #'...
72369e5a66276fda9ffa4e82afd1481580d55aed
6ff74dfb7753a81505ac7da6b8192dc9e423a941
/run_analysis.R
b04984014ef20a8da079789dd04e976a8e0720cf
[]
no_license
emasnou/GetData_prj
40777e8a27a8c03891fb34caec2cbff8a2840199
ff86a90c329647726e0938c2ca9dbe68754e347b
refs/heads/master
2021-01-16T17:45:41.858563
2015-07-26T14:08:51
2015-07-26T14:08:51
39,720,867
0
0
null
null
null
null
UTF-8
R
false
false
5,468
r
run_analysis.R
# run_analysis.R # Coursera Getting and Clearing data course script. # Load funtcions source for some utilities. source ("src/functions.R") library(dplyr) # Initialize environment. # clean: CleanEnv() # Write system specs into doc directory. WriteSpecs() # Initial values for variables dataset.filename = "getdata...
44fd39ccbfbc4ad6992feb08489b6f91c006859c
fd108a4f1c91f1a8ea3b2850d485be9f7f1c3451
/mm.R
22eb8dd84ff7f2a09251e7328fb5be8036abfa06
[]
no_license
mauriciodamiao/Econometry
d499675d5b8dae70f0b7004b2096ae88c678caa2
e09c7b8c94bbf0ce1d951fad96cf0ec761c6de18
refs/heads/master
2022-12-09T20:52:49.014426
2020-09-15T02:02:55
2020-09-15T02:02:55
null
0
0
null
null
null
null
UTF-8
R
false
false
341
r
mm.R
y = c( 1, 4, 3, 5, 7) x = c(0.5, 1, 2, 11, 2) df = data.frame(y, x) pars = c(1, 2) otim = function(data, pars){ y_hat = pars[1] + pars[2]*df[,2] y_hat_med = mean(y_hat) y_med = mean(df[,1]) dist = abs(y_hat_med - y_med) return(dist) } otim(df, pars) library(optimx) optim(par = pars, fn = otim, d...
e1f0c7389861b9c218dd04a01314a7594ad975cd
1a96e268494d1dbf1163783bec528ef26aabcd59
/R/workbench.R
a79fb69d4681a2082e62843a943748157eb3b6e1
[]
no_license
jm3594/crtpower
22c22f841461c0b900fb7f912c733219a6156f88
3be0bc079aae24824addd31347cd647d6e067afa
refs/heads/master
2020-07-20T22:13:48.925757
2017-06-30T20:35:50
2017-06-30T20:35:50
73,311,539
0
0
null
null
null
null
UTF-8
R
false
false
780
r
workbench.R
# delete this before packagizing # testing continuous outcome alpha <- 0.05 power <- 0.2233 m <- 3 n <- 100 nsd <- 0 cv <- NULL icc <- 0.01 varw <- 0.99 varb <- NULL d <- 0.5*sqrt(varw) test <- crtpower.2mean(alpha, power, m, n, nsd, cv, d, icc, varw, varb) testfun <- Vectorize(crtpower.2mean) #-------------------...
b821ed04f89b74fa55e5875c3ee2b82f4a4e7e09
b83c6415f71f85245fdbb7b788f8ca09a46e39ab
/tests/testthat/test_hello.R
c2c12a5d7e846cb36bf90419a1e1e79c88f2812a
[]
no_license
ahorawzy/wzytry
06bccf918d8855bf6799b9deeb7c90ae33b43f28
3dc49734c8272b9ab102854fae12068dc7ffbedb
refs/heads/master
2020-03-18T14:00:38.943579
2018-05-26T13:19:59
2018-05-26T13:19:59
134,824,044
0
0
null
null
null
null
UTF-8
R
false
false
125
r
test_hello.R
library(wzytry) context("test for hello.R") test_that("hello function can say hello",{ expect_is(hello(),"character") })
37a194f6556e1c11a32c50deaf6dcfa653edd04b
b404a06211d0702b8b4ed40d9a8b05ba3009f02e
/R/PlayerSeasonStat.r
8f97375aa4c4349c04d5742aaf69c0208d0f557a
[]
no_license
saiemgilani/cfbd-api-R
2b94b8fbeff9462f3eeeee467f932bb2b22c4432
84535ae89b8b08eb4f63a7f136d62948a3f34def
refs/heads/master
2023-03-05T17:49:10.113757
2021-02-15T15:24:20
2021-02-15T15:24:20
339,117,428
0
0
null
null
null
null
UTF-8
R
false
false
5,189
r
PlayerSeasonStat.r
# College Football Data API # # This is an API for accessing all sorts of college football data. It currently has a wide array of data ranging from play by play to player statistics to game scores and more. # # OpenAPI spec version: 2.3.5 # Contact: admin@collegefootballdata.com # Generated by: https://github.com/swag...
6e763c4d6be667063d9b80d7c89e334ee2cb4462
05ff20b5652c78649f3ee7ffcebe013466dd8697
/man/ENstepQ.Rd
6a4f429809c21b94732933df1d75206b9d2143c4
[]
no_license
cran/epanet2toolkit
b28a457c5f9b24756130489a5f6d34fd7e48f4d1
493228edea328d641c116a96fcfc1cadd671bc8f
refs/heads/master
2023-02-24T17:36:50.821558
2023-02-09T08:50:07
2023-02-09T08:50:07
107,667,516
0
0
null
null
null
null
UTF-8
R
false
true
318
rd
ENstepQ.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/quality.r \name{ENstepQ} \alias{ENstepQ} \title{Advances WQ simulation one water quality time step.} \usage{ ENstepQ() } \value{ time remaining in the overall simulation } \description{ Advances WQ simulation one water quality time step. }
d6927ab5cfc4bdc790ffc6155a865554a31f3dd9
53d7e351e21cc70ae0f2b746dbfbd8e2eec22566
/man/umxPath.Rd
c3b8469ca67038d83fcf1e423fbead2c4bb3ca48
[]
no_license
tbates/umx
eaa122285241fc00444846581225756be319299d
12b1d8a43c84cc810b24244fda1a681f7a3eb813
refs/heads/master
2023-08-31T14:58:18.941189
2023-08-31T09:52:02
2023-08-31T09:52:02
5,418,108
38
25
null
2023-09-12T21:09:45
2012-08-14T20:18:01
R
UTF-8
R
false
true
8,513
rd
umxPath.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/build_run_modify.R \name{umxPath} \alias{umxPath} \title{Easier (and powerful) specification of paths in SEM.} \usage{ umxPath( from = NULL, to = NULL, with = NULL, var = NULL, cov = NULL, means = NULL, v1m0 = NULL, v.m. = NUL...
25f849ebfbd5df5276505f5d56e20f75cb4c2c43
0886403758e751713d9c3031d7a9329addcbfd06
/EDA.R
859d56357be95dfbb3b7cfcff906881952d704f2
[]
no_license
antortjim/test_datrik
e3787d0fed2387fc418fa2df753854f18c7ff295
820604bb6e1d7af8ef54d0d6cac8de7614df6ec3
refs/heads/master
2020-04-03T03:51:33.517086
2018-10-28T20:00:46
2018-10-28T20:00:46
154,996,873
0
0
null
null
null
null
UTF-8
R
false
false
25,137
r
EDA.R
###################################################################### ## EDA for technical test for Junior Data Scientist ## Author: Antonio Ortega ## Date: 28-10-2018 ## This script is compatible with a knitr Rnw file ## *save and *load chunks save and load variables ## stored as RData files, useful during compilatio...
38f2031ecf12d0f7918953f080be5d6568e50730
f67901840f79345b380f6b99909df061e91924c3
/man/Ypop.Rd
b700756d5577fb02d4e2550bf97f0c5a7303b0eb
[]
no_license
gpapadog/Interference
234aeffb0e1215d1d658b5fde5d5f63c80609a6c
06683213bc5282a64274978df4b476735c8802b3
refs/heads/master
2022-11-13T13:50:04.596318
2022-10-26T16:50:31
2022-10-26T16:50:33
100,611,280
9
2
null
2018-10-11T15:52:51
2017-08-17T14:18:24
R
UTF-8
R
false
true
1,336
rd
Ypop.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/Ypop_function.R \name{Ypop} \alias{Ypop} \title{Estimates and asymptotic variance of the population average potential outcome for known or estimated propensity score model.} \usage{ Ypop( ygroup, ps = c("true", "estimated"), scores = NU...
dcc1698ab95f9cea2f9269239ea6c21dbbdfb585
4160831a7bd3950b2356158285f68f9f66715d5a
/learning_R.r
cb1893edf33398679aad8ed8a79ca11b231b8b3f
[]
no_license
yash-17/mlr
c08e47f171874ee95519caf2dc11a09389f7d364
805b9f1f20bbe3f63a4fd34e52a679ff2af4c705
refs/heads/master
2021-01-01T03:34:38.904368
2016-04-28T18:48:45
2016-04-28T18:48:45
56,141,138
0
0
null
null
null
null
UTF-8
R
false
false
952
r
learning_R.r
#To run a file, cd to the directory and run: #Rscript <filename.r> # This symbol means comment # <- symbol is used for assignments #Two statements print() and cat() can be used to print, diff is that print() append "\n" a <- 42 A <- a * 2 # R is case sensitive print(a) cat(A, "\n") # "84" is concatenated with "\n" i...
63be361ee618c624b7e040a01e16b4e5ca663637
ec3ce7311c62dc411f02e26f34d87ee9d90e4040
/utils/get_combined_linelist.R
e55219230504cf25c0416d536e2c6fb79b99ef45
[ "MIT" ]
permissive
irtyamine/CovidGlobalNow
c3f21799f5bd28ee00d79ef0d6d4b8bc04819fce
26fa769b1691a7b1705c4c80ab2bfe76f85d9cc0
refs/heads/master
2022-04-13T00:01:03.944158
2020-04-04T11:59:07
2020-04-04T11:59:07
null
0
0
null
null
null
null
UTF-8
R
false
false
886
r
get_combined_linelist.R
require(magrittr) #' Get a combined linelist based on multiple countries data get_combined_linelist <- function() { NCoVUtils::get_international_linelist("Germany") %>% dplyr::bind_rows(NCoVUtils::get_international_linelist("Italy")) %>% dplyr::bind_rows(NCoVUtils::get_international_linelist("France")) %>% ...
40a7f13e7e56930e9fe50af46f05c9a3b1481629
c2165d9ec108bbb0d8fe2f291d135215d0792c22
/parse_brokers.R
6f5cd0072e27d2d7eff2ef6ff5cbcd316a278b9f
[ "Giftware" ]
permissive
mcarlo/MICSP
cd12e18c4672ccf21dc14a66fa7c14b864966f25
6d82394b70031ae6c87e9a7fec710b7d3df16fe0
refs/heads/master
2021-01-10T18:46:42.724698
2014-07-25T23:29:44
2014-07-25T23:29:44
null
0
0
null
null
null
null
UTF-8
R
false
false
2,722
r
parse_brokers.R
# This script reads a file listing mutual funds' brokerage platforms and creates # a data-base like file, appropriate for querying or using in an Excel pivot # table oldwd <- getwd() setwd("~/GSpending/platform_tickers") # read MStar file. Column names are tickers. Row 1 cells are fund names. # all other rows are Bro...
b39fdfe3831bd4ba196ff01ac39d620821191e16
4b48647555feaac4cbb9bb4864db20e6e40a8980
/R/geom-sidehistogram.r
d2f0607eb1639e48ab8e36e53fcd000fe3ed90d1
[ "MIT" ]
permissive
seifudd/ggside
8d9fdca5b042f9528c5dc4ef5ce0d7f64537f730
442c83db4cca57bc9cc962be563fbd7df0463d86
refs/heads/master
2023-07-12T20:29:20.936007
2021-08-16T19:30:55
2021-08-16T19:30:55
null
0
0
null
null
null
null
UTF-8
R
false
false
2,863
r
geom-sidehistogram.r
#' Side Histograms #' #' The [xside] and [yside] variants of \link[ggplot2]{geom_histogram} is #' [geom_xsidehistogram] and [geom_ysidehistogram]. These variants both inherit #' from \link[ggplot2]{geom_histogram} and only differ on where they plot #' data relative to main panels. #' #' @section Aesthetics: #' `geom_*...
3f10c0aad3a52612c2a156522855f3fb36c7a75d
cad42fa7ce02225eb60eceff6042e9afc56f0fae
/confidence_intervals/outbred.pruned_JZ.R
d86150fa5a92656b60d18e74e68abaeb22108ca6
[]
no_license
jzou1115/MegaAnalysis_CFW_Code
dd27c111206c7fd92666ab274f1471316374ff45
972fb6bcb98389df8cb39286b65319a1be1bc01e
refs/heads/master
2021-01-02T12:00:01.353300
2020-09-01T23:52:26
2020-09-01T23:52:26
239,609,518
0
0
null
null
null
null
UTF-8
R
false
false
4,345
r
outbred.pruned_JZ.R
#JZ: #Input: #1. chr- chromosome of qtl performing simulation for (lead snp?) #2. bp - position of qtl performing simulation for (lead snp?) #3. mm - ? #4. dosages - only ever use dosages$dosages, which is probably a nxm matrix, where n is number of samples and m is number of snps #5. n.sim - number of simulations...
9a320b69f9345ad728d986b2f60ce6880897965b
146fb76ac1029e350e44775c95026c5ef13fb39a
/project v1.R
90b0f2984539e7c5671bb7a0e67557905923dc9e
[]
no_license
lwang130/Profitable-Loan-Prediction-using-statistical-method-and-machine-learning
c667ba61cd1bd5978766561af6f33d094436c101
29af7b898440331eaf7c4985d0566f52e6772e0d
refs/heads/main
2023-03-31T07:22:15.798566
2021-04-08T03:09:24
2021-04-08T03:09:24
355,748,166
0
0
null
null
null
null
UTF-8
R
false
false
18,399
r
project v1.R
#################################################Pre-processing the Data########################################## # Load packages as needed library(tidyverse) library(randomForest) library(rpart.plot) library(boot) library(glmnet) library(boot) library(gbm) library(rpart) library(chron) library(knitr) ...
16a64d7c95cc4073134084e7c9c1f8ade4a50cda
ffdea92d4315e4363dd4ae673a1a6adf82a761b5
/data/genthat_extracted_code/rgr/examples/map.eda7.Rd.R
777e0db38f3b42855c6e6fdb7bf6e40e89911a7c
[]
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
963
r
map.eda7.Rd.R
library(rgr) ### Name: map.eda7 ### Title: Plot a Symbol Map of Data Based on the Tukey Boxplot ### Aliases: map.eda7 ### Keywords: hplot ### ** Examples ## Make test data available data(kola.o) attach(kola.o) ## Plot a default symbol map map.eda7(UTME, UTMN, Cu) ## Plot with logarithmically scaled boxplot fence...
c08dffd48d9536bbab51e57d91759970eb39e262
767da5bac2d9433f88074f91a44f516352bd5224
/reactome_analysis_worker/reactome_analysis_worker/resources/r_code/padog_analyser.R
0c9e379a0eac50ceb16a110bf0c53de45b31c1f5
[]
no_license
reactome/gsa-backend
dc4447f2dbb892bb6172dbd09fb5540868781962
281bb6ef6efa0153babe0399d5bbe846ed576c7f
refs/heads/master
2023-08-31T00:08:27.892065
2023-06-04T12:23:38
2023-06-04T12:23:38
198,663,462
3
1
null
2023-08-21T19:38:03
2019-07-24T15:34:36
Python
UTF-8
R
false
false
6,264
r
padog_analyser.R
#' Function to convert (for discrete values) and normalise (if set) the data. #' #' This function evaluates two global values as parameters: \code{edger.norm.function} #' and \code{continuous.norm.function} which control the normalisation methods used #' for discrete and continuous data respectively. #' #' @param expre...
62df2b43f582e8210a0aeb325273ab2ed9fb6ef6
09f9794d4cdce27142bc3d248bc9872ee2c7f650
/Parciales/PPunto2.R
5aa87ac52e46ac193395eb967c833e34f4f4a53e
[]
no_license
tsrf195/Analisis_Numerico
de2f132101df28434df4527375d32cd127b38aa9
52847e78a9294a48dcc8b92692b20455f7fa4613
refs/heads/main
2023-04-24T17:32:56.122033
2021-05-13T05:49:57
2021-05-13T05:49:57
335,025,792
0
0
null
null
null
null
UTF-8
R
false
false
328
r
PPunto2.R
i=1 n=100 tolerancia=10^-9 f <- function(x){ x^2-cos(x)-1 } plot(f,from=1,to=2) VI=f(1) VIA=f(0) while(i<=n){ VS = VI - (f(VI)*(VI-VIA)/(f(VI)-f(VIA))) if(abs(VS-VI)/abs(VS) < tolerancia){ cat("Iteracion =",i,"Raiz =",VS*-1,"Tolerancia =",tolerancia,"\n") break } i=i+1 VI =...
0813650580de6b5cb14310b245eeed2a09c7cffc
9aafde089eb3d8bba05aec912e61fbd9fb84bd49
/codeml_files/newick_trees_processed/5927_8/rinput.R
663afb2284c26577ac90d682014499ace88957fd
[]
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("5927_8.txt") unrooted_tr <- unroot(testtree) write.tree(unrooted_tr, file="5927_8_unrooted.txt")
bb5ef4bbde2aac473eb707215dd1bd80e6ba49ab
fbcdb1aae40c7296f5b5edfc2bc59a5669496df2
/R/datavisualization/example4.R
8159bf1f812cfd86a7697a6d8506b414394605c8
[]
no_license
Fr4nc3/code-hints
b9db1e6b4697fc6932d92e5977a8fbc8d2a8d591
931575a9bd7f843fca006c6616754b49161dcb50
refs/heads/master
2023-02-05T23:07:24.085366
2022-08-11T13:00:59
2022-08-11T13:00:59
52,673,727
5
3
null
2023-01-31T22:44:42
2016-02-27T15:37:48
HTML
UTF-8
R
false
false
7,856
r
example4.R
########################################## # Francia Riesco # 02/12/2018 # #4 ########################################## # The data on the next two pages is from a Canadian 1970 census which collected information about specific occupations. # Data collected was used to develop a regression model to predict prestig...
1bb418770d68b2e176ade7f80df6b4353ff404c9
f09d0478b9c1a61bd77d1f77d6638a01042fda91
/apt-R-celBatch2binary.R
2e7136d6e1918d743f80a5dc5ea98deaf713b23b
[]
no_license
antoniofabio/aptUtils
1bce3dca59386f84f6ded6e692ef09af2a243e33
6ce546ec30a4b505c84cac59f5d38c08280ddf05
refs/heads/master
2020-05-17T11:13:40.272588
2012-07-17T08:43:00
2012-07-17T08:43:00
5,079,359
1
0
null
null
null
null
UTF-8
R
false
false
1,997
r
apt-R-celBatch2binary.R
#!/usr/bin/env Rscript if(!suppressPackageStartupMessages(require("optparse", quietly=TRUE))) { stop("the 'optparse' package is needed in order to run this script") } option_list <- list(make_option(c("-d", "--cdf"), help="CDF file name"), make_option(c("-o", "--output-file"), default="X.bin", ...
f4417800adef004d53fea827262d1549e5bff5de
2ce1b58d561f8cce10c40d4dda42d1fc7d6083e1
/202004271753test/GSE93157.R
b2bb3f716a83448b47930538c9ad4eac6cd912d3
[]
no_license
AncientDragon/Git_R
40e577ce6782bf2dd61a3150b8ecacf691394153
95e65c6b77999a7411b52846ebd86ac16136274e
refs/heads/master
2021-07-21T23:03:21.288539
2020-07-24T09:50:15
2020-07-24T09:50:15
197,338,596
0
0
null
null
null
null
UTF-8
R
false
false
1,645
r
GSE93157.R
library(openxlsx) test_93157 = read.xlsx("GSE93157.xlsx") test_93157_train_sub = sample(nrow(test_93157), 9 / 10 * nrow(test_93157)) test_93157_train_data = test_93157[test_93157_train_sub,] test_93157_test_data = test_93157[-test_93157_train_sub,] library(pROC) library(e1071) test_93157_train_data$group = as.factor(t...
e4700243933259df744f9d9015b7419dc44f63e7
c85471f60e9d5c462de6c60c880d05898ec81411
/cache/gdatascience|tidytuesday|video_games.R
7df7118701cfce38a618a1ae056cd5cd400499d7
[ "CC-BY-4.0", "MIT" ]
permissive
a-rosenberg/github-content-scraper
2416d644ea58403beacba33349ee127e4eb42afe
ed3340610a20bb3bd569f5e19db56008365e7ffa
refs/heads/master
2020-09-06T08:34:58.186945
2019-11-15T05:14:37
2019-11-15T05:14:37
220,376,154
0
0
null
null
null
null
UTF-8
R
false
false
3,804
r
gdatascience|tidytuesday|video_games.R
## ----setup, include=FALSE------------------------------------------------ knitr::opts_chunk$set(echo = TRUE) ## ------------------------------------------------------------------------ library(tidyverse) library(lubridate) theme_set(theme_light()) video_games <- readr::read_csv("https://raw.githubusercontent.com/r...
5f24df7d723cf6713f27f74d52dff335fdc8a2c0
cf46b40f288b0bbcef1c3d2834adc23f83cce27c
/trump_score_full/trump-score.R
43b649ce46df6230b7f0c2731b7298f7ae3acc1d
[]
no_license
jgreen4919/trump_scores
4191a51792e525c38fd50fefface57d4461a7dcb
1c41eb43066c4a08958e0fe76211ecb7155d412a
refs/heads/master
2021-05-13T23:16:07.636906
2018-02-24T15:03:47
2018-02-24T15:03:47
116,511,505
0
0
null
null
null
null
UTF-8
R
false
false
575
r
trump-score.R
library(rvest) library(tidyverse) h <- read_html('https://projects.fivethirtyeight.com/congress-trump-score/house/') trump_score <- h %>% html_nodes('table.member-list') %>% map(html_table, fill = TRUE) %>% set_names(c('Senate', 'House')) %>% map(set_names, c('member', 'member_short', 'par...
12801012d79c8a1a3b1ba353e6940896fdd2ca57
23617caf7005786cd089b7f73f7da604b5ae3d6f
/R/get-difftime.R
ecc62beac76d8d00bda9dcf26288499e5436c602
[]
no_license
poissonconsulting/lexr
bedc665d09be4856a92a982d3cd912af5975a025
8d6cdd07af61a2ef7b8bf635500ecccb52700e92
refs/heads/master
2021-07-19T13:11:13.160924
2021-02-16T20:37:35
2021-02-16T20:37:35
48,457,451
1
0
null
null
null
null
UTF-8
R
false
false
916
r
get-difftime.R
#' Get Difftime #' #' @param object The object to get the difftime for. #' @return A difftime object #' @export get_difftime <- function(object) { UseMethod("get_difftime", object) } get_difftime.POSIXct <- function(object) { datetimes <- unique(object) datetimes %<>% sort() n <- length(datetimes) difftimes ...
55e0799e4e7bf468f56dc0fe18058fc5cfe2862a
de76bcdc1b54d52d8a9308cd4ae34290adb3754c
/R/read_ecco.R
522e7f95e228551e66a4464f0f581dfc612ef4c4
[]
no_license
COMHIS/estc
d0e3f249e23d76140f50cc5040e067cc2207a615
44a1befe88e4cfe2909d40364a246d946485e7cc
refs/heads/master
2022-05-01T05:46:41.347913
2022-04-02T11:27:48
2022-04-02T11:27:48
107,229,188
5
3
null
null
null
null
UTF-8
R
false
false
1,431
r
read_ecco.R
#' @title Read ECCO #' @description Read ECCO data dump. #' @param version Version number 1: ECCOI; 2: ECCOII #' @return ECCO data.frame #' @export #' @details Assumes that the working directory includes the source data file. #' @author Leo Lahti \email{leo.lahti@@iki.fi} #' @references See citation("estc") #' @example...
9f863380d044555144333a8f0f1a98addc2184af
0ad8f87c779f07840c408aaf70f14a150d62294b
/Problem_1.R
e301aaa37ccac0556cc0cfc3ef825e628f221b51
[]
no_license
feb-uni-sofia/homework-1-r-basics-toddtsvetanov
de2dbf1e2d9c0747ae0893e5c2d2df6f7d2846e7
7b0288418aa31b883aab36bc8dfafa10ea17075d
refs/heads/master
2021-04-15T13:31:25.306974
2018-04-02T14:20:52
2018-04-02T14:20:52
126,696,924
0
0
null
null
null
null
UTF-8
R
false
false
318
r
Problem_1.R
# a) x <- c(4,1,1,4) # b) y <- c(1,4) # c) The result is like this because R Studio repeats "y" as many times as it takes # to fill "x" (it repeats it). x-y # d) s <- c(x,y) # e) rep(s,10) length(rep(s,10)) # f) rep(s, each = 3) # g) seq(7,21) # i) 7:21 # ii) # h) length(seq(7,21))
f02828796b60b2f4704c3f2870811f8ed1693010
dd33784cfb1b3159e49e714814b959e434f2a38d
/scripts/revisions_1/bs_posteriorPredictive.R
a6f04b4fe64a65d2c1608eaa920fe72c6f447756
[]
no_license
Nian-Jingqing/blind_spot_psychophy
1780ed74cc4210041639eaad716cd1d713a4e84a
8de1a80accccef881a5e8ac522c0d5e8bccfd354
refs/heads/master
2022-01-14T11:26:34.237158
2019-03-03T17:34:15
2019-03-03T17:34:15
null
0
0
null
null
null
null
UTF-8
R
false
false
7,661
r
bs_posteriorPredictive.R
if(1==0){ source('revisions_1/bs_load_stan.R') postPredAll = NULL for(exp in c("EEG","Control","Inset4b",'Inset4a')){ if(exp=='EEG'){ stanfit = factorialFit.exp1 data = dat.exp1 } if(exp=='Control'){ stanfit = factorialFit.exp2 data = dat.exp2 } if(exp=='Horizonta...
d1086596999939094891b42bd4cd72bb03b3b101
7b091599fdcdfa598f0063be29bc80cbc75ea3ce
/man/loadSampleModels.Rd
d6d666537f575c5344d91a72de78d47c3191edaa
[]
no_license
beeva-jorgezaldivar/plumberModel
1bdd0ab8f82d1c8f7e6b9f887805f1db6f5cc0f8
1dbc5d81d294cb01786f3594936c03195ce1947f
refs/heads/master
2020-03-19T21:26:12.951174
2018-09-11T09:59:17
2018-09-11T09:59:17
136,940,402
5
2
null
null
null
null
UTF-8
R
false
true
288
rd
loadSampleModels.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/utils.R \name{loadSampleModels} \alias{loadSampleModels} \title{Obtengo el directorio en el que estan los modelos} \usage{ loadSampleModels() } \description{ Obtengo el directorio en el que estan los modelos }
5082542388c8dfd07f5a25a60f17e875cd7657e0
ffdea92d4315e4363dd4ae673a1a6adf82a761b5
/data/genthat_extracted_code/seroincidence/examples/salmonellaSSIParams4.Rd.R
fdb3b99134e5b3c1068f00f194c6e0f0bdb3e01b
[]
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
282
r
salmonellaSSIParams4.Rd.R
library(seroincidence) ### Name: salmonellaSSIParams4 ### Title: Salmonella SSI Response Parameters Data for Model 4 ### Aliases: salmonellaSSIParams4 ### ** Examples # Show first rows of every dataframe contained in salmonellaSSIParams4 lapply(salmonellaSSIParams4, head)
fdc8532f85d49a0136a966a91600aa0802237055
6470ce550c26c7cd13245dab8b84623534e78655
/第11章 地理空间型图表/图11-11-5 网格分面示意图.R
a1ba6c8d7c66e75485e6720be8b3e17de8f8f389
[]
no_license
EasyChart/Beautiful-Visualization-with-R
0d73ed4ee1e1855e33048330294335fbad6d2a25
27990b9349b697ec4336d3e72bae5f3a08d5f5ea
refs/heads/master
2023-06-10T07:36:29.289034
2023-06-05T03:48:59
2023-06-05T03:48:59
189,740,776
687
446
null
2020-02-26T08:07:21
2019-06-01T14:14:10
PostScript
GB18030
R
false
false
2,508
r
图11-11-5 网格分面示意图.R
#EasyCharts团队出品, #如需使用与深入学习,请联系微信:EasyCharts library(geofacet) library(ggplot2) library(reshape2) library(plyr) #(b)中国--------------------------------------------------------------------- Griddata<-read.csv("China_Grid.csv",stringsAsFactors=TRUE) sdata<-read.csv("Province_data.csv",stringsAsFactors=TRUE) colnames(s...
ab613674245520cb5acd5236f68ff79ce179dc2c
1f67b4cc04795c4a9bf1962a18cfcac78c35974d
/R/statismoModelFromRepresenter.r
ada83e949471fb0103176bad8a652a07140ee8db
[]
no_license
Celli119/RvtkStatismo
4eebcc84c2b390badb9c227691e1a606da236917
73ad9fe5881854aef9f76a47077a0d304bb6546b
refs/heads/master
2021-01-16T17:36:21.335226
2016-03-09T06:59:41
2016-03-09T06:59:41
53,198,379
0
0
null
2016-03-05T11:34:59
2016-03-05T11:34:58
null
UTF-8
R
false
false
1,827
r
statismoModelFromRepresenter.r
#' generate model from a representer using gaussian kernels #' #' generate model from a representer using gaussian kernels #' #' @param representer mesh3d or matrix used as representer #' @param kernel a list containing numeric vectors of length 2. Except the first entry of this list may be of length 2 and is then inte...
91f10a707eedc226adff26abf3cb5bf7c3ebb31b
360df3c6d013b7a9423b65d1fac0172bbbcf73ca
/FDA_Pesticide_Glossary/arsenic_acid_arsenic.R
d854de324fddd02514c539408284ae2d400188af
[ "MIT" ]
permissive
andrewdefries/andrewdefries.github.io
026aad7bd35d29d60d9746039dd7a516ad6c215f
d84f2c21f06c40b7ec49512a4fb13b4246f92209
refs/heads/master
2016-09-06T01:44:48.290950
2015-05-01T17:19:42
2015-05-01T17:19:42
17,783,203
0
1
null
null
null
null
UTF-8
R
false
false
276
r
arsenic_acid_arsenic.R
library("knitr") library("rgl") #knit("arsenic_acid_arsenic.Rmd") #markdownToHTML('arsenic_acid_arsenic.md', 'arsenic_acid_arsenic.html', options=c("use_xhml")) #system("pandoc -s arsenic_acid_arsenic.html -o arsenic_acid_arsenic.pdf") knit2html('arsenic_acid_arsenic.Rmd')
dd612dd5f2b5eeb975e7270d4d5f49c431344b76
ffdea92d4315e4363dd4ae673a1a6adf82a761b5
/data/genthat_extracted_code/dendextend/examples/color_branches.Rd.R
8d9e0b44a9ef92ed22024add348c7d9e6c9c00aa
[]
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
4,582
r
color_branches.Rd.R
library(dendextend) ### Name: color_branches ### Title: Color tree's branches according to sub-clusters ### Aliases: color_branches colour_branches branches_color ### ** Examples ## Not run: ##D par(mfrow = c(1,2)) ##D dend <- USArrests %>% dist %>% hclust(method = "ave") %>% as.dendrogram ##D d1=color_branches(d...
eb1b45a01309810d23cea95fec249758e3f84e14
27d0548026ed38f8e721aa1ec33ef091327a7f29
/HEADER FILE.R
d345416378471d38e38f2d0d6151b4c1eb2fc531
[]
no_license
MaxPaurat/Mobile-Data-for-Public-Health
c7a6dee61592f994ad0733748b07b6ef8d3d9c69
b14aca1dac1ce84c04cbaea916026f0f48caae2d
refs/heads/master
2020-03-12T00:00:27.848846
2018-04-20T09:35:05
2018-04-20T09:35:05
130,337,534
0
0
null
null
null
null
UTF-8
R
false
false
44
r
HEADER FILE.R
#Header file source("Read in Data.r")
27b3ac656ad0d5688f777d9ff3aaa03b1934be6c
ffdea92d4315e4363dd4ae673a1a6adf82a761b5
/data/genthat_extracted_code/fMultivar/examples/utils-density2d.Rd.R
d8934eca5aa3419001eafe8c2f4c264b513fe0de
[]
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
312
r
utils-density2d.Rd.R
library(fMultivar) ### Name: utils-density2d ### Title: Bivariate Density Tools ### Aliases: density2d hist2d ### Keywords: math ### ** Examples ## hist2d - # Normal Random Numbers: set.seed(4711) X <- rnorm2d(40000) # 2D Histogram Plot: Z <- hist2d(X) image(Z) contour(Z, add=TRUE)
313bfaff358bef7e0c2b64c83519046c8af32ae6
21b7ca342de321bf77d917ded9dbac7507c75f12
/R/webchannel.R
848920d4e7444b077a13df519897a860c4bfe75d
[ "MIT" ]
permissive
altairwei/wiztimebook
d1cc6434866a84822f01e5fbde6b475bd196b060
20eed6dad993368d2c0c109b63b9e00261f400c3
refs/heads/master
2023-05-03T20:04:12.891724
2021-05-27T12:35:37
2021-05-27T12:35:37
250,298,842
0
1
null
null
null
null
UTF-8
R
false
false
734
r
webchannel.R
#' Connect to WizNote public APIs #' @export connect_to_wiznote <- function(global_rv) { baseUrl <- "ws://localhost:8848" message(paste0("Connecting to WebSocket server at ", baseUrl)) socket <- websocket::WebSocket$new(baseUrl, autoConnect = FALSE) socket$onClose(function(event) { message("web channel cl...
72d035467b1ab359543fa7a706357a7e3a357f50
ae2454d6bcb4570d693f05ce0a9b77a1fcb2d24c
/inst/shiny/GUI/server.R
8c316b1d76fd31fa678ac3307c77e4ed69608e72
[]
no_license
abbassix/adca2d89
4e902a5c200bb0e0e7be8f6861a7fdfb56396c8c
4d9bc05a1160a9114801d4c98d4afd46f62725a2
refs/heads/master
2022-04-16T08:33:42.243727
2020-02-25T07:21:30
2020-02-25T07:21:30
null
0
0
null
null
null
null
UTF-8
R
false
false
616
r
server.R
# Define server logic to summarize and view selected dataset ---- server <- function(input, output) { # Generate a summary of the dataset ---- output$summary <- renderPrint({ #dataset <- datasetInput() if (input$amazon_url == "") { cat("Please enter the address of the product on amazon.it\nin the give...
135369d1cd9f7e4a97cf3bbfa9dbb20ac3bcae0c
42504ca37ab0dee26b121e8fae4f4b13d98482e6
/cachematrix.R
992e60de5d35ed9c01d948989d51bad736f55ad8
[]
no_license
nikolaypugachyov/ProgrammingAssignment2
66a9d07bb83d9d2b674c603f779f75c03a24e9ec
80a52c19aa5df39289476e63252ae656d8414b32
refs/heads/master
2020-05-03T12:22:07.075679
2019-03-31T00:09:13
2019-03-31T00:09:13
178,623,890
0
0
null
2019-03-31T00:10:52
2019-03-31T00:01:23
R
UTF-8
R
false
false
1,607
r
cachematrix.R
## Put comments here that give an overall description of what your ## functions do ## Write a short comment describing this function ## My comments: ## The function below creates a special matrix in a few steps ## 1. set the value of the matrix via `set` ## 2. get the value of the matrix via `get` ## 3. set ...
d72816961260a1733efeac0f9360a4c4a157db99
1f3c33ff4573e8d00421be9c1064286c7c16bdd7
/old FUNCTIONS/GROW_FP3.R
665286c9bb93cf6cbf79e2c604a6ec5b388f3be3
[]
no_license
mccannecology/model
bcddb18189a49507d10a49f063c99a9d0e529e49
3ab691c6069b174d97230719ee40f36e6129a0bf
refs/heads/master
2021-05-28T08:39:34.460524
2015-03-18T15:38:43
2015-03-18T15:38:43
17,213,665
0
0
null
null
null
null
UTF-8
R
false
false
1,372
r
GROW_FP3.R
####################################### # Growth function # # Compatible w/ new LIST structure # # Compatible w/ SAV component # # # # Identical to Scheffer et al. 2003 # # # # INPUTS: #...
e9293851927d73cefc54144ce0caa249412d43af
9783a80282dd55fb5cec3f4feade68281cf0eb5f
/cachematrix.R
fce310d38aac9da35ac4739a597aa9ea26fbabe5
[]
no_license
mcohen01/ProgrammingAssignment2
b76e5334700ca4d9c010d68c52f8320a994f8312
e69f3f4fe2068d9aa67244b9b71abd4602367a04
refs/heads/master
2021-01-14T11:10:51.023582
2014-10-21T04:53:58
2014-10-21T04:53:58
null
0
0
null
null
null
null
UTF-8
R
false
false
1,176
r
cachematrix.R
## Matrix inversion is usually a costly computation. ## These functions together cache the inverse of a ## matrix rather than computing it repeatedly. ## minimal "caching" api using R's lexical scoping rules makeCacheMatrix <- function(x = matrix()) { inverse <- NULL set <- function(y) { x <<- y inverse ...
5af02f042366cb8c51d4906f44acdfa9e29046d2
6647079130c5fd10007246b095b26e5c36272538
/cachematrix.R
a8359c91761fb3ffae6ad59f5c8f296b01de9142
[]
no_license
cdaustin/ProgrammingAssignment2
164a22748b59e06e985dc61bcd49f0f5e584eb2a
f84c4fe9c14f67cf0829b89b2975d2a4a45b14ba
refs/heads/master
2021-01-14T14:18:24.780318
2016-01-23T18:13:28
2016-01-23T18:13:28
49,979,865
0
0
null
2016-01-19T20:10:41
2016-01-19T20:10:40
null
UTF-8
R
false
false
1,137
r
cachematrix.R
## Put comments here that give an overall description of what your ## functions do ## Write a short comment describing this function makeCacheMatrix <- function(x = matrix()) { m<-NULL ## sets to NULL as a placeholder for a future value set<-function(y){ x<<-y m<<-NULL ...
d7e7a4a209c39d63409a721498a26c40df95a791
bf716a5869e0f669b3f8324dcc1a995c1213a1f1
/2_process/src/process_and_style.R
a419c30cd2ff65ad3c38d47367e5fb466be9d38b
[]
no_license
slevin75/ds-pipelines-targets-2
832779b2282d45e73eb1326e7a8ecf1f4b5c0213
11a11fc34bb7be102dd5328dbcbff2558b3ea9cc
refs/heads/main
2023-08-22T18:20:11.431461
2021-10-18T16:33:05
2021-10-18T16:33:05
416,356,593
0
0
null
2021-10-18T14:24:31
2021-10-12T13:50:18
R
UTF-8
R
false
false
634
r
process_and_style.R
process_data <- function(nwis_data){ nwis_data_clean <- rename(nwis_data, water_temperature = X_00010_00000) %>% select(-agency_cd, -X_00010_00000_cd, -tz_cd) return(nwis_data_clean) } annotate_data <- function(site_data_clean, site_filename,fileout){ site_info <- read_csv(site_filename) annotated_data...
b15e97a454b842fca911195c621cef49301d0731
812bf2b9d2e315d50ffb38e1ebfb6a4c6eaddf6a
/DE_analysis/Book_flowork.R
d46ca7a1c7778652c7a352640a2a5b7923da5ef0
[ "MIT" ]
permissive
bnetlab/DE_and_Functional_Analysis_of_Geneset
6487352284a62e1725699d09042cb589a0f60cc5
34a0d8af5e169befc5f303d2679f84ad0f84caf8
refs/heads/master
2020-06-12T22:31:56.825165
2020-02-26T17:36:42
2020-02-26T17:36:42
194,448,229
0
0
null
null
null
null
UTF-8
R
false
false
7,723
r
Book_flowork.R
#tutrial Libro #obtiene todos lo datos de ENA cut - f11 samples_at_ENA . txt | xargs wget # obterner muestras espacificas for ACC_NR in ERR458493 ERR458494 ERR458495 ERR458496 ERR458497 ERR458498ERR458499; do egrep ${ACC_NR} ERP004763_sample_mapping.tsv | cut -f 11 PRJEB5348.txt | xargs wget; done #fastqce anal...
3f4e3c2f5b967a58aa7e2ed9b4a85787f3d570c8
fef7fd51ef8890e8704cd2e5c8e6295a9515273a
/R/is_vector.r
eadc1011fb87f395aea00223741f3ea1184838c7
[]
no_license
tomasgreif/mondrianr
a82d41550e2124032b5efd3f2fb5cb439af647dc
c806272ff41eec5e863f5c572a1b94680176726a
refs/heads/master
2020-04-05T15:42:53.371365
2014-03-28T13:10:58
2014-03-28T13:10:58
15,005,183
1
2
null
2013-12-16T09:16:14
2013-12-07T12:21:39
R
UTF-8
R
false
false
1,258
r
is_vector.r
#' Check if argument is vector with given properties #' #' Checks if argument is vector with given length and mode. Used to control arguments. Returns error when object #' does not match given properties. #' #' @param vector Input object. #' @param length Required length of vector. #' @param mode Required mode of vect...