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
caaccd1427a9714ed1b824bb5d856a261402de57
1ed12913fb9b98db702389871ea761c46fdee116
/R/sum.td.data.frame.R
82d075c4775fd5137b0a7c8152177638d7ce7cbb
[]
no_license
ghuiber/teradataR
9053adf62e0151b320da4f9ca840d056adcdcad2
d097a9484f8cf53803f1ba26181970042bd146bb
refs/heads/master
2021-01-22T01:33:57.288324
2014-09-12T20:43:55
2014-09-12T20:43:55
null
0
0
null
null
null
null
UTF-8
R
false
false
872
r
sum.td.data.frame.R
sum.td.data.frame <- function(tdf, ...) { if(!is.td.data.frame(tdf)) stop("'tdf' is not a td data frame") if(!length(names(tdf))) stop("td.data.frame contains no columns") obj <- .td.object(attr(tdf,"tableName"),attr(tdf,"database")) sumVal <- 0 exprs <- attr(tdf, "expressions") wc <- "" if(...
cbdad5b6cc9d526d7b4a46081f8100d16c090537
454a2e5c87a170b9bcfe0fd2b11516b90dcc1b05
/man/est_params.Rd
ac38784787b60ba94d3eef82a07d6ab7cda9311c
[ "LicenseRef-scancode-generic-cla", "MIT" ]
permissive
test-mass-forker-org-1/CausalGrid
1bec395e2bb68d12cf3c1e4f87d15650b1adec15
1aba80502457c211dbfa2099fcef91f97a4fb74f
refs/heads/main
2023-06-03T04:20:03.314112
2021-06-23T18:43:50
2021-06-23T18:43:50
null
0
0
null
null
null
null
UTF-8
R
false
true
1,131
rd
est_params.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/estimator_plans.R \name{est_params} \alias{est_params} \alias{est_params.lm_est} \alias{est_params.simple_est} \alias{est_params.grid_rf} \title{Estimate parameters} \usage{ est_params(obj, y, d = NULL, X, sample = "est", ret_var = FALSE) \m...
67aa618714f780babef96303ab4d14b2401f1d8e
bb4c63c25c9d546d530065591fb552cf562dce33
/man/Boot4PTCA.Rd
0c1d2ec60693f2cfebf70e78808bb985fa129dbe
[]
no_license
HerveAbdi/PTCA4CATA
98d6be1b0781f79d8f1ed591f4598883e4f7b764
23e8764e0e1f2806b4defe584aa876f0b91c5485
refs/heads/master
2022-07-27T07:23:39.066852
2022-07-14T21:28:33
2022-07-14T21:28:33
92,956,064
8
8
null
2022-05-04T21:45:54
2017-05-31T14:42:24
R
UTF-8
R
false
true
2,551
rd
Boot4PTCA.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/BootRatio.R \name{Boot4PTCA} \alias{Boot4PTCA} \title{Compute the Bootstrapped factors scores for the \eqn{I} and \eqn{J} sets from a Partial Triadic Correspondence analysis (PTCA).} \usage{ Boot4PTCA( ZeDataCube, fi, fj, eigs, nf2...
d9f95790236a7a956c009efee80ab116582d6f34
b1a12b171097fcb0b2a6f7a10e0ab7afdf41aac1
/R/AmChart.R
7b22285a29ecad1f718ead7ea3039e5c41770763
[]
no_license
myndworkz/rAmCharts
7e1d66002cbca9ef63e1d2af6b4e49a1ac7cd3c3
6ea352cab2c9bc5f647447e5e7d902d9cbec0931
refs/heads/master
2021-01-14T13:06:28.947936
2015-07-29T12:34:13
2015-07-29T12:34:13
39,955,321
1
0
null
2015-07-30T14:37:43
2015-07-30T14:37:43
null
UTF-8
R
false
false
11,629
r
AmChart.R
#' @include AmObject.R NULL #' @title AmChart #' @description This class allow to define the amCharts parameters #' @details API for plotting AmChart with R #' @section Slots: #' @slot \code{allLabels}: Object of class \code{"list"}. List of Labels properties. #' See \code{\linkS4class{Label}.} #' @slot \code{arrows}:...
f13df7eeddcdf535bfc43ac00af18dcd25061afc
29bccff3bbed4db64b69bdce06bd43e584ef79e1
/R/onLoad.R
210b835031c46a25079cdaf547b7efe8f67809c8
[]
no_license
FluvialLandscapeLab/datapuppy
55ac83d5d5ee067936092367ca8fe90a4956d898
d406d2e98510e3570e3e109538a1c86283797aae
refs/heads/master
2021-05-01T10:18:03.006980
2017-04-10T19:20:40
2017-04-10T19:20:40
43,246,577
0
0
null
2020-06-01T19:34:36
2015-09-27T12:58:55
R
UTF-8
R
false
false
2,353
r
onLoad.R
.onLoad <- function(libname, pkgname) { op = options() op.datapuppy = list( datapuppy.connections = c("MySQLConnection") ) # # # THE FOLLOWING OPTIONS WERE USED WHEN DATAPUPPY WAS GOING TO WRITE PROVENANCE # # TO XML. I DON'T THINK THEY ARE USEFUL ANYMORE. # # # op <- options() # # op.datapuppy <- lis...
0d66cac7edfebde3039d59797cfadc354c9f9569
31c1fc57b9e4778a58c9e21a4b015eb165ee57c4
/run_analysis.R
19ab92a1cfccc8171a38095b6e020f83c8774ddf
[]
no_license
student73891/gcd
9c93b0b7f7191e831ed0845f45d65064a9098b72
d23592b176de56b49c2c5e2897b24a19e7108155
refs/heads/master
2021-01-10T22:23:20.011005
2014-09-20T12:55:35
2014-09-20T12:55:35
null
0
0
null
null
null
null
UTF-8
R
false
false
3,801
r
run_analysis.R
# run_analysis.R: Getting and Cleaning Data 2014/09 Course Project # ====================================================================== # Directory containing data files dataDir <- "UCI HAR Dataset" # Full name of a data file # This function prepends dataDir to its arguments, and then joins # everything with a "/...
3510f9367f900998e4ff110a23b6403f317efe14
2b2ffa2e4274ab381b0c00efa5bc513c7c54a6b7
/beta/ui.R
e4de8d47fe3861a532af14a47d62c7b989e44be5
[]
no_license
vnsriniv/shinydiversity
6b4ef5d73c32692854e3e293087dd51d8c369f30
9519bb2e629a7658180ab8b93e0e71bea13cede5
refs/heads/master
2021-07-17T01:53:04.778250
2017-10-21T21:25:48
2017-10-21T21:25:48
null
0
0
null
null
null
null
UTF-8
R
false
false
688
r
ui.R
# Beta Module UI funciton betaUI <- function(id) { # Create a namespace function using the provided ID ns <- NS(id) # NOTE: All referenced input variables must be wrapped with a call to ns(), ex. ns("someInputID") # Define the UI for the app tagList( fluidPage( titlePanel("Beta...
474f8f2d89dde9528a0f71460d3600559607d14e
b525b2183c597b7a3dedf0f37d4f712a392c2f77
/test-that/tests/test-missing-values.R
c31d2f72bbd0de3ed3959b550ccafdc9a3a1659d
[]
no_license
dakotalim/stat159labs
61f33997a1140ec50f2b11988308f46a0f2671b1
84e99137fb57926d575520bb65264e5caee66876
refs/heads/master
2021-01-17T10:27:11.635645
2016-10-31T20:16:22
2016-10-31T20:16:22
68,638,972
0
0
null
2016-10-24T20:26:38
2016-09-19T19:28:34
null
UTF-8
R
false
false
612
r
test-missing-values.R
# load the source code of the functions to be tested source("../functions/missing-values.R") # context with one test that groups expectations context("Test for missing value") test_that("missing value", { x <- c(1, 2, 3, 4, 5) y <- c(1, 2, 3, 4, NA) z <- c(1, NA, 3, 4, NA) nas <- rep(NA, 10) expect_eq...
9162ed2a08d83d66d41b252383142e964ab7b728
ffdea92d4315e4363dd4ae673a1a6adf82a761b5
/data/genthat_extracted_code/trend/examples/bartels.test.Rd.R
4fdb088f1784c8e675a8e1ce61d10dc38f29fd4f
[]
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
588
r
bartels.test.Rd.R
library(trend) ### Name: bartels.test ### Title: Bartels Test for Randomness ### Aliases: bartels.test ### Keywords: htest nonparametric ts univar ### ** Examples # Example from Schoenwiese (1992, p. 113) ## Number of frost days in April at Munich from 1957 to 1968 ## frost <- ts(data=c(9,12,4,3,0,4,2,1,4,2,9,7), ...
69e8acdb6311eca57368a65876ed0e86eed48c8e
9bd5a5ab85e68040bc9a8694692ef3dfdea3d713
/R/RcppExports.R
1bdcdb21b4fcc8a1aaf30b71a536d5f9745f4f6c
[]
no_license
rfsaldanha/scanstatistics
578e9c8eaefa9ce4823dc5dac72e1168e4034b0d
652f027f40928b776e01373a191e05101bd8f841
refs/heads/master
2021-01-13T16:47:38.434417
2017-01-04T15:28:38
2017-01-04T15:28:38
null
0
0
null
null
null
null
UTF-8
R
false
false
6,686
r
RcppExports.R
# Generated by using Rcpp::compileAttributes() -> do not edit by hand # Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393 #' The log probability mass function of the Poisson distribution. #' #' @param x An integer. #' @param lambda A positive scalar. #' @return A log-probability. #' @export #' @keywords internal ...
6870b755e4c66258e7e987563743a4f44d13c9b4
8f6111bea0b4e0af40adebebdb709fb16a680e56
/plot6.R
f6cb558a6c6b5b54bf97d32c84dbb41a1f66ace4
[]
no_license
Kbushu/Pollution
3fc8a2de996610486c7ba94e7984a856b82fe78c
b0303fdf9dd2a8c47a54f2df6a537c3101bcfaa7
refs/heads/master
2021-01-01T05:12:26.026239
2016-05-08T21:52:37
2016-05-08T21:52:37
58,314,527
0
0
null
null
null
null
UTF-8
R
false
false
1,342
r
plot6.R
# How have emissions from # motor vehicle sources changed from 1999–2008 in Baltimore City? # Read the data setwd("~/40 L&G/Coursera/ExDataAnalysis/Project2") if (!exists("NEI")) { # Emissions Data NEI <- readRDS(paste0(getwd() ,"/Data/summarySCC_PM25.rds")) } if (!exists("SCC")) { # Source Cl...
da70ee8d3e6af6d241b8c3cbf5ac4e562687f61a
272ba64bc58529861e91e96e3a6f803c1fd85dc7
/PestNameGroups.R
84d9d0d4762b07bf3bd1a81a209510709dfdc614
[]
no_license
juliaceae/PSPMaster
376184e2d2dc8c0a3d6ac88fb03c882982a1ae8c
cb3261be4e4c283f49d56d224598a3e5d8a753fe
refs/heads/master
2020-04-06T07:02:05.533232
2016-08-24T17:53:26
2016-08-24T17:53:26
20,000,621
1
1
null
null
null
null
UTF-8
R
false
false
285
r
PestNameGroups.R
#JCrown #PSP #Grouping parmater names sort(unique(detects$Analyte)) #non-pesticides Non.Pest <- c("Conductivity", "Dissolved Oxygen", "Dissolved Oxygen, Saturation", "Temperature", "Total Solids", "Turbidity")
c451d488dea44a9654f2658c3ea5f204bbc19139
beaeb1d8298f35ac41af5d736b0065d390d8781e
/Problem 15.2.R
09e47cb8cc67e28999fac841bdb8224b8a5650ec
[]
no_license
HarshBhotika/Multivariate-Data-Analysis
014e0e4459f5eb3c8e5b77e67a3bfe1bd0266fea
b9a0bea6f05407b19930a3ad511dc51c00eefc50
refs/heads/master
2020-12-02T07:42:13.226631
2017-07-22T21:36:41
2017-07-22T21:36:41
96,715,108
1
0
null
null
null
null
UTF-8
R
false
false
616
r
Problem 15.2.R
# Code written by Harsh Bhotika depress <- read.csv(file.choose(), header = TRUE) View(depress) attach(depress) install.packages("psych") library(psych) install.packages("psy") library(psy) bind <- depress[,c("C1", "C2", "C3","C4", "C5", "C6", "C7", "C8", "C9", "C10", "C11", "C12", "C13" ...
50f75d6750dbfc77c87e1e3252dab23d953a4ce6
62a5ff47bc82332003d28a2c17bc8e94d17f4b69
/Documents/MA684/Work/hw6/hw6.R
61d0b06b9fa214eb21a2b5ad90bfa03ecbd7c310
[]
no_license
jiayuans/Applied-Multiple-Regression-and-Multivariable-Methods
13ce5039c174ae3a4c0228b0a1b345d95e8c42c1
dae2fe6d2a1ccb2a7c529bb210b330ea69399efe
refs/heads/master
2021-01-10T09:08:43.260841
2016-03-29T18:40:38
2016-03-29T18:40:38
null
0
0
null
null
null
null
UTF-8
R
false
false
597
r
hw6.R
setwd("/Users/jiayuan/Documents/MA684/hw6") homeprices <- read.csv("homeprices.csv",header=T) attach(homeprices) cor.test(price,size) cor.test(price,bedrooms) cor.test(price,age) cor.test(age,size) pcor.test(price,bedrooms,size) pcor.test(price,age,size) score <- read.csv("EnviroAttitudeTrial.csv",header=T) attach(...
2170c4f632c0a2efc8ec5a3c608ef6837847f18b
4663b90ac7c885c7184c9b18a0a25e2c28005413
/simulation/case2/Functions/formulaConstruct.R
8685c0e4d94b43e8944d9a92ec480a5f6cfc75b1
[]
no_license
TingtingKayla/Stats_Robust_Causal_Estimation
c32a6bc6af32e1ea77ada65078233e6a8fbfdf6d
69174f1651777616edfa454dbafe5d873008e512
refs/heads/master
2023-04-17T14:58:37.143263
2021-04-30T00:54:13
2021-04-30T00:54:13
362,987,687
0
0
null
null
null
null
UTF-8
R
false
false
336
r
formulaConstruct.R
######formula construct formulaF=function(varList, y.name){ return ( as.formula(paste(y.name, "~ ", paste(c(varList), collapse = "+"))) ) } ###formula construct for generalized model formulaGAM=function(varList, y.name, spline){ return ( as.formula(paste(y.name, " ~ ", paste(c(varList), collapse = "+"), "+", s...
f126ec6beb3f42c1f30524a4ce7c2b37491d812b
29585dff702209dd446c0ab52ceea046c58e384e
/dvfBm/R/dvFBM.R
f3ca5760298295bee9ff0ea207aec44bd86cafe5
[]
no_license
ingted/R-Examples
825440ce468ce608c4d73e2af4c0a0213b81c0fe
d0917dbaf698cb8bc0789db0c3ab07453016eab9
refs/heads/master
2020-04-14T12:29:22.336088
2016-07-21T14:01:14
2016-07-21T14:01:14
null
0
0
null
null
null
null
UTF-8
R
false
false
5,268
r
dvFBM.R
filt<-function(nm="i2"){ ## gives the coefficients of an increments type filter, a Daublet, Symmlet or Coiflet filter fact<-function(n) ifelse(n==0,1,prod(1:n)) cnk<-function(n,k) fact(n)/fact(k)/fact(n-k) if (!is.na(o<-as.numeric(strsplit(nm,"i")[[1]][2]))) { l<-o+1 a<-rep(0,l) for (k in 0:o){ a[k+1]...
29e9ffe38f4aaa0810fd62e934c6fa2675e44513
3d402d23d8d7148664c3ef47d350c4d31a6dbf1f
/Visualization_Scripts/Dual_Process_Signal_Detection_Parameter_Estimates_Bar_Graphs.R
27e4dfe9785dd07e8f354f4227831229dd18d692
[]
no_license
RuthAShaffer/Analyzing-the-mechanisms-that-underlie-the-testing-effect-across-age
2c0d7641e82f94ae63b19bd2ad9597c431be5752
23e4126f6fd1a70d8b4e847ffb0c527e8b8eed85
refs/heads/main
2023-01-09T17:12:29.486536
2020-11-01T15:42:23
2020-11-01T15:42:23
308,968,751
1
0
null
null
null
null
UTF-8
R
false
false
15,867
r
Dual_Process_Signal_Detection_Parameter_Estimates_Bar_Graphs.R
##### SCRIPT INFO ##### # This script loads summary data and creates visualizations of # the testing effect in Dual-Process parameter estimates. # Bar graphs: With and without individual data points overlain # Author: Ruth A. Shaffer ##### SET WD TO FILE PATH #### setwd(dirname(rstudioapi::getActiveDocumentContext(...
a72d067f6ffebdb583b707d3a9b686feb2485e4b
1eb7b9f8cebd79d9d2e3a745e0975a37f7c8ea35
/chapter_9/chapter_9.r
5f9acfe3daf5b405817d572b7d3a7a2b667089ac
[]
no_license
raleighlittles/The_Pirates_Guide_to_R-Solutions
115bfdaad800eaeba3e2020065ecad8048ef5863
e023a6b3d54ef5d7042c2719a392f6ef45a31bef
refs/heads/master
2020-03-15T11:34:58.562961
2019-02-08T07:12:21
2019-02-08T07:12:21
132,123,340
0
0
null
null
null
null
UTF-8
R
false
false
98
r
chapter_9.r
# These are interactive R Studio dependent exercises that there are not really any solutions for.
058e997886dbe66e4295874a1e5d75f23cc54fe0
27f9da112786a84da2296cd94f2a3cc0e455f8cc
/cortest.R
3cf126b5236878a1be72b62c05a34e89f74e0569
[]
no_license
Dan609/stat
a980e4aac638d626132dcb72bba5ee8301796830
25851eb526bfcddaf058db08747132e94f334497
refs/heads/master
2021-06-17T21:42:45.725305
2021-03-01T07:40:48
2021-03-01T07:40:48
171,457,622
0
0
null
null
null
null
WINDOWS-1251
R
false
false
4,275
r
cortest.R
df <- mtcars cor.test(x = df$mpg, y = df$hp) fit <- cor.test(x = df$mpg, y = df$hp) cor.test(~ mpg + hp, df) str(fit) fit$p.value plot(x = df$mpg, y = df$hp) ggplot(df, aes(x = mpg, y = hp, col = factor(cyl)))+ geom_point(size = 5)+ facet_grid(. ~ am) ####################################...
1610641fd3f0f03dddfcc6283f5c43d4e852a8da
3fd90c9a4a7f2a35cd595f07bc32e579a6ce3734
/questionnaire/data/orm.R
c5657936da3aba59c5662c00f3014175975e357b
[]
no_license
kevinstadler/thesis
e6b6499e5b4328fe1dba370ad55dde8ca0a31daa
b02426c14d8d06e00da8db00273cb9184c84836c
refs/heads/master
2021-06-15T12:41:02.726374
2017-04-20T10:28:56
2017-04-20T10:28:56
45,398,580
3
0
null
null
null
null
UTF-8
R
false
false
4,831
r
orm.R
# utility functions for mixed effects ordered logistic regression # for documentation, see orderedlogisticregression.pdf in this directory format.p.value <- function(p) { p[which(p <= 0)] <- NA # bogus Chi2 tests with df=0 ifelse(p < .001, "< .001", sub("^0", "", round(p, 3))) } library(ordinal) # TODO need to fi...
60e5091d413ae466937b9284dc374fc58cae5a6a
6659ca68795cac95cecd04ff12bea86fff02fd94
/Qfolder2/SPL_Q2_india_finalization.R
fcab18eebd6f4e97b4894f2f306c4f2babef4b93
[]
no_license
jaidikam/sps_ws1718
687c1f209442bff860fa8990abf31bbcb67dd00c
9e44d539df8df4e426bfb9c69c5aa79cf4f7cb60
refs/heads/master
2021-09-10T18:52:39.737879
2018-03-31T04:26:46
2018-03-31T04:26:46
106,296,792
0
0
null
null
null
null
UTF-8
R
false
false
2,635
r
SPL_Q2_india_finalization.R
#prepare rain and temp data: mean amount of rain and mean temperature for each quarter year rain = readRDS(".\\Qfolder2\\Q2_india_rain.rds") temp = readRDS(".\\Qfolder2\\Q2_india_temp.rds") rain$ISO3 = NULL rain$ISO2 = NULL rain$year = rain$X.Year rain$X.Year = NULL rain$month = rain$Month rain$Mo...
088baa3b7e69eb6b92a82582f7ec0736bdaef439
961f1a2de9dd6875fb6a86b08dfc917a78f0933d
/my_attr_calc_func.R
b6fd10e0de2eabbaf9a14bc2cf4000043ebf2450
[]
no_license
alex7777777/my_funktion
c9ba83405f4e37438565d559b749ee2980cfca16
fb1741a910a975f5c2052b6de3ccfa1be39e4a4f
refs/heads/master
2020-05-29T13:48:15.868690
2020-01-09T22:10:13
2020-01-09T22:10:13
189,173,623
2
1
null
null
null
null
UTF-8
R
false
false
1,560
r
my_attr_calc_func.R
# ############################################################## # # Equal, max, last, first attribution / distribution computation # # ############################################################## # library(dplyr) # attribution_calc <- function(att_004, label_for_att = "No label") attribution_calc <- funct...
daeb5eb15f19ce5e80b4e948e685c7360e6c26bf
579820f0b9432b837738fd3506c9582bf9cd07da
/man/logitToProbs.Rd
fe1ec05c75a891c8de70c4a51018d14c2864bbf5
[]
no_license
albertbuchard/r-pipeline
ffcfee60439a773a915e69cc3a654ddca7447454
e1848f8b8f73b358066732345caa90d65cd889a3
refs/heads/master
2021-03-27T20:02:09.315730
2018-02-25T21:37:04
2018-02-25T21:37:04
66,743,305
3
0
null
null
null
null
UTF-8
R
false
true
266
rd
logitToProbs.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/utilities.R \name{logitToProbs} \alias{logitToProbs} \title{logit to probs} \usage{ logitToProbs(logitValue) } \description{ Converts logit values from e.g a GLM logit, to probabilities }
27df2203441cc93a6f92f13e36137f802787fff7
ccf24bfede30e688075ba70ea40a509f9cf52c3f
/using_feature_selection_method.R
ab3c19e590c3501537401143a742224e5b6923e0
[]
no_license
akshay-vaidya/DengAI-Predicting-Dengue-Disease-Spread
0f0c6599fceeeb6d2b9d56e94c430dba15dd03cc
a6af18a6b6ace2a3196681926c65e2b2d82a888b
refs/heads/master
2021-01-12T03:38:24.779094
2018-05-31T22:09:12
2018-05-31T22:09:12
78,245,770
0
0
null
null
null
null
UTF-8
R
false
false
1,012
r
using_feature_selection_method.R
for (i in 1:dim(training)[2]) { means=colMeans(training[i],na.rm=TRUE) training[i][is.na(training[i])]= means } correlationMatrix <- cor(training) highlyCorrelated <- findCorrelation(correlationMatrix, cutoff=0.5) v<-data.frame(highlyCorrelated) newdata <- v[order(highlyCorrelated),] training<- training[,newda...
958470d83c087b3e0562dc1d42ca82ad82519bbd
2a9722073f2c19d7d5c3cda608aadaf3f1e8eec3
/Codes/Simulation/power/HPC2011-11-15/Model1.r
c6f5ca65841d312b255ced11f32fd20a446b0f5c
[]
no_license
seahearman/Jung-Ying
b65e22a0ffd44db74324912a505c60d040939c5b
108425c2733437ba3c5745efcf474c3d35dea49a
refs/heads/master
2020-06-05T08:11:41.858711
2011-12-12T22:03:26
2011-12-12T22:03:26
2,438,827
0
0
null
null
null
null
UTF-8
R
false
false
12,866
r
Model1.r
library(stats) library(MASS) library(CompQuadForm) library(pls) rm(list= ls()) set.seed(4) #--------------------------- Load functions ---------------------------------- RealisticSimulation <- function(Sample_size,SNP_posi,Risk_Model, risk_effect){ #------------------------------ 1.1. Load the data ---------------...
34965a6c1b113d280a90f349f779329649ff03bf
96b4ed7146d04125292aaab53d01dea82bc5a9c6
/scripts/freq-table.R
18e3b5a867dd8f8e5ebf51b0a586871beb051356
[]
no_license
arundurvasula/missense
e2afcf80c90424be453306676e2ac303fdc45107
aac2f91a3ed25d7b27ef13512920610480c4c37c
refs/heads/master
2016-09-13T08:10:11.839719
2016-05-01T22:16:53
2016-05-01T22:16:53
57,383,501
0
0
null
null
null
null
UTF-8
R
false
false
2,847
r
freq-table.R
options(warn=-1) library(data.table) ## Missense, MAF > 0.1 AEN <- fread("results/AEN-maf-0.1.frq") names(AEN) <- c("CHROM", "POS", "N_ALLELES", "N_CHR", "MAJ_FREQ", "MIN_FREQ") CEM <- fread("results/CEM-maf-0.1.frq") names(CEM) <- c("CHROM", "POS", "N_ALLELES", "N_CHR", "MAJ_FREQ", "MIN_FREQ") STP <- fread("results/S...
2e940b811f6713e816fe76a4377cb6f42999a025
e06e3ae6e3a90dee08ce78d94a15e802dcdc4123
/static/post/intro-variational-autoencoder/Tuto_VAE.R
731d0e5973e6b358e46e4984628af0b6675cb991
[]
no_license
StateOfTheR/website
e71071958429e8db007accda019699ca87fdefd7
2001db349859db92d71062b464688b32837951e8
refs/heads/master
2023-09-04T06:18:22.462606
2023-08-23T15:44:24
2023-08-23T15:44:24
102,025,176
0
0
null
2023-08-23T15:44:25
2017-08-31T17:11:09
HTML
UTF-8
R
false
false
11,038
r
Tuto_VAE.R
## ----setup, message = FALSE--------------------------------------------------------------------------------------------------------------- knitr::opts_chunk$set(echo = TRUE) library(keras) library(ggplot2) library(dplyr) library(corrplot) # pour représenter la matrice des corrélations empiriques library(factoextra) #...
e5e8065ed9fc1c5912bfd8cbc31122e6e803cb9e
e2c7181ed4e32ad6375160811fc1e13a6c5c1752
/man/ls_catalog.Rd
79197c68a2751e57187472d3a7b85acec94e57e1
[]
no_license
mauricioromero86/teamlucc
c6bbef6beff5bb19ba068db500e6c6e483086507
b41fdd3135dd58c45a0a76c8c568768104267eaa
refs/heads/master
2020-12-24T11:33:13.644455
2015-09-10T14:14:44
2015-09-10T14:14:44
40,678,059
0
2
null
2015-08-13T19:33:49
2015-08-13T19:33:48
R
UTF-8
R
false
false
649
rd
ls_catalog.Rd
% Generated by roxygen2 (4.0.2): do not edit by hand \name{ls_catalog} \alias{ls_catalog} \title{Catalog a folder of Landsat images} \usage{ ls_catalog(in_folder) } \arguments{ \item{in_folder}{path to a folder of Landsat surface reflectance images (for example, as extracted by the \code{espa_extract} function).} } \va...
0c7bc3d0adc18ce02a32153788235035d705dd39
bf17824361e9edd03025f2e5d932339649a3bc63
/setup.R
9229ffffefca26b0b73343e7389f5014f8cd3ce1
[]
no_license
gkrowner/NDA-Shinyapp
bc2940cf19a4c80cfababb412834b2f3280441d9
43d0d11213d0d010bc489e83b2b927a825f20567
refs/heads/master
2021-05-23T15:26:51.528006
2020-04-06T01:26:04
2020-04-06T01:26:04
253,360,841
0
0
null
null
null
null
UTF-8
R
false
false
1,049
r
setup.R
# setup library(readr) library(data.table) library(igraph) library(ggplot2) library(shiny) library(rsconnect) library(stringr) library(shinyjs) library(shinycssloaders) library(shinydashboard) library(shinyWidgets) library(shinythemes) library(devtools) library(dashboardthemes) library(visNetwork) library(fmsb) library...
92a9d5a827c82f91fb378efce721723b2603d408
f6e1ab6d9f234a031e05686d1d5c56252a702750
/man/update_contact_dates.Rd
850c1f8bf1188b94d59f746063aded4c2f039244
[]
no_license
NCEAS/awards-bot
8c4b943bba9539d73835a858485f1afb351260f4
c475c255f35b746c956517939f4e0bce69439084
refs/heads/main
2021-09-13T20:58:11.871112
2021-09-03T21:40:25
2021-09-03T21:40:25
139,081,603
5
7
null
2021-09-03T21:40:26
2018-06-29T00:23:07
R
UTF-8
R
false
true
851
rd
update_contact_dates.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/database_functions.R \name{update_contact_dates} \alias{update_contact_dates} \title{Update contact dates in awards database} \usage{ update_contact_dates( awards_db, annual_report_time, initial_aon_offset, aon_recurring_interval ) } ...
b26d3358f89151948b42e606f069e73f510b77ea
9717bf97b379d0520e8ae6b34c7b1f043db3c8d3
/ShinyTraining/ui.R
0935c071c89baccbcb72cac45bc919686cd09ca6
[]
no_license
mouthful-of-wasps/ShinyTraining
2459f5866a0d114bdab1e37f37ea4efe2911006a
036cec2b258762e281ed583c0e972e52d096db5a
refs/heads/main
2023-04-24T12:55:18.482799
2021-04-28T17:24:43
2021-04-28T17:24:43
null
0
0
null
null
null
null
UTF-8
R
false
false
4,208
r
ui.R
library(shinydashboard) library(shiny) library(shinythemes) library(tidyverse) library(titanic) ui <- shinydashboard::dashboardPage( dashboardHeader(title = "Titanic"), dashboardSidebar( collapsed = FALSE, sidebarMenu( id="dk", menuItem("Titanic survival info", tab...
5099a6d2c8f1dfa7363ee670db02d70e06996b55
42843932c938ba616095879eb6559c3a7aef26d8
/ADP/Wisconsin Breast Cancer.R
6987c382cb4f49b8132b98cf8d19ca27a312f532
[]
no_license
leejungmu/first-repository
f2a4a5a494f62557712775de0b9801d80d63f9ec
bdc9ee2818b66684b16d6e91e71717aa170b180f
refs/heads/master
2023-02-04T05:24:04.054398
2023-01-26T06:38:47
2023-01-26T06:38:47
211,994,347
1
0
null
null
null
null
UHC
R
false
false
6,018
r
Wisconsin Breast Cancer.R
ls() #변수 반환 rm(list = ls()) #변수 제거 library(dplyr) library(ggplot2) library(MASS) library(glmnet) library(randomForest) library(gbm) library(rpart) library(boot) library(ROCR) library(gridE) data <- tbl_df(read.table("D:/DataScience/first-repository/raw_data/Wisconsin_Breast_Cancer/wdbc.data", ...
2d53331e707ca8df6181bd1f290048e59e198b46
fcc73891f59b531fbd543c1290a6810d57277294
/Ant_analysis_RScript.R
7ae84c8935318d965c98868a0bfe5befd48354e9
[]
no_license
texmiller/BTNP_ants
22162035463d0666d00cf51f6bc8f61df676d679
9b1ec175ceeaa6cfbe234387d13b2e5da997e28e
refs/heads/master
2022-11-15T00:34:25.644463
2022-11-04T19:56:14
2022-11-04T19:56:14
152,653,588
0
0
null
null
null
null
UTF-8
R
false
false
48,013
r
Ant_analysis_RScript.R
### Title: Ant analysis ### Author: Marion Donald (pulling from scripts by Gabriela Zambrano and Meghan Hager) ### Date Started: 23 July 2019 ### Purpose: Re-run analyses for species accumulation, richness, community composition, etc. ### Date Updated: 30 July 2019 library(tidyverse) library(readxl) library(dplyr) li...
dbdfce9c0b0852cd770c91b56e7ec7870262444d
422f5b03f9d34dbcae13e3631276bfdacf4ddb5a
/man/save_as_csv.Rd
b91838042ccd81747fc0ab8240698b10043d24b1
[]
no_license
priscilleb/pack2
baf01ac01560380a99ed0165e6647b6c5ba64a05
4ecf2f81f795faf236f575c769bfba32e5dfe51c
refs/heads/master
2021-07-11T06:01:31.248835
2017-10-16T07:23:12
2017-10-16T07:23:12
106,695,707
0
0
null
null
null
null
UTF-8
R
false
true
516
rd
save_as_csv.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/save_as_csv.R \name{save_as_csv} \alias{save_as_csv} \title{Save as csv function} \usage{ save_as_csv(dataset, filename, row.names = FALSE, ...) } \arguments{ \item{dataset}{the dataset you work with} \item{filename}{the file you want to rea...
9ce3e533d379bd6e1a6813df20dcdb4ad6bc1fa4
3f68b93b391901166962be7557dc9fbca2b5a4b9
/Assignment2/CheckPoint2.R
787335425de99b8884291fba14e18a75d6ad30b0
[]
no_license
RodolfoViana/DataAnalysis
12ea14dcc843fe45363d210fbd27ba4ad826a8e3
515a8df17fad7d2a41ee4d2de802ca8f2efc2307
refs/heads/master
2021-01-18T21:11:36.781314
2016-04-27T14:31:53
2016-04-27T14:31:53
34,022,913
0
0
null
null
null
null
UTF-8
R
false
false
3,203
r
CheckPoint2.R
library(dplyr) library(ggplot2) # Dados da câmara dos deputados file <- read.csv("Projetos/DataAnalysis/Assignment1/AnoAtual.csv") # Selecionando apenas os gastos de combustíveis e lubrificantes vlrCombustiveis <- file %>% filter(txtDescricao == "COMBUSTÍVEIS E LUBRIFICANTES.") %>% select(vlrLiquido, numSubCot...
9554a6d7bafbd024b32da6b1942844c16e28d5ab
9f0d257aeced4a86589df64bc0dde2c3f67ec3db
/ExploratoryDataAnalysis/Kmeans-Clustering/kmeans.R
a5393d54383d81c21abb3089aaaddaa94abb83a1
[]
no_license
gomathipugazh/Data-Science-Coursera
399e9848288b230e7a41ebbf5e163f26e29e1eaa
ee74157abc61e5f1a93315d2a4fda6d293128388
refs/heads/master
2021-01-09T07:05:35.209982
2016-07-20T04:56:39
2016-07-20T04:56:39
63,537,762
0
0
null
null
null
null
UTF-8
R
false
false
4,424
r
kmeans.R
## 1. Statstic - Try to see the raw data in a understandable pattern. ## 2. Data compression - Compress the data as much as possible to read. ## Kmeans Clustering set.seed(1234) par(mar = c(0,0,0,0)) x <- rnorm(12, mean = rep(1:3, each = 4), sd = 0.2) y <- rnorm(12, mean = rep(c(1, 2, 1), each = 4), sd = 0.2) dataFr...
3f485f59414152610d2cf138ce9a695159cdaf0b
58b943c940514e5c08106b97da156404ba6345cf
/R/plot.treeshape.R
64538e4121a22a53f5d808c13493eb1090a2fe43
[]
no_license
bcm-uga/apTreeshape
1dd209ae8e4a0a30d22b906a99f98f459ef992f7
369236069399b25f462bc109db305cbdb4a6113c
refs/heads/master
2020-04-09T18:54:00.858207
2019-09-25T12:08:34
2019-09-25T12:08:34
124,239,795
2
0
null
null
null
null
UTF-8
R
false
false
955
r
plot.treeshape.R
"plot.treeshape" <- function(x, y, ...){ plotone <- function(tree, ...){ n <- nrow(tree$merge)+400 hc <- hclust(d = dist(runif(n), method = "euclidean"), method = "ward") hc$merge <- tree$merge hc$height <- 1:nrow(tree$merge) descendant <- smaller.clade.spectrum(tree)[,1] current <- 1 for (i in 2:(nrow(tre...
a7625a8cee58023eabdaa5a462e869c0dfb9cd3d
ad944e3412abc220df1e41d23d7ade203e1af4db
/Arizona_expected_votes_2020.R
31fd8268fbf8f18f9198562c0e6a02e51522f356
[]
no_license
Cluestar/US-elections
b0d6563686b8427191bbaf4c7d82544ef39f215e
83c46f7b256318a010282f73cff07b1b646e9149
refs/heads/main
2023-01-09T10:45:34.642177
2020-11-16T04:19:43
2020-11-16T04:19:43
307,650,612
1
0
null
null
null
null
UTF-8
R
false
false
1,608
r
Arizona_expected_votes_2020.R
percentage <- c(82, 82, 83, 75, 89, 82, 99, 85, 97, 97, 89, 78) votes_trump <- c(69830, 38710, 24445, 6715, 4542, 84386, 29561, 231845, 323863, 254561, 31183, 97439) votes_biden <- c(22980,21684, 21374, 13979, 2050, 47164, 17843, 489165, 431656, 216512, 14282, 102322) counties <- c("Mohave", "Coconino", ...
ee0d678e9c465d7ca805c949cf7f93349c13d03c
e6a0ec6265fd79fc78ef2bcc84f27e836fc51e4a
/universitySalariesR.R
50abe0a2241c1b7089773f52520e978157b4ff4b
[]
no_license
adarcang/syracuseUniversity
5f34450e25294956e314fd85283d2c15a3ff21b7
2f1b277bac85a912532939281a940b0ec6977b28
refs/heads/main
2023-08-08T06:09:56.439361
2021-08-30T16:41:56
2021-08-30T16:41:56
364,284,119
0
0
null
null
null
null
UTF-8
R
false
false
415
r
universitySalariesR.R
install.packages("sf") install.packages("tidyverse") install.packages("leaflet") install.packages("sp") install.packages("RODBC") install.packages("readxl") library(sf) library(tidyverse) library(leaflet) library(sp) library(RODBC) library(readxl) setwd("C:/Users/adarcangelo/Documents/GitHub/syracuseUniversity") sala...
e0846a2ac09b223fb62e07cd8f9ae8a8547f737f
2bec5a52ce1fb3266e72f8fbeb5226b025584a16
/CGGP/R/CGGP_fit_fs.R
c7b1138a83f4eb06f0504acd1fd4c5eff15a3141
[]
no_license
akhikolla/InformationHouse
4e45b11df18dee47519e917fcf0a869a77661fce
c0daab1e3f2827fd08aa5c31127fadae3f001948
refs/heads/master
2023-02-12T19:00:20.752555
2020-12-31T20:59:23
2020-12-31T20:59:23
325,589,503
9
2
null
null
null
null
UTF-8
R
false
false
23,834
r
CGGP_fit_fs.R
#' Update CGGP model given data #' #' This function will update the GP parameters for a CGGP design. #' #' @param CGGP Sparse grid objects #' @param Y Output values calculated at CGGP$design #' @param Xs Supplemental X matrix #' @param Ys Supplemental Y values #' @param theta0 Initial theta #' @param Ynew Values of ...
2da44a20117c7c734a95099d95a79a05bac6fb79
7d720d52d8342900573a45e40ca539e0a9137557
/man/make_eml.Rd
4989cbe11d9b6da171318cd306090fe49b6838b7
[ "CC0-1.0" ]
permissive
jtallantumich/EMLassemblyline
d723953e181850735f85eafa7bf0eb46be107b51
98346e63ed7715ef1a5d2f14c3ca0e88291538db
refs/heads/master
2021-08-15T20:03:58.240272
2017-11-16T22:21:29
2017-11-16T22:21:29
null
0
0
null
null
null
null
UTF-8
R
false
true
1,405
rd
make_eml.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/make_eml.R \name{make_eml} \alias{make_eml} \title{Make EML} \usage{ make_eml(path) } \arguments{ \item{path}{A path to the dataset working directory containing the completed metadata templates, \emph{eml_configuration.R}, \emph{datasetname...
7c1f9ad2d3f0b75199b67d271a31754bbb779da0
b06a918eb2c1a3b147a124dd204a41dbbf12ed46
/R/plot.FSA.R
e87f32f610c556e0cf77132ba3a86d231dbe440a
[]
no_license
joshuawlambert/rFSA
712cd31dfa0ba7641b20d9120227e328d4dc7c6b
b0986bb2534f550f6b6a4215d107254c370910d9
refs/heads/master
2021-07-13T14:13:30.222459
2021-06-30T16:49:59
2021-06-30T16:49:59
95,580,239
10
0
null
null
null
null
UTF-8
R
false
false
1,166
r
plot.FSA.R
#' Diagnostic Plots for FSA solutions #' #' @param x FSA object to see diagnostic plots on. #' @param ask logical; if TRUE, the user is asked before each plot. See help(plot.lm). #' @param easy logical; should diagnostic plots be presented in easy to read format? #' @param ... arguments to be passed to other functions...
0b407e53f1f9019b58b68456597bcc81d08cebea
dd8132404e8c7b028cb13cba904c50aace01c6a7
/swt/src/lib/swt/src/vt$cel.r
a774634430bee65d1fc59780369beaed8f581481
[]
no_license
arnoldrobbins/gt-swt
d0784d058fab9b8b587f850aeccede0305d5b2f8
2922b9d14b396ccd8947d0a9a535a368bec1d6ae
refs/heads/master
2020-07-29T09:41:19.362530
2019-10-04T11:36:01
2019-10-04T11:36:01
209,741,739
15
0
null
null
null
null
UTF-8
R
false
false
236
r
vt$cel.r
# vt$cel --- send a clear to end-of-line sequence integer function vt$cel (dummy) integer dummy include SWT_COMMON if (Tc_clear_to_eol (1) == EOS) return (ERR) send_str (Tc_clear_to_eol) return (OK) end
ee7a10aa3445087dad45138e4bc105831ac666fb
9d95dc6f45bd74a2c3c84163d2b914c74f568573
/man/TrenchForecast.Rd
cabba63a416a7f7c5d1453b7c8405c57e75a333a
[]
no_license
cran/ltsa
a50b94d096c10a2c331332d6d4c6a141a66e3576
0a03bbb7cf19e479dc77592ed09621eeb8afb470
refs/heads/master
2021-01-21T21:54:35.303595
2015-12-21T08:55:04
2015-12-21T08:55:04
17,697,221
0
0
null
null
null
null
UTF-8
R
false
false
4,396
rd
TrenchForecast.Rd
\name{TrenchForecast} \alias{TrenchForecast} \title{ Minimum Mean Square Forecast} \description{ Given time series of length n+m, the forecasts for lead times k=1,...,L are computed starting with forecast origin at time t=n and continuing up to t=n+m. The input time series is of length n+m. For purely out-of-sa...
0559d3c340d9b6f290e3160af0ece08ff092cd71
87c30bb64856dc8940105447abcb827f7629c468
/R/iddplacebo.spaghetti.R
488a547329d3b5a74b289f3d30e6e8f2793efc48
[]
no_license
carlbona/idd
c28f2856b25c8d085768dd1c998bd576442aff2e
888ccd68976bd6ad1bfa3211a870fd39a5243763
refs/heads/master
2021-05-05T12:22:59.283961
2018-06-10T17:37:35
2018-06-10T17:37:35
118,240,758
0
0
null
null
null
null
UTF-8
R
false
false
3,057
r
iddplacebo.spaghetti.R
#' @title Plot the estimated effects from the placebo studies. #' @description \code{iddplacebo.spaghetti} takes an output object after \code{iddplacebo} and plots the estimated placebo effects using \code{ggplot2}. #' #' @param x Name of the \code{iddplacebo} output object. #' @param mult Multiplier for the rates. Def...
df82699bb21cee0e4d62287076eb205cd6ff4c20
291cc209f6d19bee19563973eef13f59ca147178
/smartSaveTest/testcase.R
9e3fa30534982ee007bd44531f9dfc1e7b37326d
[]
no_license
dwarak98/smartSaveCSV
470d9642081b2fcebfd7a268da516b28f616cba8
82c0849e5a3d9b01279d30b94705e5f81a0c39e4
refs/heads/master
2023-04-17T01:49:51.228246
2021-04-22T10:54:59
2021-04-22T10:54:59
323,888,237
0
0
null
2021-01-01T17:26:39
2020-12-23T11:48:33
HTML
UTF-8
R
false
false
1,272
r
testcase.R
source("helperMethods.R") # setwd(dirname(rstudioapi::isAvailable()::getActiveDocumentContext()$path)) library(lubridate) library(smartSaveCSV) library(readr) library(pracma) getWindPenetration <- function(df) { df %>% dplyr::filter(variable %in% c("wind_pen_actual", "wind_pen_STF", "wind_pen_MTF")) } ...
93e642ada10cf814d165c85d56f13eab09e52668
9467c3e8fa02b25193fa6d5214a34a03039839f5
/man/tvar.Rd
4080378f48286d7a4b37435ac01cf727a208a908
[]
no_license
vishalbelsare/dsp
3fa14c61597a7db017f329d587b175e72a15b401
2cfdfbc12fca5a9907c0c1a83c2050922ca5b385
refs/heads/master
2023-08-03T12:37:07.990452
2023-07-09T22:44:47
2023-07-09T22:44:47
126,933,461
0
0
null
2023-07-10T06:42:44
2018-03-27T05:28:15
R
UTF-8
R
false
true
3,795
rd
tvar.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/mcmc_samplers.R \name{tvar} \alias{tvar} \title{MCMC Sampler for Time-Varying Autoregression} \usage{ tvar( y, p_max = 1, include_intercept = FALSE, evol_error = "DHS", D = 2, useObsSV = FALSE, nsave = 1000, nburn = 1000, ns...
2b48b248dd819ba59853f2021281e035794b745f
da003b80b72879594a248ad1e1400cfae3ac8d97
/patch/lda.svi/R/lda_svi.R
758b5d1e3ccfd95cc4c28a09c6a3ab9137df8481
[]
no_license
maximilian-aigner/reddit-activity
f5aff4e6fe55ce7489ebb30a0ddffd31d3d11b2b
81e88d5067fa33d060abbefb7f703143a7d14177
refs/heads/master
2022-11-27T20:49:14.628150
2020-08-10T12:06:17
2020-08-10T12:06:17
null
0
0
null
null
null
null
UTF-8
R
false
false
3,791
r
lda_svi.R
#' Fit a Latent Dirichlet Allocation model to a text corpus #' #' @param dtm This must be a DocumentTermMatrix (with term frequency weighting) from the tm package. #' @param passes The number of passes over the whole corpus - how many times we update the local variables for each document. #' @param batchsize The size o...
4636127583afa2a317d0335f866f257eb7fe2a2c
93f3a242a09dd7a1afcd3e56b927a5488d93ea27
/R/tar_knitr.R
fa66cc48d30ac3256f1eb2c859052a42fabb7b4b
[ "MIT" ]
permissive
kendonB/targets
23c638169d69d224735ac82cadbf58ef49c86aeb
b6fb33662c4306b0a7457d6e69acb6003a6b8dfb
refs/heads/master
2023-04-12T04:09:58.681935
2020-07-19T02:27:52
2020-07-19T02:27:52
280,758,764
0
0
null
2020-07-18T23:45:03
2020-07-18T23:45:02
null
UTF-8
R
false
false
5,558
r
tar_knitr.R
#' @title Include a knitr or R Markdown report in a pipeline. #' @export #' @description Register a knitr or R Markdown report as part of a dynamic #' target. Relies on tidy evaluation to insert a special expression into #' the target's command when the target is defined. #' @details `tar_knitr()` tells `targets` t...
43ed068ec564ecf214872a9f8593db1756f8dc0c
44e7795c40f1fa82ccf60a57af22a320a3b0fcfd
/src/julendat/rmodules/gfNonNaStations.R
380ba503321c752e94cc1d58857a93d607f2fb25
[]
no_license
environmentalinformatics-marburg/julendat
3217bf3b871fa0f3b12d2979edcead809b47fe2f
3496c21f758bfc0a06bac8e7058a3204d6a3a42a
refs/heads/master
2016-08-07T07:37:13.384975
2014-12-02T18:07:37
2014-12-02T18:07:37
null
0
0
null
null
null
null
UTF-8
R
false
false
2,839
r
gfNonNaStations.R
gfNonNaStations <- function(data.indep, pos.na, prm.dep = "Ta_200", ...) { ################################################################################ ## ## This program takes a known NA record from an incomplete monthly #...
4ba5dd51c39811706ba960be7192643e05c160a7
a97353fe3ce43bc159c9ec3a81e1b927b8625e59
/source/PDTX_structure.R
e7086b0271e83b642c8d9ab19421772de73ef0a8
[]
no_license
bhklab/BreastPDTX
f5829f0933139d7237f82121c57a3965601c797c
4d7f4ea4ecaa57dc2d7db08e72d6ed8bbe7ebd57
refs/heads/master
2022-01-02T11:31:35.605584
2021-12-22T23:57:55
2021-12-22T23:57:55
153,497,800
0
1
null
null
null
null
UTF-8
R
false
false
4,762
r
PDTX_structure.R
# Get sample names ## Run the following on mordor ## export RAW_DIR="/mnt/work1/users/bhklab/Data/Breast_Cancer_PDTX" ## ls $RAW_DIR | grep ".bam" | egrep -v '.bai|RRBS|Shall' | cut -f1 -d"." ## I like to copy the list and work on my local machine, but of course you can work on the cluster as well ## If you copy it to...
7ffe9c097c073ba380dac275384d43f35af6462f
ffdea92d4315e4363dd4ae673a1a6adf82a761b5
/data/genthat_extracted_code/pmxTools/examples/calc_ss_3cmt_linear_oral_1_lag.Rd.R
a80b155585f06c750a6f737bda0fa0faade8c8c9
[]
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
410
r
calc_ss_3cmt_linear_oral_1_lag.Rd.R
library(pmxTools) ### Name: calc_ss_3cmt_linear_oral_1_lag ### Title: Calculate C(t) for a 3-compartment linear model at steady-state ### with first-order oral dosing with a lag time ### Aliases: calc_ss_3cmt_linear_oral_1_lag ### ** Examples Ctrough <- calc_ss_3cmt_linear_oral_1_lag(t = 11.75, CL = 3.5, V1 = 20,...
09f2e580dd562364d7cf9d001e3ccc5892659fe4
1301c6e3631c0308b0c8c0710ece40b846566db9
/inst/shiny/server.R
e9da1c6f0851df53d9e52881c2a56d1a4540ec29
[]
no_license
HQData/httkgui
ae4370c64c8350669953a37bec968778640f66c5
69646dd004306f77c786a67ef4baa8a677fa5d4c
refs/heads/master
2020-04-28T00:59:31.608231
2019-01-24T17:56:36
2019-01-24T17:56:36
null
0
0
null
null
null
null
UTF-8
R
false
false
23,794
r
server.R
library(ggplot2) library(dplyr) library(tidyr) # library(plotly) shiny::shinyServer(function(input, output, session) { source("plot_functions.R", local = TRUE) source("calculate_functions.R", local = TRUE) parameter_names <- c( "BW" = "Body Weight, kg.", "Clmetabolismc" = "Hepatic Clearance, L/h/kg BW."...
0f39f6e3ca901ee1366550c363cda75db923f7f2
745e9ecc726fb37db47fbf81f77a10b9a374c05b
/man/getTableAddressing.Rd
0cde1d02117a5e47e75df8e1296db40b7bd5df24
[]
no_license
cran/ENA
c608af50058210c1ed3b3d485ffbc753e773da12
6f49d24bd908e4a7dbd39c50e0d64e609d1782a8
refs/heads/master
2021-01-02T22:37:40.847303
2014-01-20T00:00:00
2014-01-20T00:00:00
null
0
0
null
null
null
null
UTF-8
R
false
false
1,492
rd
getTableAddressing.Rd
\name{getTableAddressing} \alias{getTableAddressing} \title{Get the adjacency list addressing template.} \usage{ getTableAddressing(variableNames, truth) } \arguments{ \item{variableNames}{the names of all genes to include in the adjacency list} \item{truth}{The true adjacency matrix. Often will not be availab...
d29904eb4e3aba1b4a3446b8d66df08477cb54d8
636c3ed63c399881041c586e9e70d718ae95d7ae
/environment/virfinder.R
8bd712b3212ca7620ba8fa2d9ca6134fa17c4c3c
[]
no_license
Puumanamana/nf-viral-contigs-identification
4e57b64a052abf39998f6e019042e0133d069817
82d965718e1fd4731835229206f1b9c1279ae174
refs/heads/master
2022-12-07T20:17:45.129287
2020-08-21T07:56:17
2020-08-21T07:56:17
289,207,290
0
0
null
null
null
null
UTF-8
R
false
false
2,088
r
virfinder.R
#!/usr/bin/env Rscript require(Biostrings) require(parallel) require(VirFinder) parVF.run <- function (seqFaIn) { seqFa <- strsplit(x=as.character(seqFaIn),split="",fixed=T)[[1]] data(VF.trainMod8mer) w <- VF.trainMod8mer predResult <- NULL featureOut <- countSeqFeatureCpp(seqFa, w) featureOut_kmerCo...
fdd464916c72054860253b45463f801a1c627f41
60a1dcb82f87bc22703b05d0110f036c3dce07e0
/Metiers/Scripts/script_metiers.R
06332ed7ba0292e3f55bd698ef10e996ba9f97c4
[]
no_license
Manonifremer/RCGs
2e7f016debadd46940b114f68e19575f8561c188
f89061a3ef9880b5b4f21a6dc6b6407d3771914e
refs/heads/master
2023-08-25T07:56:26.252877
2021-10-14T15:12:16
2021-10-14T15:12:16
null
0
0
null
null
null
null
UTF-8
R
false
false
15,060
r
script_metiers.R
library(stringr) library(data.table) library(openxlsx) library(purrr) library(lubridate) rm(list=ls()) gc() # Import all functions for(f in list.files(path="./Scripts/Functions", full.names = T)){ source(f) } rm(f) # Load the input data data.file <- "data_input_example.csv" input.data <- loadInputData(data.file) r...
f0be8ce0b0822be3f540f707b7ed6b8dd2a4d72d
c275a9710945be41621d3981d8c78fc7a6e74873
/R/coef.R
d7b2a40b3a5cf39c7273697a6819b3b7caf26dda
[]
no_license
mhu48/pudms
e60bbc1a359e191a28787d2debfa3ccb6394e40c
1564b34f6c241b9e02f814ac73d0cbd12bfc3112
refs/heads/master
2023-02-06T01:36:16.598004
2020-12-29T22:53:18
2020-12-29T22:53:18
null
0
0
null
null
null
null
UTF-8
R
false
false
143
r
coef.R
#' @import PUlasso #' @importFrom stats coef #' @export #' @method coef pudms.fit coef.pudms.fit<-function(object,...){ coef(object$fitted) }
3b744a92c3c2bbf6376921b230306d2889b01000
0b1dd5509959785e1151563f401a91cc1220a07a
/tests/testthat/test-accounts.R
905dc144c154d6ae2f59c601a41644ef4d89b6d8
[ "MIT" ]
permissive
jfontestad/gdaxr
30a001a08b1e69b8f33fe9263465e140e6e17a2f
bdb7cbf695bf959825e3ab4e7332cacf243130a3
refs/heads/master
2022-01-25T13:43:46.544313
2018-01-23T02:23:07
2018-01-23T02:23:07
null
0
0
null
null
null
null
UTF-8
R
false
false
2,370
r
test-accounts.R
context("accounts") test_that("accounts are listed correctly", { accounts <- with_mock_API(get_accounts()) expect_identical(length(accounts), 2L) expect_identical(length(accounts[[1]]), 6L) expect_identical(length(accounts[[2]]), 6L) expect_identical(accounts[[1]][["id"]], "71452118-efc7-4cc4-8780-a5e22d4b...
7ca997a5fb4c24563ac5430a3ac54fa9eb1e44f6
f8eb55c15aec611480ede47d4e15e5a6e472b4fa
/analysis/0114_tendencies_sp500.R
75c3cabb8efaad8a22b7e5156e26bd399707016b
[]
no_license
nmaggiulli/of-dollars-and-data
a4fa71d6a21ce5dc346f7558179080b8e459aaca
ae2501dfc0b72d292314c179c83d18d6d4a66ec3
refs/heads/master
2023-08-17T03:39:03.133003
2023-08-11T02:08:32
2023-08-11T02:08:32
77,659,168
397
32
null
null
null
null
UTF-8
R
false
false
2,019
r
0114_tendencies_sp500.R
cat("\014") # Clear your console rm(list = ls()) #clear your environment ########################## Load in header file ######################## # setwd("~/git/of_dollars_and_data") source(file.path(paste0(getwd(),"/header.R"))) ########################## Load in Libraries ########################## # library(scales...
c1568d0e5662e1a2dbd4c1a10130b7be51c52ac2
ba3882d86260c2204210f627f2ddfa7199cfa60d
/cachematrix.R
83194c3d2672c171a9a5e8c86f540f585519ef46
[]
no_license
speakwithalisp/ProgrammingAssignment2
70393061e367f736546ba82065b0abeb9ad8603b
cd325caec5564b1e0a2f7533c6c151eb2724029e
refs/heads/master
2020-04-06T04:40:01.367765
2015-04-26T18:05:50
2015-04-26T18:05:50
null
0
0
null
null
null
null
UTF-8
R
false
false
1,894
r
cachematrix.R
## The following functions utilize the lexical scoping of R language to cache potentially expensive matrix inversion operations. #This function takes a matrix and makes it into a "cache" matrix. It has getters and setters to access the matrix object and its "inverse" defined as an attribute of a makeCacheMatrix objec...
4d817fcd5a2096e84c14597afef5907bfacd37aa
7c9c2e23420a68537b2988ea08f25ac16db42a9c
/maps/special_avg_new_cases_per_100k_last_14_days.R
f83b82afce32c67934f50718791a61bc5078e1ea
[]
no_license
VinayArora404219/TN_COVID
eede36a1ccb8617c3f0d36199366b7e2082467bb
a9dd22a17eafa9e3511b1db658c04a83ef1ebfd0
refs/heads/master
2022-11-26T18:23:37.449134
2020-08-06T03:10:56
2020-08-06T03:10:56
285,459,297
0
0
null
2020-08-06T03:03:17
2020-08-06T03:03:16
null
UTF-8
R
false
false
2,698
r
special_avg_new_cases_per_100k_last_14_days.R
################################################################################ ### Map of new cases per capita the last 14 days by county. This map can be ### found at: https://www.tn.gov/health/cedep/ncov/data/epi-curves.html ### I've seen Phil Williams @ NC5 use it several times so I thought it was worth ### repl...
0a6e6f935b7812272d7818697d95b5eca36c1096
98812f2e5b9efd30c62883d30ad8a989eb34a156
/Sarit Polsky/PICLS/Pump/clean_and_calculate_all.R
97d9e66b25992f1532947d24c6bf876837522859
[]
no_license
childhealthbiostatscore/BDC-Code
8983b1cc0d1bceab9e7ccb7b8b4d885ba1b45fa8
eb48c29233fc3d956167bf2481a5c5ed827ebb72
refs/heads/master
2023-09-02T09:46:41.745174
2023-09-01T20:04:44
2023-09-01T20:04:44
168,424,966
0
0
null
null
null
null
UTF-8
R
false
false
7,648
r
clean_and_calculate_all.R
library(tidyverse) library(readxl) library(tools) library(parsedate) library(cgmanalysis) library(pdftools) source("/Users/pylell/Documents/GitHub/BDC-Code/Sarit Polsky/PICLS/Pump/pump_variables.R") setwd("/Volumes/BDC/Projects/Sarit Polsky/PICLS") # Want data about 1 month prior to questionnaires #dates = read_excel...
c21dc4286d1b8091483f908d721c00799cf663be
cfd42578c552ea9b863846fac0be37867cd3da90
/R_scripts/polysome profiling.R
8127b6e08c1dffbb2687b72c259a4b3a5453daba
[]
no_license
tsekara/TransRefiner
88a1ad1ec6d80c9ed3cd162ba4449de5a088f2e8
27629ed135124b381a453454c3e2b7502bb7dd96
refs/heads/master
2022-11-15T01:04:29.900762
2020-06-18T14:04:51
2020-06-18T14:04:51
256,861,717
0
0
null
null
null
null
UTF-8
R
false
false
8,027
r
polysome profiling.R
#!/usr/bin/Rscript ## change things here to alter script output input.dir <- "/home/tsekara/Downloads/Polysomefiles/"; filenames=dir(input.dir,pattern="*.csv") for( i in 1:length(filenames) ) { # name of input file to process #input.file <- sprintf("%s%s",input.dir,"100315_2_100U.csv"); input.file <- sprintf("%s%s",in...
142c1fdcc18b1ddabbee1ba72c0a04751edc80bf
29585dff702209dd446c0ab52ceea046c58e384e
/checkmate/tests/testthat/test_checkChoice.R
57ec130f7638c40e94741c8e584b684c763bc813
[]
no_license
ingted/R-Examples
825440ce468ce608c4d73e2af4c0a0213b81c0fe
d0917dbaf698cb8bc0789db0c3ab07453016eab9
refs/heads/master
2020-04-14T12:29:22.336088
2016-07-21T14:01:14
2016-07-21T14:01:14
null
0
0
null
null
null
null
UTF-8
R
false
false
611
r
test_checkChoice.R
context("checkChoice") test_that("checkChoice", { myobj = 1 expect_succ_all(Choice, myobj, 1:3) myobj = 0 expect_fail_all(Choice, myobj, 1:3) expect_false(testChoice(character(0), letters)) expect_false(testChoice(NULL, letters)) expect_false(testChoice(1, NULL)) expect_error(testChoice(list(1), as.li...
206a0351be8eff763d910f390db1d2c499dedd59
dbb8e3961b743e36de7ac45a6f5e73383006ea8c
/R/zzz.R
474977c544b29f1d11966f7b9ea85e261d8ccf7d
[ "MIT" ]
permissive
non87/SISeg
ccf26df7845f855b212ae900a14260d7419d98f6
b011ba35c5dad6d9c91b050bd60b5690917ff3f9
refs/heads/master
2023-01-21T18:22:14.865202
2020-12-01T22:11:18
2020-12-01T22:11:18
314,720,523
0
0
null
null
null
null
UTF-8
R
false
false
132
r
zzz.R
# Create the framework/index/derivative lists in the index_environment .onLoad <- function(libname, pkgname){ create_env_lists() }
11098b548f68f58a1e89d0f984a52f988754e9ad
604058771cc0ef5dbaf48dc73dee14fefab0cdb8
/code/gff_to_gene_fasta.R
fa5a2698fc4ca16624434d766b5ad08ee555dc1f
[]
no_license
nemhauser-lab/brassica_rna_seq
c7e3c77a5f3f844649cca28cc67a5621c3fe8d73
92f428d75c08f51ff40af00a8af082d0e1d7e5f9
refs/heads/master
2020-06-23T05:49:01.313898
2019-08-02T16:54:19
2019-08-02T16:54:19
198,528,136
0
0
null
null
null
null
UTF-8
R
false
false
3,257
r
gff_to_gene_fasta.R
library(Biostrings) library(GenomicRanges) library(rprojroot) library(plyr) library(BSgenome) rootDir <- find_root(is_rstudio_project) dirPath <- file.path(rootDir, "data", "Brapa2.5") genomeFile <- file.path(dirPath, "BrapaV2.5_Chr.fa.gz") BrapaGenome <- readDNAStringSet(genomeFile) gffFile <- file.path(dirPath, "Br...
8a6d3269a29c3ff6f3cb59fdd89e3c3e0b11cc1a
468d9bb47216ebe06564f014d9b314c7da6be263
/01rscripts/02conventional_sl/02_functions.R
863d9fd86af1aac0854b99012cdf4706f16ee3bd
[]
no_license
toni-ml/sys_review_ml
1f5349daebec8f29d32cbc4e09c1fb177bf17335
149c23be6cdcc67e327701b8643b4a58428561d2
refs/heads/main
2023-04-17T01:11:44.042926
2021-04-29T15:02:46
2021-04-29T15:02:46
344,104,653
0
0
null
null
null
null
UTF-8
R
false
false
28,824
r
02_functions.R
#******************************************************************************* #******************************************************************************* ########################## functions ################################## #****************************************************************************...
eb630333c9efb772f70fee8eae4e387a3c86909d
29f8f3ee59c366ea408633d183614bc39b49b26d
/UEM_CCS/[CCS] suicide_geo_socioeconomical.R
5468ec6eaeba2e6aa181e37569a27fd8fe17f2a7
[]
no_license
souzajvp/analytical_codes
92db345dc75f128c2f25fb7b28f0891139ffea98
dcc49662253ba1dbd4f54b8c4caea40232632783
refs/heads/master
2023-05-23T06:06:12.058469
2021-06-07T18:11:00
2021-06-07T18:11:00
null
0
0
null
null
null
null
UTF-8
R
false
false
16,843
r
[CCS] suicide_geo_socioeconomical.R
##################################################################################### #BASIC R STATISTICS TEMPLATE ##################################################################################### # # # # # ##################################################################################### #SETTING ENVIRONMENT ##...
909abc15f679a9af46a3659aff1c4e19a46654ac
521bb895b5edc039fcccd2f535f3efe0f9fc788a
/R/prediction_arima0.R
7cfd14cb6146d73b8ed15e02c6624c6d2b8408cc
[]
no_license
cran/prediction
f44e5446d260fbf06d2b8c64ea076b6c58381b17
b3dbe3f40752da53c95e03a05fc9e8dba91ddc9d
refs/heads/master
2021-01-11T06:53:35.254761
2019-06-17T18:40:03
2019-06-17T18:40:03
72,375,519
0
0
null
null
null
null
UTF-8
R
false
false
71
r
prediction_arima0.R
#' @rdname prediction #' @export prediction.arima0 <- prediction.ar
7adfe54310d9ce7a59f48918a88326bd2074bed4
50711e687a44aeb126149528f2e5deec6e261cfb
/correlation_deconvolution_cells.R
cef35e00133f780d49d26fa2255a64f4ee83cc49
[]
no_license
BlackburnLab/immuneCellEnrichment
83ba534213e7a7de6a21b6854149b182b3a56545
3f23106995dca2a7037b8f21f1499f438ef194a3
refs/heads/master
2023-04-02T13:22:44.139834
2021-03-14T18:58:49
2021-03-14T18:58:49
352,647,806
0
0
null
null
null
null
UTF-8
R
false
false
15,669
r
correlation_deconvolution_cells.R
setwd("C:/Users/Javan_Okendo/Desktop/cybersort/decon_statistical_test") library(dplyr) prevTB <- read.csv("prevTB.csv",header = T,sep = ',') head(prevTB) attach(prevTB) # Show the g levels levels(prevTB$g) #Previous TB # Box plots # Plot weight by g and color by g library("ggpubr") colnames(pre...
87608c0649cf59e4def416717d9b7daf409d5c64
726abd47c598f785f90342266c00d514c75b9478
/src/10-supplement-imputation-effect.R
a2406c41fe9ca42cd24fa0d1c0e864b545aef2de
[]
no_license
yangxhcaf/surrogacy-among-biodiversity-dimensions
50c4e248c7842e71df08929af6c4fe1a77b3c499
f69bd5eced3c0258e36baa43371e6b3d51511c1a
refs/heads/master
2021-09-24T16:18:17.351197
2018-10-11T18:15:58
2018-10-11T18:15:58
null
0
0
null
null
null
null
UTF-8
R
false
false
2,816
r
10-supplement-imputation-effect.R
############################################################## ##### -- Good surrogacy among biodiversity dimensions -- ##### ############################################################## ################### SUPPLEMENTARY ANALYSIS ################### ######################################################### ##### -- T...
8b008238ab591ef5b27e646b172f0aaf089fd72a
54bf9bc76aaa7e1fec5961efb12bfb636fa90a2e
/Archive/NIMBioS.code/shinyparameters.old/shiny_parameters/ui.R
bc0bd4b21659359fde63244ae24826f527c7f5c0
[]
no_license
christianparobek/skeleSim
25d63dc3eeee6d8218d19e0f011229cfb843d053
0d61409497283ac1db129379b479639261695f83
refs/heads/master
2020-03-28T05:36:45.448623
2020-02-26T21:55:51
2020-02-26T21:55:51
32,469,895
3
9
null
2017-11-22T16:30:16
2015-03-18T16:16:29
HTML
UTF-8
R
false
false
4,674
r
ui.R
source("setup.R") shinyUI( navbarPage( "skelesim", tabPanel( "File", navlistPanel( tabPanel( "Load parameters", fileInput("fileParams", h4("Choose .Rdata File")), uiOutput("uiSelectParamObj"), textOutput("txtSelectedTitle") ), tabPa...
1409f015e6ee209f760f37449e8f961840bbc326
bc4a4a37217b325d1b913d8dc750210c91c41db3
/Cluster analysis/Cluster_detection.R
40b6a3ec28d1abed5d939882ffed21425c670672
[]
no_license
jshannon75/ACFB_analysis
b2490aefa6f7be8c139338672bbc61eced895774
d9da0c669b67eca3a5ac11049f7b420c0f854817
refs/heads/master
2021-06-10T18:02:31.870545
2017-02-08T16:15:16
2017-02-08T16:15:16
null
0
0
null
null
null
null
UTF-8
R
false
false
844
r
Cluster_detection.R
library(MASS) library(ggplot2) library(plotly) #Create fit from sample data item.dist<-dist(SampleData1) fit<-isoMDS(item.dist,k=2) fit # plot solution x <- fit$points[,1] y <- fit$points[,2] plot(x, y) text(x, y, labels = row.names(SampleData), cex=.7) #kmeans dist.sample<-data.frame(cbind(x,y)) cluster.sample<-km...
4fc93503086506785d7f5ca123b30c00135ab674
a47ce30f5112b01d5ab3e790a1b51c910f3cf1c3
/A_github/sources/authors/2774/plotly/data.R
6defe37548678c31b1e44e6f2644b7a931022ea2
[]
no_license
Irbis3/crantasticScrapper
6b6d7596344115343cfd934d3902b85fbfdd7295
7ec91721565ae7c9e2d0e098598ed86e29375567
refs/heads/master
2020-03-09T04:03:51.955742
2018-04-16T09:41:39
2018-04-16T09:41:39
128,578,890
5
0
null
null
null
null
UTF-8
R
false
false
344
r
data.R
#' Wind data #' #' Description TBD. #' #' @format A data frame with three variables: `r`, `t`, #' `nms`. "wind" #' Mic data #' #' Description TBD. #' #' @format A data frame with three variables: `r`, `t`, #' `nms`. "mic" #' Hobbs data #' #' Description TBD. #' #' @format A data frame with three variables: `r`, `...
b6d3e30880fe0ba5ad90fe4fb173e4ad720f9161
6a85c3b1ce095a59a241585251c79e56a9709519
/HW4/PCA code.R
a72da136bbb7354308dd6adc444d4e27305932d5
[]
no_license
ApoorvaSrinivasa/Applied-Machine-Learning
a0402e12d2f94d6cb033af56dc7f9bc6b6831c8a
71e9e23bfe6af221d3b85b8860c32bba9d6d5fef
refs/heads/master
2020-04-23T19:28:15.284833
2019-09-01T06:33:54
2019-09-01T06:33:54
171,405,132
1
0
null
null
null
null
UTF-8
R
false
false
7,719
r
PCA code.R
#Homework 4 setwd("C:/JuliaT/Univ of I/CS 498 AML/Homework 4") #downloaded dataset from https://www.cs.toronto.edu/~kriz/cifar.html. ##########ref for reading the files - https://stackoverflow.com/questions/32113942/importing-cifar-10-data-set-to-r ############################################# Read Data #########...
cd1bc975d47030825bd39feff382aace545b2c5f
ffdea92d4315e4363dd4ae673a1a6adf82a761b5
/data/genthat_extracted_code/ypr/tests/test-sr.R
c807a5702506c26407127167867e32f4e8acd915
[]
no_license
surayaaramli/typeRrh
d257ac8905c49123f4ccd4e377ee3dfc84d1636c
66e6996f31961bc8b9aafe1a6a6098327b66bf71
refs/heads/master
2023-05-05T04:05:31.617869
2019-04-25T22:10:06
2019-04-25T22:10:06
null
0
0
null
null
null
null
UTF-8
R
false
false
1,235
r
test-sr.R
context("sr") test_that("sr", { bh <- ypr_sr(ypr_population()) ri <- ypr_sr(ypr_population(BH = 0L)) expect_is(bh, "data.frame") expect_identical(names(bh), c("alpha", "beta", "Rk", "phi", "phiF", "R0", "R0F", "S0", "S0F")) expect_identical(names(ri), names(bh)) expect_equal(bh$alpha, 0.0006708921, check.a...
f7536602737cc32e485b0692ca5c88b967ea9d81
c55ad53d28079d4f75eefd3845dcbed1efd470d3
/reverse/app.R
a390de64fd2a6290c8bb241c145a06faebaa5006
[ "MIT", "CC0-1.0" ]
permissive
boltomli/MyShinyApps
8d2860b3d17739c0686d0b4087efbaaae80727e4
59b7edc132d8e97f7cf66958d8eaf5b7acc6da3f
refs/heads/master
2021-01-01T03:54:27.519946
2020-07-10T14:57:15
2020-07-10T14:57:15
56,049,788
6
0
null
null
null
null
UTF-8
R
false
false
2,631
r
app.R
library(tuneR) library(XML) library(httr) library(jsonlite) library(shiny) ui <- fluidPage( titlePanel("Say something and play it in reverse"), sidebarLayout( sidebarPanel( textInput("text", "text to convert:", "文本"), tags$hr(), helpText("View", a("source cod...
ef39d9c9181ee4d64832f0bee38d1c2e790adf9c
f5c18b46de92ca5399f8ff0a2d4cb01fa92412b5
/utilities/topic_modeling/numTopic_Optimize.R
c11bdd1e16216d9ee468374fd73802eaf7a08d83
[]
no_license
observermedia/content-analysis
f70829d19e6285f8fe97748e4fb58c699ca95e61
3acb2b825e101fee1de1fca0fe9859563c574867
refs/heads/master
2021-01-20T12:10:53.985665
2016-12-20T23:46:43
2016-12-20T23:46:43
70,710,998
1
0
null
null
null
null
UTF-8
R
false
false
2,428
r
numTopic_Optimize.R
require(rjson) #require(RJSONIO) require(NLP) require(tm) require(topicmodels) require(SnowballC) require(LDAvis) json_file <- fromJSON(file='clean_data2.json') json_file <- lapply(json_file,function(x){ x[sapply(x,is.null)]<-NA unlist(x) }) #bind together as dataframe and remove NA's df <- as.data.frame(do....
4f8527c5b9a4419ddc565d2aeae72ac5c499c78c
ffdea92d4315e4363dd4ae673a1a6adf82a761b5
/data/genthat_extracted_code/broman/examples/fac2num.Rd.R
b9e0329fac21812cdb3112dadeab34b2a699ddcd
[]
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
176
r
fac2num.Rd.R
library(broman) ### Name: fac2num ### Title: Convert a factor to numeric ### Aliases: fac2num ### ** Examples x <- factor(c(3, 4, 9, 4, 9), levels=c(3,4,9)) fac2num(x)
0769dd4ee17010061d9422a7a4dc6abd54d62c3a
f606dc05a68407496aa3dccd0f56cf147d4bad82
/rprog_data_specdata/complete.R
6a0991cf1b0b5f4d1f567b8d542ea5ff94188fbe
[]
no_license
Osirisis/RProgramming
4fe68662b0779928bc683d00d773d900c1cb6cd6
95c94e78255e7dfa0e748eec93f1e2d3758e99da
refs/heads/master
2021-01-09T20:16:47.580362
2016-06-11T18:53:59
2016-06-11T18:53:59
60,922,725
0
0
null
null
null
null
UTF-8
R
false
false
599
r
complete.R
complete <- function(directory, id = 1:332) { myid <- id for(i in 1:length(id)) { if(id[i]<10) { myid[i] <- paste("00",id[i], sep="") }else if(id[i]<100) { myid[i] <- paste("0",id[i], sep="") } } myoutput <- matrix(data=NA, nrow = length(id), ncol = 2) dimnames(myoutput) <- list(1:leng...
a18d544115e6a6cdc528c64dcb12d85c99f09427
2a7e77565c33e6b5d92ce6702b4a5fd96f80d7d0
/fuzzedpackages/PO.EN/man/example.data.Rd
4a89137678dd95f200109bee5ccac95244c2d4ed
[]
no_license
akhikolla/testpackages
62ccaeed866e2194652b65e7360987b3b20df7e7
01259c3543febc89955ea5b79f3a08d3afe57e95
refs/heads/master
2023-02-18T03:50:28.288006
2021-01-18T13:23:32
2021-01-18T13:23:32
329,981,898
7
1
null
null
null
null
UTF-8
R
false
true
939
rd
example.data.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/data.R \docType{data} \name{example.data} \alias{example.data} \title{Example datasets} \format{ The \code{example.data$train.data} and \code{example.data$test.data} are dataframes with 220 and 100 observations and 146 variables. \describe{ ...
6a94ddad9e2d59b953fc1d030c4183930ecbd4fe
26f19812adb9b17b75bfd26fa4212809b6422937
/Old_RF_Code/4_RandomForest.R
0be71c0ee481eb76011eec7bf63a365fafb1c0c5
[]
no_license
nskaff/gleon_predict_salt
ebcfdf4de30a3fc4e5ee3a03cd762d3fba10e475
946d30c818c47cfd8ba90852eebf295e6161239f
refs/heads/master
2022-05-02T12:13:58.398669
2022-03-09T18:55:02
2022-03-09T18:55:02
152,502,719
0
1
null
2020-06-18T19:26:21
2018-10-10T23:30:19
HTML
UTF-8
R
false
false
19,564
r
4_RandomForest.R
# title: "WI_chloride_randomforest" # author: "Hilary Dugan" # date: "4/5/2019" library(forestFloor) library(randomForest) library(ranger) library(tidyverse) library(scales) library(sf) library(LAGOSNE) library(caret) library(lubridate) library(parallel) library(devtools) # Load data datin = read_csv("LAGOS_prediction...
0ba22a920d0d06fdeaf4ec423338ffba0c11e13d
83aa4e1f4fc491ac7dac2874a94aab9c43648507
/cachematrix.R
3280f34a7e748066dd69bb7b249cd541e119c8e6
[]
no_license
mrojze/ProgrammingAssignment2
2c6fc8a5a7da001d666ec70e112124c100b5d16c
3c646e6bbb6dae80b16d57dcfa8bf74574724608
refs/heads/master
2021-01-21T02:03:14.505672
2015-08-20T20:18:49
2015-08-20T20:18:49
41,099,790
0
0
null
2015-08-20T14:18:53
2015-08-20T14:18:53
null
UTF-8
R
false
false
1,286
r
cachematrix.R
## The goal is to be able to cache any matrix inverse calculations ## E.g. ##Give a matrix -> ##tm <- stats::rnorm(16) ##tm ##dim(tm) <- c(4,4) ## ##Define the CacheMatrix -> ##qq <- makeCacheMatrix(tm) ## ##Load the matrix with the inverse (solve) -> ##cacheSolve(qq) ## ## makeCacheMatrix -> This function creates a s...
214512d4e4c61f92e4db7ef2d0d55cef26bc8e50
fc5a73575695f17d71214918f026923a1ee2f81f
/R/JJF.R
83ed9b4397ae65b6cdbe823972e247807bcf9f8a
[]
no_license
ssgantayat/brinla
01c99c2dcf4b8abeb2ce600f22750e42f503a60e
338abb581fb92d23bee9e7bd4fcebd82aaac993a
refs/heads/master
2022-12-16T16:37:44.945687
2020-09-22T17:24:46
2020-09-22T17:24:46
null
0
0
null
null
null
null
UTF-8
R
false
false
12,498
r
JJF.R
#' Convert precision to SD #' #' @author Julian Faraway, \email{jjf23@bath.ac.uk} #' @param prec a precision density #' @param internal logical indicating whether this is an internal representation #' #' @return an SD density #' @export bri.hyper.sd = function(prec,internal=FALSE){ if(internal){ inla.tmarginal(fu...
ae63541da90454548fbc1f22651f6ad61aef21cd
8a02b3940327bbe2fab42006e634fdd094ae527c
/R/tw_buy_phone.R
5adca6858a2f63c53fd8a37d374d1ebfc576e2ab
[]
no_license
carlganz/twilio
05bb5840e488d0cbcebe59be1d461031f38ea3ef
ee0cbc5c24689694763b29e98cc476992cee90f0
refs/heads/master
2021-07-05T08:22:05.666016
2018-05-18T17:47:00
2018-05-18T17:47:00
100,397,144
1
0
null
2017-08-15T16:29:55
2017-08-15T16:29:55
null
UTF-8
R
false
false
964
r
tw_buy_phone.R
#' Add a new phone number to your account #' #' To send messages with Twilio you must purchase phone numbers. #' @param phone_number String representing phone number to purchase. See notes. #' @note Phone numbers must be in E.164 format. '*' represents a wildcard digit. #' @export tw_buy_phone_number <- function(phone_...
8bddf983044e9e93ad13e9bb50fc714be5f4e333
b95e1106b931eccb03ca8629b267c21b6cb85c16
/R/cumvar.R
e60b631710fa467a1768e9cef2c59677d7f4859a
[]
no_license
cran/cumstats
4e578a3b272ed8d586e544675ac2e418557cca1a
27d91fda01018554bc91b1e03a79aa77dadad1f8
refs/heads/master
2021-01-11T20:20:09.203723
2017-01-16T07:13:00
2017-01-16T07:13:00
79,092,717
0
0
null
null
null
null
UTF-8
R
false
false
80
r
cumvar.R
cumvar <- function(x) sapply(seq_along(x), function(k, z) var(z[1:k]), z = x)
998cbc13b4b2790d1368fa10965aadb3e616406a
a9e600682610ec4be2fe709316f1e430d1e664f7
/server.R
9213dcca62ff49d90fb69f3691616ae76616254f
[]
no_license
mkmitchell/shinyebird
101b29cda83601911b9a78e7645f4aae0adfc8a5
e297e598e51262ac7f696d1af9880c28088cfe44
refs/heads/master
2021-01-22T20:26:24.932402
2018-02-13T15:14:23
2018-02-13T15:14:23
85,324,894
0
0
null
null
null
null
UTF-8
R
false
false
7,386
r
server.R
library(ggplot2) library(scales) library(diptest) library(shiny) library(TTR) library(splines) ################################################################################### # Silvermans test # # http://www-bcf.usc.edu/~gourab/code-bmt/tables/table-2/ # silverman.test <-function(x,k,M=999,adjust=FALSE,digits=6) #...
e2fdd64594d4a071fbd210ed56f28b083f64ea7d
dbddd8c5408cfa93016dc70af545ab9eedbcba6c
/man/interpretR-package.Rd
5fad0675478bc8513e14ff3b92ed793fa3232a24
[]
no_license
cran/interpretR
26f8499e4a1c260a13eb8a447ac747e7a9a46f0a
77b723f34d864c341a3d0c4f73fe4c5a14e9c2a6
refs/heads/master
2023-09-01T02:21:13.517431
2023-08-19T22:22:31
2023-08-19T23:30:48
26,950,586
0
0
null
null
null
null
UTF-8
R
false
false
776
rd
interpretR-package.Rd
\name{interpretR-package} \alias{interpretR-package} \alias{interpretR} \docType{package} \title{ Partial Dependence Plots and Permutation-Based Performance Measures } \description{ Compute permutation-based performance meaures (for binary classification) and create partial dependence plots (cross-validated classificat...
43153de5314915a6205c343363e61ef291ce4ba7
38ac9c4ed4f42bb582e19f0fe28dba81a77f0eea
/src/getIndex.R
c189743b5842d03df575c31f1f01b6f2aae17138
[]
no_license
colbyw5/sec_scrape
69770b7e8bc7d73ab64c9dec18c3768c62599d19
310f4a5ed17fb050dc14099965d21c18a15ba225
refs/heads/master
2020-12-19T23:31:21.395063
2020-01-24T01:42:38
2020-01-24T01:42:38
235,885,512
3
0
null
null
null
null
UTF-8
R
false
false
3,448
r
getIndex.R
#' Clean text from SEC Edgar file #' #' #' @param text text to be cleaned #' @return text in lower case without symbols or whitespace #' require(tidyverse) cleanText <- function(text) { text <- tolower(text) text <- str_replace_all(text, "[^:[:alnum:]]", " ") text <- str_squish(text) return(te...
6a8e708ea7a9779ec55779c862d7294eb9c82c98
9b232487e19fc860f6161f4294fecefe516edad6
/arimaSAC.R
25686d67ccded031c95e97141c882a1952b3d2c6
[]
no_license
ragAgar/forecast
15b9caad9616636006505d7d7877f8f40b24bf6c
82393026cdd0a3b4ef68325b2d4e6af67ee2d48b
refs/heads/master
2021-01-21T05:23:06.875923
2017-02-26T03:33:34
2017-02-26T03:33:34
83,180,151
0
0
null
null
null
null
UTF-8
R
false
false
4,689
r
arimaSAC.R
arimaSAC<-function(p,d,q,y,s="MONTH",jissoku,trace="T",method="MAPE",h=2){ if(s=="MONTH"){s<-12} if(s=="WEEK"){s<-52} th<-length(jissoku) traintemp<-y[1:(length(y)-(h+1))] evaluationtemp<-rbind(y[(length(y)-(h-1)):length(y)],jissoku) pred.value<-array(rep(0,(th))) for(h1 in 1:th){ best<-0 evaluati...
08a8de8eadd226f9af37191f3d6f938a7788488d
ebe0a4b323f2e17dca808583da2363e4d6efbd7e
/R/time_arr_to_mat.R
da15b8ea29978558dcec7f9e6e870af1b4faf2d3
[]
no_license
aaronolsen/linkR
7aeeb924b209cdf8d3e58f488d7d04af505d899a
6a9a40888fda73171372aee85f9b410068f0169e
refs/heads/master
2021-01-10T22:50:07.336303
2019-06-13T14:45:28
2019-06-13T14:45:28
70,348,665
6
1
null
null
null
null
UTF-8
R
false
false
240
r
time_arr_to_mat.R
time_arr_to_mat <- function(arr, times){ # Convert coordinate array to matrix mat <- arr2mat(arr) # At time column mat <- cbind(mat, times) # Add time column label colnames(mat) <- c(colnames(mat)[1:(ncol(mat)-1)], 'time') mat }
aff4a9444f35e73f66f4d9a24f086ca796f6b239
1f53587b329fe58250bb804a9cffdb34e2b95bef
/3 курс/R project/sample variance.R
b82e2bea6a4f660bc0248c814fbc47a5ab5a699f
[]
no_license
vladborisovjs/Polytech
b43519bdea3482c9d7d680e378292b9d7e9ebc35
60fb31362243558d1c323a52015ad4042668abc1
refs/heads/master
2020-04-02T18:23:35.995868
2018-10-25T16:03:27
2018-10-25T16:03:27
null
0
0
null
null
null
null
UTF-8
R
false
false
670
r
sample variance.R
S1<-0 S2<-0 S3<-0 S4<-0 S5<-0 S6<-0 M<-0.001 for(i in 1:1000){ S1[i]<-var(rnorm(5,0,1)) S2[i]<-var(rnorm(10,0,1)) S3[i]<-var(rnorm(15,0,1)) S4[i]<-var(rnorm(20,0,1)) S5[i]<-var(rnorm(40,0,1)) S6[i]<-var(rnorm(100,0,1)) } firstmid1<-sum(S1)*M firstmid2<-sum(S2)*M firstmid3<-sum(S3)*M firstmid4<-sum(S4)*M fir...
c340fa850284ee4d36ba1be06aecbe926636433d
95e08bcbcaae32468488c534cce201730e65a920
/Week 05/Pre-class-week-05_Rscript.R
7439ee456025c2f07ab6699fb85f675cea910558
[]
no_license
PHP-2560/pre-class-work-2018-kvoorhies
ea174886df1a377bd767911aefd9902978544230
627c6e7ca0605c9bd5c0dccc0c424c77012028d2
refs/heads/master
2020-03-28T23:56:38.673338
2018-12-05T03:38:22
2018-12-05T03:38:22
149,316,992
0
0
null
null
null
null
UTF-8
R
false
false
2,612
r
Pre-class-week-05_Rscript.R
# pre-class Make sure you commit this often with meaningful messages. ```{r setup, include=FALSE} knitr::opts_chunk$set(echo = TRUE) ``` Standardizing a variable means subtracting the mean, and then dividing by the standard deviation. Let’s use a loop to standardize the numeric columns in the [Western Col...
e233386acb17cb1d8c6cda01bfd642e24d941702
89523e086f4021e1498107956a9cedac404b9ef1
/R/escalator.R
8abbd91ca62b8acb49260412342648cae1c9ec4e
[]
no_license
christianbitter/rOCologneKVB
73f7845f27cc8d5d0d80c4645cb0d06a3ffa3ef6
81148087858cc2c258e310275ecad60ee6702a36
refs/heads/master
2021-05-22T01:46:16.759048
2020-05-30T04:20:57
2020-05-30T04:20:57
252,913,503
0
0
null
null
null
null
UTF-8
R
false
false
2,019
r
escalator.R
#'@author christian bitter #'@name escalator #'@title KVB - Escalator #'@description returns the escalator information from the KVB Open Data Portal #'@return an sf object of the provided data (EPSG 4326). #'@param as_spatial should data be returned as sf (default False) #'@examples #'escalator_sf <- escalator() #'@exp...
120b73833e092d72a93937e79ded0ce564212f43
06b0f34938f510e063147fb96eebf83f2d0276e9
/plot1.r
f3c5bf5cd6145d7c160dbdbe2a6ea5ba95bb829c
[]
no_license
erictengland/Exploratory-Data-Analysis-Project-1
53d9d56e25b0a13bbc08c9db2a3f5cd88c423157
3c6763df3cc9c7019165ecd5d6e6880d2335ad6a
refs/heads/master
2021-01-01T15:50:57.540343
2015-06-07T23:31:28
2015-06-07T23:31:28
37,035,101
0
0
null
null
null
null
UTF-8
R
false
false
1,145
r
plot1.r
# Data downloading and processing. temp <- tempfile() download.file("https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip",temp) data <- read.csv(unz(temp, "household_power_consumption.txt"),sep=";") unlink(temp) rm(temp) subset1<-data[data$Date=="1/2/2007",] subset2<-data[data$Date=="2...
045cd08a2f86365aeb7cd0fa27c67c6d0444e59d
01b1302af51d339f7c8827a620c4a5fb26c890f1
/core/standardizeDPSNames.r
56ec2cb2d40531dddbde6bf802a51e9dbc882ca0
[]
no_license
ihmeuw/gf
64ab90fb5a5c49694bde1596f4b20fcf107a76e3
29e0c530b86867d5edd85104f4fe7dcb1ed0f1ee
refs/heads/develop
2021-08-15T02:16:59.086173
2021-08-03T19:52:31
2021-08-03T19:52:31
109,062,373
3
6
null
2019-03-21T01:48:02
2017-10-31T23:17:16
R
UTF-8
R
false
false
3,379
r
standardizeDPSNames.r
# -------------------------------------------------------- # Function that stanardizes DPS names in DRC # # Inputs: # nameVector - a vector of class 'character' containing names of DPS's to be standardized # # Outputs: # cleanVector - a vector of class 'character' containing corresponding standard DPS names to nameV...
62f87d430fb4ef25ea3f1d08824deb96806a6668
0479b5e809beae1d18a9c6b603305d674fd5b12e
/tests/testthat/test_prepare_chi.R
37e604552d33b85b730ee67f53d8abfadb9fce75
[]
no_license
huerqiang/GeoTcgaData
ecbd292e37df065ae4697c7dd07027c1e665853d
cc85914f2a17177164c7ae426f8f0f09f91e98c1
refs/heads/master
2023-04-12T10:04:20.034688
2023-04-04T05:57:04
2023-04-04T05:57:04
206,305,770
6
0
null
null
null
null
UTF-8
R
false
false
762
r
test_prepare_chi.R
test_that("can parse example prepare_chi", { cnv <- matrix(c( -1.09150, -1.47120, -0.87050, -0.50880, -0.50880, 2.0, 2.0, 2.0, 2.0, 2.0, 2.601962, 2.621332, 2.621332, 2.621332, 2.621332, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0 ), nrow = 5) cn...
740173269c7712c26a41bf6a646d9ba39bf65c2d
ff9eb712be2af2fa24b28ecc75341b741d5e0b01
/R/gofTestCensored.R
c4107a3a4743ed2171d6bd30e0747cd97cdb5a0a
[]
no_license
alexkowa/EnvStats
715c35c196832480ee304af1034ce286e40e46c2
166e5445d252aa77e50b2b0316f79dee6d070d14
refs/heads/master
2023-06-26T19:27:24.446592
2023-06-14T05:48:07
2023-06-14T05:48:07
140,378,542
21
6
null
2023-05-10T10:27:08
2018-07-10T04:49:22
R
UTF-8
R
false
false
5,327
r
gofTestCensored.R
gofTestCensored <- function (x, censored, censoring.side = "left", test = "sf", distribution = "norm", est.arg.list = NULL, prob.method = "hirsch-stedinger", plot.pos.con = 0.375, keep.data = TRUE, data.name = NULL, censoring.name = NULL) { distribution <- check.distribution.args(distribution,...
5cb47a0a43a0387372d8a02366c40f683f64728e
da023fd8498e4216bea90093c858fc339cebc9e3
/04_HPC_abundance_analysis.R
bdd809b7c8f56d63be908b16236a76983a16dcd6
[ "MIT" ]
permissive
bowlerbear/ptarmiganUpscaling
92e48762edba81dcf488300bb8cb67e87a418209
3283d62795edecb672613b87c1c5b92df69e2222
refs/heads/master
2023-01-09T03:22:42.668585
2022-12-23T11:09:58
2022-12-23T11:09:58
128,047,997
0
0
null
null
null
null
UTF-8
R
false
false
18,943
r
04_HPC_abundance_analysis.R
#script to analysis line transect data on the HPC library(tidyverse) library(sp) library(rgeos) library(raster) library(maptools) #specify top level folder #myfolder <- "Data" #on local PC myfolder <- "/data/idiv_ess/ptarmiganUpscaling" #HPC ### ptarmigan data ##############################################...
c0eb7fa85dd0bd03ca6555ceffc36771bee47bf7
dedfaa39da7f7597167da32979f8a76a9061eae6
/R/print_expoapp.R
3a1bf9702595217724a8f01f9f4e364d0bc592bc
[]
no_license
daviddonaire/RExpoApp
756f370f9c02498f67f1649c6097c0d72c429b65
4b6775883a315deb33bd4461017a7314844ad58d
refs/heads/master
2020-12-12T06:17:34.195075
2020-04-18T02:33:20
2020-04-18T02:33:20
234,061,969
0
0
null
null
null
null
UTF-8
R
false
false
4,023
r
print_expoapp.R
#' Write Html of ExpoApp Quality Data Analysis Report #' #' It is the function to generate the html with the data analysis of the ExpoApp data. #' @param result It is a list object with the times, settings, notes, gps_plot, pa_plot, and nolocation. #' Times is a data.table with the information of the quality of the da...