content
large_stringlengths
0
6.46M
path
large_stringlengths
3
331
license_type
large_stringclasses
2 values
repo_name
large_stringlengths
5
125
language
large_stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
4
6.46M
extension
large_stringclasses
75 values
text
stringlengths
0
6.46M
########################## # load and processing NLSY79 ######################### # library library(sdazar) library(ggplot2) library(zoo) # load data dat <- readRDS("data/nlsy79selection.rds") nrow(dat) wt <- readRDS("data/nlsy79weights.rds") # dat <- readRDS("data/nlsy79selection_missing.rds") # newdata <- readRDS...
/src/nlsy/01_load_data_nlsy79.R
permissive
sdaza/mortality-incarceration-paper
R
false
false
19,113
r
########################## # load and processing NLSY79 ######################### # library library(sdazar) library(ggplot2) library(zoo) # load data dat <- readRDS("data/nlsy79selection.rds") nrow(dat) wt <- readRDS("data/nlsy79weights.rds") # dat <- readRDS("data/nlsy79selection_missing.rds") # newdata <- readRDS...
##' @title Clump markers according to their LD. ##' @description \code{clumpMarkers} implements clumping procedure (as described in PLINK documentation) on ##' a \code{\link[GenABEL]{gwaa.data-class}} object. ##' @author Marcin Kierczak <\email{Marcin.Kierczak@@imbim.uu.se}> ##' @param p1 threshold for index markers...
/R/clump.markers.r
no_license
cgmisc-team/cgmisc
R
false
false
3,699
r
##' @title Clump markers according to their LD. ##' @description \code{clumpMarkers} implements clumping procedure (as described in PLINK documentation) on ##' a \code{\link[GenABEL]{gwaa.data-class}} object. ##' @author Marcin Kierczak <\email{Marcin.Kierczak@@imbim.uu.se}> ##' @param p1 threshold for index markers...
#================================= ## GET SWORD ENV DATA FOR HMMOCE #================================= load('~/Data/Swordfish/batch/unique_sword_dates.rda') udates <- udatesList; rm(udatesList) str(udates) udates <- udates[order(udates)] # SET SPATIAL LIMITS sp.lim <- list(lonmin=-85, lonmax=-15, latmi...
/get_sword_env.r
no_license
camrinbraun/HMMoce_run
R
false
false
2,097
r
#================================= ## GET SWORD ENV DATA FOR HMMOCE #================================= load('~/Data/Swordfish/batch/unique_sword_dates.rda') udates <- udatesList; rm(udatesList) str(udates) udates <- udates[order(udates)] # SET SPATIAL LIMITS sp.lim <- list(lonmin=-85, lonmax=-15, latmi...
.onLoad <- function(lib, pkg) { library.dynam('solidearthtide', pkg, lib) }
/R/zzz.r
no_license
cran/solidearthtide
R
false
false
79
r
.onLoad <- function(lib, pkg) { library.dynam('solidearthtide', pkg, lib) }
#' @title An introductory plot #' #' @param x A quantitative vector #' #' @return A plot #' @export #' #' @examples #' \dontrun{d <- 1:40; myplot(x = d)} myplot=function(x){ y <- 0.86089580 +1.46959217*x -0.02745726*x^2 plot(y~x, col = "blue", lwd = 2, type = "l", main = "Small plot") }
/R/myplot.R
permissive
MATHSTATSOU/MATH4753STEWART4
R
false
false
293
r
#' @title An introductory plot #' #' @param x A quantitative vector #' #' @return A plot #' @export #' #' @examples #' \dontrun{d <- 1:40; myplot(x = d)} myplot=function(x){ y <- 0.86089580 +1.46959217*x -0.02745726*x^2 plot(y~x, col = "blue", lwd = 2, type = "l", main = "Small plot") }
if(interactive()) library("testthat") settingsFile <- AzureML.config.default workspace <- function(..., .validate = FALSE) AzureML::workspace(..., .validate = .validate) # ------------------------------------------------------------------------ context("workspace - connect to workspace") test_that("Can ...
/tests/testthat/test-1-workspace.R
no_license
Henri-Lo/AzureML
R
false
false
2,850
r
if(interactive()) library("testthat") settingsFile <- AzureML.config.default workspace <- function(..., .validate = FALSE) AzureML::workspace(..., .validate = .validate) # ------------------------------------------------------------------------ context("workspace - connect to workspace") test_that("Can ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/bsw.R \name{bsw} \alias{bsw} \title{Blended sea winds (BSW)} \usage{ bsw(date = NULL, uv_stress = "uv", resolution = "6hrly", ...) } \arguments{ \item{date}{(date/character) date, in the form YYYY-MM-DD if resolution is 6hrly or daily, or in...
/man/bsw.Rd
permissive
nemochina2008/rnoaa
R
false
true
2,821
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/bsw.R \name{bsw} \alias{bsw} \title{Blended sea winds (BSW)} \usage{ bsw(date = NULL, uv_stress = "uv", resolution = "6hrly", ...) } \arguments{ \item{date}{(date/character) date, in the form YYYY-MM-DD if resolution is 6hrly or daily, or in...
#' List occurrences of "TBD" unknown plant species in veg species inventory data #' #' @param conn Database connection generated from call to \code{OpenDatabaseConnection()}. Ignored if \code{data.source} is \code{"local"}. #' @param path.to.data The directory containing the csv data exports generated from \code{SaveDa...
/R/species-inv-qc.R
no_license
nationalparkservice/mojn-sv-rpackage
R
false
false
6,490
r
#' List occurrences of "TBD" unknown plant species in veg species inventory data #' #' @param conn Database connection generated from call to \code{OpenDatabaseConnection()}. Ignored if \code{data.source} is \code{"local"}. #' @param path.to.data The directory containing the csv data exports generated from \code{SaveDa...
\name{likeli_4_optim} \alias{likeli_4_optim} \title{Use Likelihood with Optim} \description{ Wraps the function \code{\link{likeli}} so you can use it with \code{\link{optim}}. This allows you to use other optimization methods to find maximum likelihood estimates. } \usage{ likeli_4_optim(par_2_analyze, model, ...
/man/likeli_4_optim.Rd
no_license
LMurphy186232/likelihood
R
false
false
3,547
rd
\name{likeli_4_optim} \alias{likeli_4_optim} \title{Use Likelihood with Optim} \description{ Wraps the function \code{\link{likeli}} so you can use it with \code{\link{optim}}. This allows you to use other optimization methods to find maximum likelihood estimates. } \usage{ likeli_4_optim(par_2_analyze, model, ...
#' Spark ML -- Naive-Bayes #' #' Naive Bayes Classifiers. It supports Multinomial NB (see \href{http://nlp.stanford.edu/IR-book/html/htmledition/naive-bayes-text-classification-1.html}{here}) which can handle finitely supported discrete data. For example, by converting documents into TF-IDF vectors, it can be used for ...
/R/ml_classification_naive_bayes.R
permissive
iffmainak/sparklyr
R
false
false
5,749
r
#' Spark ML -- Naive-Bayes #' #' Naive Bayes Classifiers. It supports Multinomial NB (see \href{http://nlp.stanford.edu/IR-book/html/htmledition/naive-bayes-text-classification-1.html}{here}) which can handle finitely supported discrete data. For example, by converting documents into TF-IDF vectors, it can be used for ...
#' @title #' Bias of an estimator in percentage #' @description #' Function for calculating the bias of an estimator. #' @details #' Function for calculating the bias of an estimator, given the observed values, and the estimated values. #' #' @param df a data frame. #' @param y Quoted name of the variable r...
/R/bias_per.R
permissive
cran/forestmangr
R
false
false
3,167
r
#' @title #' Bias of an estimator in percentage #' @description #' Function for calculating the bias of an estimator. #' @details #' Function for calculating the bias of an estimator, given the observed values, and the estimated values. #' #' @param df a data frame. #' @param y Quoted name of the variable r...
library(car) library(ggplot2) ###1a Load in babyskin.csv. This spreadsheet contains data on the orangeness of different babies' skin and how many cans of carrot baby food they eat each month. #Run a simple regression with orangeness as your outcome and carrots as your predictor. Discuss significance, amount of varia...
/Week8/Rouwmaat_Heuvel_U8.R
no_license
anhnguyendepocen/FrequentistStatistics
R
false
false
21,348
r
library(car) library(ggplot2) ###1a Load in babyskin.csv. This spreadsheet contains data on the orangeness of different babies' skin and how many cans of carrot baby food they eat each month. #Run a simple regression with orangeness as your outcome and carrots as your predictor. Discuss significance, amount of varia...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/hfr_dqa_checks.R \name{is_ou_valid} \alias{is_ou_valid} \title{Check if OperatingUnit is valid} \usage{ is_ou_valid(.data, df_orgs) } \arguments{ \item{df_orgs}{df_orgs} \item{data}{df} } \value{ boolean } \description{ Check if OperatingUni...
/man/is_ou_valid.Rd
permissive
USAID-OHA-SI/Wavelength
R
false
true
393
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/hfr_dqa_checks.R \name{is_ou_valid} \alias{is_ou_valid} \title{Check if OperatingUnit is valid} \usage{ is_ou_valid(.data, df_orgs) } \arguments{ \item{df_orgs}{df_orgs} \item{data}{df} } \value{ boolean } \description{ Check if OperatingUni...
library(dplyr) library(gbm) mmsd = read.csv("data/MMSDvectorized.csv") glri = read.csv("data/GLRIvectorized.csv") ss = read.csv("data/SSvectorized.csv") pred = as.data.frame(cbind(mmsd$Human_virus, mmsd[,24:ncol(mmsd)])) names(pred)[1] = "Human_virus" gbm(Human_virus~., data = pred, distribution = "gaussian...
/scratch/scratch.r
no_license
wes-brooks/opticalww
R
false
false
447
r
library(dplyr) library(gbm) mmsd = read.csv("data/MMSDvectorized.csv") glri = read.csv("data/GLRIvectorized.csv") ss = read.csv("data/SSvectorized.csv") pred = as.data.frame(cbind(mmsd$Human_virus, mmsd[,24:ncol(mmsd)])) names(pred)[1] = "Human_virus" gbm(Human_virus~., data = pred, distribution = "gaussian...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/fslrand.help.R \name{fslrand.help} \alias{fslrand.help} \title{fslrand Help} \usage{ fslrand.help(...) } \arguments{ \item{...}{passed to \code{\link{fslmaths.help}}} } \value{ Prints help output and returns output as character vector } \desc...
/man/fslrand.help.Rd
no_license
muschellij2/fslr
R
false
true
476
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/fslrand.help.R \name{fslrand.help} \alias{fslrand.help} \title{fslrand Help} \usage{ fslrand.help(...) } \arguments{ \item{...}{passed to \code{\link{fslmaths.help}}} } \value{ Prints help output and returns output as character vector } \desc...
getValues <- function(times){ u <- runif(times) return((- 1 + sqrt(1 + 8 * u)) / 2) } getValuesAlternateWithComposition <- function(times, alpha = 0.5){ ans <- NULL for(i in 1 : times){ u = runif(1) if(u < alpha){ ans <- c(ans, sqrt(runif(1))) } else { ans <- c(ans, runif(1)) } } return(ans) } pd...
/Clase 3/InversaContinua2.R
no_license
racsosabe/Simulacion
R
false
false
543
r
getValues <- function(times){ u <- runif(times) return((- 1 + sqrt(1 + 8 * u)) / 2) } getValuesAlternateWithComposition <- function(times, alpha = 0.5){ ans <- NULL for(i in 1 : times){ u = runif(1) if(u < alpha){ ans <- c(ans, sqrt(runif(1))) } else { ans <- c(ans, runif(1)) } } return(ans) } pd...
\name{masses} \alias{masses} \alias{masses.default} \alias{masses.pdb} \title{Mass of Chemical Elements} \description{Determine the mass of chemical elements} \usage{ masses(...) \method{masses}{default}(x, ...) \method{masses}{pdb}(x, ...) } \arguments{ \item{\dots}{further arguments passed to or from other method...
/man/masses.Rd
no_license
lptolik/Rpdb
R
false
false
1,137
rd
\name{masses} \alias{masses} \alias{masses.default} \alias{masses.pdb} \title{Mass of Chemical Elements} \description{Determine the mass of chemical elements} \usage{ masses(...) \method{masses}{default}(x, ...) \method{masses}{pdb}(x, ...) } \arguments{ \item{\dots}{further arguments passed to or from other method...
% Generated by roxygen2 (4.1.1): do not edit by hand % Please edit documentation in R/formality.R \name{print.formality} \alias{print.formality} \title{Prints a formality Object} \usage{ \method{print}{formality}(x, digits, ...) } \arguments{ \item{x}{The formality object.} \item{digits}{The number of digits to print....
/man/print.formality.Rd
no_license
Maddocent/qdap
R
false
false
393
rd
% Generated by roxygen2 (4.1.1): do not edit by hand % Please edit documentation in R/formality.R \name{print.formality} \alias{print.formality} \title{Prints a formality Object} \usage{ \method{print}{formality}(x, digits, ...) } \arguments{ \item{x}{The formality object.} \item{digits}{The number of digits to print....
#### Analytical script Run 1 #### #### Assumptions: #### 1. baseline model #### 2. Variable wood NC #### 3. baseline N cycle #### ################################################################################ #### Functions Perform_Analytical_Run1 <- function(f.flag = 1) { #### Function to perform analytical run...
/QE_Scripts/Analytical_Run1.R
no_license
SoilTSSM/QEframework
R
false
false
6,514
r
#### Analytical script Run 1 #### #### Assumptions: #### 1. baseline model #### 2. Variable wood NC #### 3. baseline N cycle #### ################################################################################ #### Functions Perform_Analytical_Run1 <- function(f.flag = 1) { #### Function to perform analytical run...
\name{Signaldata} \alias{Signaldata} \docType{data} \title{ Decay curves datasets } \description{ CW-OSL and LM-OSL decay curves. } \usage{data(Signaldata)} \format{ A list that contains CW-OSL and LM-OSL decay curves: \describe{ \item{cw}{a number of CW-OSL decay curves of a sand sample from the Tengger Desert...
/man/Signaldata.Rd
no_license
cran/numOSL
R
false
false
881
rd
\name{Signaldata} \alias{Signaldata} \docType{data} \title{ Decay curves datasets } \description{ CW-OSL and LM-OSL decay curves. } \usage{data(Signaldata)} \format{ A list that contains CW-OSL and LM-OSL decay curves: \describe{ \item{cw}{a number of CW-OSL decay curves of a sand sample from the Tengger Desert...
library(tidyverse) library(cowplot) library(colorspace) # Plot 1000 Genomes PCAs labels_df <- read_tsv('data/kgp_meta/integrated_call_samples_v2.20130502.ALL.ped', col_types = cols_only('Individual ID' = col_character(), 'Population' = col_character())...
/scripts/05a_plot_gwas.R
no_license
zietzm/prs-portability
R
false
false
3,146
r
library(tidyverse) library(cowplot) library(colorspace) # Plot 1000 Genomes PCAs labels_df <- read_tsv('data/kgp_meta/integrated_call_samples_v2.20130502.ALL.ped', col_types = cols_only('Individual ID' = col_character(), 'Population' = col_character())...
### 1. Download and extract the data set into the WORKING directory ### ################################################################################ # 1. If the data set is not loaded, get and clean the data set------------------ search <- ls(pattern = "house.power.comp") if (length(search) == 0) { # 1.1 ...
/Plot1.R
no_license
sudha-png/Power-Consumption-Measurements
R
false
false
3,760
r
### 1. Download and extract the data set into the WORKING directory ### ################################################################################ # 1. If the data set is not loaded, get and clean the data set------------------ search <- ls(pattern = "house.power.comp") if (length(search) == 0) { # 1.1 ...
#install.packages("igraph") library("igraph") #Defining Basic Graph size <- 7 edges <- c(1, 2, 1, 3, 1, 5, 1, 6, 1, 7, 2, 5, 2, 7, 3, 4, 3, 5, 3, 6, 4, 5, 4, 6, 5, 6, 6, 7) my.graph <- graph(edges, n = size, directed = FALSE) plot(my.graph) #Giving ...
/3. Plotting Airport Connectivity As A Graph And Obtaining Adjacency Matrix.R
no_license
akshitbhalla2/GraphTheory
R
false
false
962
r
#install.packages("igraph") library("igraph") #Defining Basic Graph size <- 7 edges <- c(1, 2, 1, 3, 1, 5, 1, 6, 1, 7, 2, 5, 2, 7, 3, 4, 3, 5, 3, 6, 4, 5, 4, 6, 5, 6, 6, 7) my.graph <- graph(edges, n = size, directed = FALSE) plot(my.graph) #Giving ...
library(dplyr) library(pbapply) library(parallel) setwd("C:/Users/Alejandro/Desktop/") # link = "triGramsFreq.txt.tar.gz" # untar(link, "triGramsFreq.txt") con = file("triGramsFreq.txt") myLines = readLines(con) close.connection(con) reformat <- function(line, N = 2) { library(dplyr) line = l...
/reformatNGrams(virtual).R
no_license
laandrad/CDSCapstone
R
false
false
1,118
r
library(dplyr) library(pbapply) library(parallel) setwd("C:/Users/Alejandro/Desktop/") # link = "triGramsFreq.txt.tar.gz" # untar(link, "triGramsFreq.txt") con = file("triGramsFreq.txt") myLines = readLines(con) close.connection(con) reformat <- function(line, N = 2) { library(dplyr) line = l...
library(tableMatrix) ### Name: [.tableList ### Title: Bracket ### Aliases: [.tableList [<-.tableList ### ** Examples data(images8By8) # Create tableList from images8By8[,1:3] TL <- tableList(images8By8[,1:3]) # Apply data.table bracket on a tableList object TL[direction=="both"] TL[2,1] <- "aaa" # setting row...
/data/genthat_extracted_code/tableMatrix/examples/sub-.tableList.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
389
r
library(tableMatrix) ### Name: [.tableList ### Title: Bracket ### Aliases: [.tableList [<-.tableList ### ** Examples data(images8By8) # Create tableList from images8By8[,1:3] TL <- tableList(images8By8[,1:3]) # Apply data.table bracket on a tableList object TL[direction=="both"] TL[2,1] <- "aaa" # setting row...
## 构建表达谱 ## CEL文件处理 source("http://bioconductor.org/biocLite.R") cels = list.files("GSE64614_RAW/",pattern='[gz]') ## 安装R.utils并加载 # biocLite("R.utils") # biocLite("R.oo") # biocLite("R.methodsS3") library(R.utils) library(R.oo) library(R.methodsS3) library(hgu133plus2cdf) sapply(paste('GSE64614_RAW',cels,s...
/AnalyseMethod/表达谱构成/GEO_rawdata.r
no_license
lifeonsci-com/lifeonsci
R
false
false
2,137
r
## 构建表达谱 ## CEL文件处理 source("http://bioconductor.org/biocLite.R") cels = list.files("GSE64614_RAW/",pattern='[gz]') ## 安装R.utils并加载 # biocLite("R.utils") # biocLite("R.oo") # biocLite("R.methodsS3") library(R.utils) library(R.oo) library(R.methodsS3) library(hgu133plus2cdf) sapply(paste('GSE64614_RAW',cels,s...
\name{NEC} \Rdversion{1.1} \alias{NEC} \alias{NEC.2} \alias{NEC.3} \alias{NEC.4} \title{ Dose-response model for estimation of no effect concentration (NEC). } \description{ The no effect concentration has been proposed as an alternative to both the classical no observed effect concentration (N...
/man/NEC.Rd
no_license
csetraynor/drc
R
false
false
2,860
rd
\name{NEC} \Rdversion{1.1} \alias{NEC} \alias{NEC.2} \alias{NEC.3} \alias{NEC.4} \title{ Dose-response model for estimation of no effect concentration (NEC). } \description{ The no effect concentration has been proposed as an alternative to both the classical no observed effect concentration (N...
############################################################################### # Multi-resolution blockmodel # # file: indian_village_postprocess.R # # This file does convergence checks, does post processing, and makes plots for #the India village data. Assuming that we have already run India_village_estimation.R #...
/code/scripts/India_village_postprocess.R
permissive
freekang/multiresolution_networks
R
false
false
4,323
r
############################################################################### # Multi-resolution blockmodel # # file: indian_village_postprocess.R # # This file does convergence checks, does post processing, and makes plots for #the India village data. Assuming that we have already run India_village_estimation.R #...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/7SLwrappers.R \name{SL.QAW.W4} \alias{SL.QAW.W4} \title{QAW for W5} \usage{ SL.QAW.W4(Y, X, newX, family, obsWeights, model = TRUE, ...) } \arguments{ \item{Y}{outcome} \item{X}{predictors} \item{newX}{new X} \item{family}{family} \item{o...
/man/SL.QAW.W4.Rd
no_license
lmmontoya/SL.ODTR
R
false
true
464
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/7SLwrappers.R \name{SL.QAW.W4} \alias{SL.QAW.W4} \title{QAW for W5} \usage{ SL.QAW.W4(Y, X, newX, family, obsWeights, model = TRUE, ...) } \arguments{ \item{Y}{outcome} \item{X}{predictors} \item{newX}{new X} \item{family}{family} \item{o...
find.lambda <- function(response, design, penalties, k, m, control, trace){ if(trace){ cat("Find maximal lambda...\n") } cur.low <- 0 cur.up <- lambda.ratio <- Inf cur.lambda <- 100 while(lambda.ratio>0.15){ m.cur <- try(fit.BTLLasso(response, design, ...
/fuzzedpackages/BTLLasso/R/find.lambda.R
no_license
akhikolla/testpackages
R
false
false
1,211
r
find.lambda <- function(response, design, penalties, k, m, control, trace){ if(trace){ cat("Find maximal lambda...\n") } cur.low <- 0 cur.up <- lambda.ratio <- Inf cur.lambda <- 100 while(lambda.ratio>0.15){ m.cur <- try(fit.BTLLasso(response, design, ...
% Generated by roxygen2 (4.0.1): do not edit by hand \name{DownsideFrequency} \alias{DownsideFrequency} \title{downside frequency of the return distribution} \usage{ DownsideFrequency(R, MAR = 0, ...) } \arguments{ \item{R}{an xts, vector, matrix, data frame, timeSeries or zoo object of asset returns} \item...
/man/DownsideFrequency.Rd
no_license
ecjbosu/PerformanceAnalytics
R
false
false
1,417
rd
% Generated by roxygen2 (4.0.1): do not edit by hand \name{DownsideFrequency} \alias{DownsideFrequency} \title{downside frequency of the return distribution} \usage{ DownsideFrequency(R, MAR = 0, ...) } \arguments{ \item{R}{an xts, vector, matrix, data frame, timeSeries or zoo object of asset returns} \item...
# set up ----- rm(list = ls()) invisible(gc(verbose = F)) options( scipen = 999, max.print = 100 ) # pakages ----- suppressMessages({ library(shiny) library(shinyWidgets) library(shinyjs) library(dplyr) library(googlesheets) library(googledrive) library(xlsx) }) # source ----- ...
/WebApp/webapp-bundle/global.R
no_license
AustinVL/AustinVL-Word-embeddings-reveal-how-fundamental-sentiments-structure-natural-language
R
false
false
659
r
# set up ----- rm(list = ls()) invisible(gc(verbose = F)) options( scipen = 999, max.print = 100 ) # pakages ----- suppressMessages({ library(shiny) library(shinyWidgets) library(shinyjs) library(dplyr) library(googlesheets) library(googledrive) library(xlsx) }) # source ----- ...
#' Feature importance #' #' @description #' \code{FeatureImp} computes feature importances for prediction models. #' The importance is measured as the factor by which the model's prediction error increases when the feature is shuffled. #' #' @format \code{\link{R6Class}} object. #' @name FeatureImp #' #' @section ...
/R/FeatureImp.R
no_license
ezanutto/iml
R
false
false
8,805
r
#' Feature importance #' #' @description #' \code{FeatureImp} computes feature importances for prediction models. #' The importance is measured as the factor by which the model's prediction error increases when the feature is shuffled. #' #' @format \code{\link{R6Class}} object. #' @name FeatureImp #' #' @section ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/get_edges.R \name{get_edges} \alias{get_edges} \title{Get node IDs associated with edges} \usage{ get_edges(x, edge_attr = NULL, match = NULL, return_type = "vector") } \arguments{ \item{x}{either a graph object of class \code{dgr_graph} that...
/man/get_edges.Rd
no_license
timelyportfolio/DiagrammeR
R
false
true
2,653
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/get_edges.R \name{get_edges} \alias{get_edges} \title{Get node IDs associated with edges} \usage{ get_edges(x, edge_attr = NULL, match = NULL, return_type = "vector") } \arguments{ \item{x}{either a graph object of class \code{dgr_graph} that...
assert_io_paths <- function(input, input_ext, output_file, output_file_ext) { assert_path_ext(input, input_ext, arg = "input") if (!is.null(output_file)) { assert_path_ext(output_file, output_file_ext, arg = "output_file") } } assert_path_ext <- function(path, expected_ext, arg) { if (!test_pat...
/R/utils.R
permissive
vsntos/xaringanBuilder
R
false
false
4,475
r
assert_io_paths <- function(input, input_ext, output_file, output_file_ext) { assert_path_ext(input, input_ext, arg = "input") if (!is.null(output_file)) { assert_path_ext(output_file, output_file_ext, arg = "output_file") } } assert_path_ext <- function(path, expected_ext, arg) { if (!test_pat...
# --------------------------- DRM cohort new 2----------------------------------- # --------------------------- 2017-06-28 --------------------------------------- library(gemini) lib.pa() rm(list = ls()) smh.phar <- readg(smh, phar, dt = T) sbk.phar <- readg(sbk, phar, dt = T) sbk.phar$EncID.new <- as.character(sbk.pha...
/DRM/drm.cohort.new2.r
no_license
yishan-guo/gemini
R
false
false
11,971
r
# --------------------------- DRM cohort new 2----------------------------------- # --------------------------- 2017-06-28 --------------------------------------- library(gemini) lib.pa() rm(list = ls()) smh.phar <- readg(smh, phar, dt = T) sbk.phar <- readg(sbk, phar, dt = T) sbk.phar$EncID.new <- as.character(sbk.pha...
# Data Analysis | Reporting Practices # Import data: myData <- read.csv("AllData.csv", header = TRUE) head(myData) ### Correlations: correlationMatrix <- round(cor(myData), digits = 2) # Bias.Strength & Belief-Mean.MSE = 0.43 correlationMatrix[4, 12] # Hyperbole & Belief-Mean.MSE = 0.33 correlationMatrix[5, 12] # Ex...
/resources/Data Analysis + Reporting Practices.R
permissive
amohseni/Reporting-and-Bias-Gamma
R
false
false
2,284
r
# Data Analysis | Reporting Practices # Import data: myData <- read.csv("AllData.csv", header = TRUE) head(myData) ### Correlations: correlationMatrix <- round(cor(myData), digits = 2) # Bias.Strength & Belief-Mean.MSE = 0.43 correlationMatrix[4, 12] # Hyperbole & Belief-Mean.MSE = 0.33 correlationMatrix[5, 12] # Ex...
require(car) require(ggplot2) require(qcc) require(gdata) require(readxl) require(reshape2) dadosentry <- read.table("dadoscontrol.txt", h=T) dadosentry entrada1 <- read_excel("Procedimentos_2017-2018.xls",sheet=3, na = "NA",skip = 1) summary(entrada1) transpose1 <- melt(entrada1, value.name = "Qtd. Util.", variab...
/Rotina Procedimentos.R
no_license
maguiiiar/projetos_unimed
R
false
false
1,271
r
require(car) require(ggplot2) require(qcc) require(gdata) require(readxl) require(reshape2) dadosentry <- read.table("dadoscontrol.txt", h=T) dadosentry entrada1 <- read_excel("Procedimentos_2017-2018.xls",sheet=3, na = "NA",skip = 1) summary(entrada1) transpose1 <- melt(entrada1, value.name = "Qtd. Util.", variab...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/day05.R \name{day05_decodeop} \alias{day05_decodeop} \title{Decode operation} \usage{ day05_decodeop(opcode) } \arguments{ \item{opcode}{two digit operation code} } \description{ Decode operation }
/man/day05_decodeop.Rd
permissive
EvgenyPetrovsky/aoc2019
R
false
true
276
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/day05.R \name{day05_decodeop} \alias{day05_decodeop} \title{Decode operation} \usage{ day05_decodeop(opcode) } \arguments{ \item{opcode}{two digit operation code} } \description{ Decode operation }
require(shiny) require(shinythemes) # Define input widget for lognormal distribution logN.input <- function(title, suffix, E.value, cv.value){ wellPanel( style = "padding: 5px;", h5(title), sliderInput(paste0("E_", suffix), "Mean catch:", min = 0, max = 2, step = 0.05, value = E.value, ticks = FALSE), ...
/ui.R
no_license
dmpstats/shiny-shark
R
false
false
17,204
r
require(shiny) require(shinythemes) # Define input widget for lognormal distribution logN.input <- function(title, suffix, E.value, cv.value){ wellPanel( style = "padding: 5px;", h5(title), sliderInput(paste0("E_", suffix), "Mean catch:", min = 0, max = 2, step = 0.05, value = E.value, ticks = FALSE), ...
#----hash---- # compute hash using md5 hash <- digest::digest(res, "md5") if(hash != "e9e0dfe4b4753c1e00bb02e4205d8772"){ warning("Mismatch between original and current simulations!\nHash now is:\n '", hash, "'") }
/R/hash.R
permissive
aaronpeikert/repro-tutorial
R
false
false
220
r
#----hash---- # compute hash using md5 hash <- digest::digest(res, "md5") if(hash != "e9e0dfe4b4753c1e00bb02e4205d8772"){ warning("Mismatch between original and current simulations!\nHash now is:\n '", hash, "'") }
#' Function implementing the Rescorla-Wagner learning equations without #' outcome competition (for illustration purposes) for a single learning #' event. #' #' @description Function implementing the Rescorla-Wagner learning equations #' without outcome competition (for illustration purposes) for a single #'...
/R/updateWeightsNoOutcomeCompetition.R
no_license
cran/edl
R
false
false
4,264
r
#' Function implementing the Rescorla-Wagner learning equations without #' outcome competition (for illustration purposes) for a single learning #' event. #' #' @description Function implementing the Rescorla-Wagner learning equations #' without outcome competition (for illustration purposes) for a single #'...
#'Calculate non-wadeable littoral depth metrics #' #'\code{calculateLittoralDepth} calculates the non-wadeable #'littoral depth metrics. There are two different implementations that vary #'primarily in speed. \code{calculateLittoralDepth} is faster although the #'implementation is somewhat more obtuse. \code{calcula...
/R/calculateLittoralDepth.r
no_license
PDXChris/nrsa
R
false
false
2,544
r
#'Calculate non-wadeable littoral depth metrics #' #'\code{calculateLittoralDepth} calculates the non-wadeable #'littoral depth metrics. There are two different implementations that vary #'primarily in speed. \code{calculateLittoralDepth} is faster although the #'implementation is somewhat more obtuse. \code{calcula...
#3 coin_sides <- c("head", "tail") n_flips <- 10 # Sample from coin_sides n_flips times with replacement sample(coin_sides, n_flips, replace = TRUE) # Update the function to return n_flips coin tosses toss_coin <- function(n_flips) { coin_sides <- c("head", "tail") sample(coin_sides, n_flips, repl...
/Introduction to Writing Functions in R/how to write a function/3.R
no_license
Pranav-Polavarapu/Datacamp-Data-Scientist-with-R-Track-
R
false
false
378
r
#3 coin_sides <- c("head", "tail") n_flips <- 10 # Sample from coin_sides n_flips times with replacement sample(coin_sides, n_flips, replace = TRUE) # Update the function to return n_flips coin tosses toss_coin <- function(n_flips) { coin_sides <- c("head", "tail") sample(coin_sides, n_flips, repl...
# Load R packages #rm(list=ls()) library(rstan) rstan_options(auto_write = TRUE) options(mc.cores = parallel::detectCores()) library(ggplot2) library(mvtnorm) set.seed(12345) # Set paramters for the simulated data I <- 34 # questions J <- 100 # students K <- 2 # years N <- I*J*K # item responses #means and varia...
/hierarchical_2pl_2year_V4.R
no_license
equinn1/NESS_2019
R
false
false
3,336
r
# Load R packages #rm(list=ls()) library(rstan) rstan_options(auto_write = TRUE) options(mc.cores = parallel::detectCores()) library(ggplot2) library(mvtnorm) set.seed(12345) # Set paramters for the simulated data I <- 34 # questions J <- 100 # students K <- 2 # years N <- I*J*K # item responses #means and varia...
#' @title Simulate the Confidence Interval for a Ratio #' @description Simulate the Confidence Interval for a Ratio #' @usage ciprob.sim(n, p = 0.5, alp = 0.05, N = 100, seed = 9857, dig = 4, plot = TRUE) #' #' @param n Sample size #' @param p Population ratio value, Default: 0 #' @param alp Level of significance, Defa...
/R/ciprob.sim.R
permissive
jhk0530/Rstat
R
false
false
1,713
r
#' @title Simulate the Confidence Interval for a Ratio #' @description Simulate the Confidence Interval for a Ratio #' @usage ciprob.sim(n, p = 0.5, alp = 0.05, N = 100, seed = 9857, dig = 4, plot = TRUE) #' #' @param n Sample size #' @param p Population ratio value, Default: 0 #' @param alp Level of significance, Defa...
#' Document-Term Matrix Categorization #' #' Reduces the dimensions of a document-term matrix by dictionary-based categorization. #' @param dtm A matrix with terms as column names. #' @param dict The name of a provided dictionary #' (\href{https://osf.io/y6g5b/wiki/home}{osf.io/y6g5b/wiki}) or of a file found in #' ...
/R/lma_termcat.R
no_license
miserman/lingmatch
R
false
false
20,399
r
#' Document-Term Matrix Categorization #' #' Reduces the dimensions of a document-term matrix by dictionary-based categorization. #' @param dtm A matrix with terms as column names. #' @param dict The name of a provided dictionary #' (\href{https://osf.io/y6g5b/wiki/home}{osf.io/y6g5b/wiki}) or of a file found in #' ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/paws.rekognition_operations.R \name{start_face_detection} \alias{start_face_detection} \title{Starts asynchronous detection of faces in a stored video} \usage{ start_face_detection(Video, ClientRequestToken = NULL, NotificationChannel = NUL...
/service/paws.rekognition/man/start_face_detection.Rd
permissive
CR-Mercado/paws
R
false
true
2,626
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/paws.rekognition_operations.R \name{start_face_detection} \alias{start_face_detection} \title{Starts asynchronous detection of faces in a stored video} \usage{ start_face_detection(Video, ClientRequestToken = NULL, NotificationChannel = NUL...
#store langugage settings user_lang <- Sys.getlocale("LC_TIME") #set language to English (to properly display days of the week) Sys.setlocale("LC_TIME", "English") #read data data <- read.csv("household_power_consumption.txt", header = TRUE, sep=";", colClasses = c("character", "character", rep("numeric", 7)), na.stri...
/plot2.R
no_license
h1427096/ExData_Plotting1
R
false
false
931
r
#store langugage settings user_lang <- Sys.getlocale("LC_TIME") #set language to English (to properly display days of the week) Sys.setlocale("LC_TIME", "English") #read data data <- read.csv("household_power_consumption.txt", header = TRUE, sep=";", colClasses = c("character", "character", rep("numeric", 7)), na.stri...
# setup ------------------------------------------------------------------- library(tidyverse) # data -------------------------------------------------------------------- data <- readRDS("~/../Downloads/06_dvars.rds") glimpse(data) data %>% count(segmento_ori, segmento.x, segmento.y) data %>% count(incum) # remo...
/dev/data_2_cd.R
permissive
jbkunst/risk3r
R
false
false
3,093
r
# setup ------------------------------------------------------------------- library(tidyverse) # data -------------------------------------------------------------------- data <- readRDS("~/../Downloads/06_dvars.rds") glimpse(data) data %>% count(segmento_ori, segmento.x, segmento.y) data %>% count(incum) # remo...
context("sfattributes") test_that("sf attributes are extracted", { testthat::skip_on_cran() library(sf) nc <- sf::st_read(system.file("shape/nc.shp", package="sf"), quiet = T) enc <- encode(nc) sfAttrs <- sfAttributes(enc) expect_equal(sfAttrs$type,"MULTIPOLYGON") expect_equal(sfAttrs$dim,"XY") e...
/tests/testthat/test-Utils_sf.R
permissive
SymbolixAU/googlePolylines
R
false
false
3,171
r
context("sfattributes") test_that("sf attributes are extracted", { testthat::skip_on_cran() library(sf) nc <- sf::st_read(system.file("shape/nc.shp", package="sf"), quiet = T) enc <- encode(nc) sfAttrs <- sfAttributes(enc) expect_equal(sfAttrs$type,"MULTIPOLYGON") expect_equal(sfAttrs$dim,"XY") e...
#!/usr/local/bin/Rscript # generate dataset with certain seed set.seed(2) data <- dyntoy::generate_dataset( id = "specific_example/merlot", num_cells = 500, num_features = 200, model = "tree", normalise = FALSE ) # add method specific args (if needed) data$parameters <- list() data$seed <- 2L # write examp...
/example.sh
permissive
dynverse/ti_merlot
R
false
false
416
sh
#!/usr/local/bin/Rscript # generate dataset with certain seed set.seed(2) data <- dyntoy::generate_dataset( id = "specific_example/merlot", num_cells = 500, num_features = 200, model = "tree", normalise = FALSE ) # add method specific args (if needed) data$parameters <- list() data$seed <- 2L # write examp...
library(forecast) esa_cases <- read.csv("esa_casos.csv", sep = ";", header = T) # ESA cases per epidemiological week esa_cases$fecha <- as.Date(esa_cases$fecha, format="%d/%m/%Y") esa_cases$weeks <- epiweek(esa_cases$fecha) as.data.frame(esa_cases) #Group by weeks esa_week <- esa_cases %>% group_by(...
/COVID19/ts.R
no_license
IrysArteaga/COVID19
R
false
false
8,801
r
library(forecast) esa_cases <- read.csv("esa_casos.csv", sep = ";", header = T) # ESA cases per epidemiological week esa_cases$fecha <- as.Date(esa_cases$fecha, format="%d/%m/%Y") esa_cases$weeks <- epiweek(esa_cases$fecha) as.data.frame(esa_cases) #Group by weeks esa_week <- esa_cases %>% group_by(...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/Filter.R \docType{data} \name{makeFilter} \alias{makeFilter} \alias{makeFilter} \alias{makeFilter} \alias{makeFilter} \alias{rf.importance} \alias{makeFilter} \alias{rf.min.depth} \alias{makeFilter} \alias{makeFilter} \alias{makeFilter} \alia...
/man/makeFilter.Rd
no_license
praneesh12/mlr
R
false
true
8,473
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/Filter.R \docType{data} \name{makeFilter} \alias{makeFilter} \alias{makeFilter} \alias{makeFilter} \alias{makeFilter} \alias{rf.importance} \alias{makeFilter} \alias{rf.min.depth} \alias{makeFilter} \alias{makeFilter} \alias{makeFilter} \alia...
library(ggplot2) # v. 3.2.0 library(purrr) # v. 0.3.2 library(ggpubr) library(dplyr) library(psych) # Select altered ---------------------------------------------------------- setwd("~/Cássia/11 Nabia/Hyd_alteration/Biological_data/") Family_MI <- read.csv("Macroinvertebrates_family_Spain_att.csv") Family_MI_Summe...
/Loop_graphs_MI.R
no_license
cassrp/Hyd_alteration
R
false
false
83,293
r
library(ggplot2) # v. 3.2.0 library(purrr) # v. 0.3.2 library(ggpubr) library(dplyr) library(psych) # Select altered ---------------------------------------------------------- setwd("~/Cássia/11 Nabia/Hyd_alteration/Biological_data/") Family_MI <- read.csv("Macroinvertebrates_family_Spain_att.csv") Family_MI_Summe...
rm(list=ls()) .libPaths("/global/home/users/cbrook/R/x86_64-pc-linux-gnu-library/4.0") #setwd("/Users/caraebrook/Documents/R/R_repositories/Berkeley-Reopening/Dec-2020/all-runs/Re-Run-12-24/FigS1/") #no group, no test, no trace library(data.table) library(plyr) library(dplyr) library(deSolve) library(matrixStats) li...
/all-model-runs/Fig4-Layered-Interventions-lower-prop-UCB/two-week/two-week-7-test-days-trace-1-symp.R
no_license
carabrook/Berkeley-COVID-testing
R
false
false
85,544
r
rm(list=ls()) .libPaths("/global/home/users/cbrook/R/x86_64-pc-linux-gnu-library/4.0") #setwd("/Users/caraebrook/Documents/R/R_repositories/Berkeley-Reopening/Dec-2020/all-runs/Re-Run-12-24/FigS1/") #no group, no test, no trace library(data.table) library(plyr) library(dplyr) library(deSolve) library(matrixStats) li...
# # Digit Recognizer: Kaggle Competition # # The data directory contains 3 files: # - test.csv # - train.csv # - sample_submission.csv ##### Clean Up Workspace ##### rm(list = ls()) # Remove Previous Workspace gc(reset = TRUE) # Garbage Collection ##### Install and/or Load Packages ##### packages <- function(...
/digit_recognizer.R
no_license
risachoe/digit-recognizer-neural-net-R
R
false
false
5,557
r
# # Digit Recognizer: Kaggle Competition # # The data directory contains 3 files: # - test.csv # - train.csv # - sample_submission.csv ##### Clean Up Workspace ##### rm(list = ls()) # Remove Previous Workspace gc(reset = TRUE) # Garbage Collection ##### Install and/or Load Packages ##### packages <- function(...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/Algorithm.r \docType{class} \name{AlgorithmiaAlgorithm-class} \alias{AlgorithmiaAlgorithm} \alias{AlgorithmiaAlgorithm-class} \title{Algorithm object which enables you to call Algorithmia algorithms. To create one, call: `client$algo("algoUrl...
/man/AlgorithmiaAlgorithm-class.Rd
permissive
MarkEdmondson1234/algorithmia-r
R
false
true
1,386
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/Algorithm.r \docType{class} \name{AlgorithmiaAlgorithm-class} \alias{AlgorithmiaAlgorithm} \alias{AlgorithmiaAlgorithm-class} \title{Algorithm object which enables you to call Algorithmia algorithms. To create one, call: `client$algo("algoUrl...
# # areadiff.R # # $Revision: 1.33 $ $Date: 2017/06/05 10:31:58 $ # # Computes sufficient statistic for area-interaction process # # Invokes areadiff.c # # areaLoss = area lost by removing X[i] from X areaLoss <- function(X, r, ..., W=as.owin(X), subset=NULL, exact=FALSE, ng...
/R/areadiff.R
no_license
edzer/spatstat
R
false
false
8,300
r
# # areadiff.R # # $Revision: 1.33 $ $Date: 2017/06/05 10:31:58 $ # # Computes sufficient statistic for area-interaction process # # Invokes areadiff.c # # areaLoss = area lost by removing X[i] from X areaLoss <- function(X, r, ..., W=as.owin(X), subset=NULL, exact=FALSE, ng...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/MBDETES-Model.R \name{MBDETES-Model} \alias{MBDETES-Model} \title{MBDETES: Model Specification} \description{ MBDETES: Model Specification } \section{Background}{ Under some restricted conditions on waiting times, MBITES is what we would ge...
/MASH-dev/SeanWu/MBITES/man/MBDETES-Model.Rd
no_license
aucarter/MASH-Main
R
false
true
1,943
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/MBDETES-Model.R \name{MBDETES-Model} \alias{MBDETES-Model} \title{MBDETES: Model Specification} \description{ MBDETES: Model Specification } \section{Background}{ Under some restricted conditions on waiting times, MBITES is what we would ge...
# ---------------------------------------- # Objective: Create "PlotRF_BM" sensitivity curves for each model/data stream # that are based on all sites, all Biomass # Christy Rollinson, crollinson@gmail.com # Date Created: 28 July 2015 # ---------------------------------------- # # ------------------------- ...
/R/Unused/4d_GAMMs_Baseline_PlotRF_BM.R
no_license
PalEON-Project/Temporal-Scaling-MS
R
false
false
15,648
r
# ---------------------------------------- # Objective: Create "PlotRF_BM" sensitivity curves for each model/data stream # that are based on all sites, all Biomass # Christy Rollinson, crollinson@gmail.com # Date Created: 28 July 2015 # ---------------------------------------- # # ------------------------- ...
#Exercise1 x <- c(10.4,5.6,3.1,6.4,21.7) sum(x) # 47.2 mean(x) # 9.44 median(x) # 6.4 sd(x) # 7.33846 var(x) # 53.853 #--------------------------------------------------------------------------------------------------------------------- #Exercise2.1 # Because the data.frame is a data structure that can...
/assignment/HW1/HW01_63130500055.R
permissive
jirasin-c/008-Netflix-Original-Films-And-IMDB-Scores
R
false
false
1,646
r
#Exercise1 x <- c(10.4,5.6,3.1,6.4,21.7) sum(x) # 47.2 mean(x) # 9.44 median(x) # 6.4 sd(x) # 7.33846 var(x) # 53.853 #--------------------------------------------------------------------------------------------------------------------- #Exercise2.1 # Because the data.frame is a data structure that can...
#****************************************************************** #Title: MusicDataSetNormalisation.R Script #Date: 2016 #Author: Shane Coleman #Date Created: March 2016 #Modified: User Created R Script (MusicDataSetNormalisation.R) #Modified / Refactored Code Referenced Below #***************************************...
/MusicDataSetNormalisation.R
no_license
ShaneColeman/FYP_RStudio
R
false
false
3,346
r
#****************************************************************** #Title: MusicDataSetNormalisation.R Script #Date: 2016 #Author: Shane Coleman #Date Created: March 2016 #Modified: User Created R Script (MusicDataSetNormalisation.R) #Modified / Refactored Code Referenced Below #***************************************...
################################################################################################################################### # Functions for doing the gene presence?absence analysis ###################################################################################################################################...
/genePresAbs_functions.R
no_license
guisantagui/MSK_repo_new
R
false
false
18,315
r
################################################################################################################################### # Functions for doing the gene presence?absence analysis ###################################################################################################################################...
# step3_(group project)_Xiyucode_adjacencyMatrix_outcitations # set working directory setwd("C:/Users/Xiyu/Desktop/Xiyu's Folder/2020 Fall/Stat 992") # source file source("code/step3_(group project)_Xiyucode_adjacencyMatrix_abstract.R") # packages library(dplyr) library(readr) library(tidyverse) library(...
/code/step3_(group project)_Xiyucode_adjacencyMatrix_outcitations.R
no_license
xiyuy98/stat-992-project
R
false
false
2,126
r
# step3_(group project)_Xiyucode_adjacencyMatrix_outcitations # set working directory setwd("C:/Users/Xiyu/Desktop/Xiyu's Folder/2020 Fall/Stat 992") # source file source("code/step3_(group project)_Xiyucode_adjacencyMatrix_abstract.R") # packages library(dplyr) library(readr) library(tidyverse) library(...
#' Download Occurrences from the Paleobiology Database #' #' Downloads a data frame of Paleobiology Database fossil occurrences. #' #' @param Taxa a character vector #' @param StartInterval a character vector #' @param StopInterval a character vector #' #' @details Downloads a data frame of Paleobiology Database fossil...
/velociraptr/R/downloadPBDB.R
no_license
PeterJWagner3/paleobiodb_utilities
R
false
false
2,891
r
#' Download Occurrences from the Paleobiology Database #' #' Downloads a data frame of Paleobiology Database fossil occurrences. #' #' @param Taxa a character vector #' @param StartInterval a character vector #' @param StopInterval a character vector #' #' @details Downloads a data frame of Paleobiology Database fossil...
# Script To get endpoints of backwards particles # Run on UNSW Katana HPC library(dplyr) mydata <- readRDS("../../srv/scratch/z3374139/Combined_Backwards.rds") total_data2 <- subset(mydata, degree_days >= 500) total_data2 <- na.omit(total_data2) total_data2 <- total_data2 %>% group_by(Particle) %>% top_n(-1...
/2_SimulationAnalysis/Backwards_calculating_endpoints.R
no_license
jaseeverett/TailorParticleTracking
R
false
false
423
r
# Script To get endpoints of backwards particles # Run on UNSW Katana HPC library(dplyr) mydata <- readRDS("../../srv/scratch/z3374139/Combined_Backwards.rds") total_data2 <- subset(mydata, degree_days >= 500) total_data2 <- na.omit(total_data2) total_data2 <- total_data2 %>% group_by(Particle) %>% top_n(-1...
\name{centerx} \alias{centerx} \title{Center Matrix} \description{ Centers a matrix. } \usage{ centerx(x) } \arguments{ \item{x}{ a matrix } } \details{ Returns a centered matrix, i.e., each column of the matrix is replaced by deviations from its column mean. } \value{ The centered matrix. } \author{ John Kloke \emai...
/man/centerx.Rd
no_license
kloke/npsm
R
false
false
478
rd
\name{centerx} \alias{centerx} \title{Center Matrix} \description{ Centers a matrix. } \usage{ centerx(x) } \arguments{ \item{x}{ a matrix } } \details{ Returns a centered matrix, i.e., each column of the matrix is replaced by deviations from its column mean. } \value{ The centered matrix. } \author{ John Kloke \emai...
#' ks.big_deep_learning #' #' Run deep_learning in batches so we will not overload every computer on earth... #' #' ks.big_deep_learning = function(hyperparameters = expand.grid(layer1 = seq(3,11, by = 2), layer2 = c(0,seq(3,11, by = 2)), layer3 = c(0,seq(3,11, by = 2)), ...
/R/ks.big_deep_learning.R
no_license
mgkaszkowiak/miRNAselector
R
false
false
2,056
r
#' ks.big_deep_learning #' #' Run deep_learning in batches so we will not overload every computer on earth... #' #' ks.big_deep_learning = function(hyperparameters = expand.grid(layer1 = seq(3,11, by = 2), layer2 = c(0,seq(3,11, by = 2)), layer3 = c(0,seq(3,11, by = 2)), ...
## Decision tree library(rpart) install.packages('rpart.plot') library(rpart.plot) str(kyphosis) tree <- rpart(Kyphosis ~ .,method = 'class', data = kyphosis) printcp(tree) plot(tree, uniform = T, main = 'Kyphosis Tree') text(tree, use.n = T, all = T) prp(tree) ## Random Forest
/R-Course-HTML-Notes/R-for-Data-Science-and-Machine-Learning/Machine Learning with R/tree.R
no_license
rsharma11/Machine-learning
R
false
false
283
r
## Decision tree library(rpart) install.packages('rpart.plot') library(rpart.plot) str(kyphosis) tree <- rpart(Kyphosis ~ .,method = 'class', data = kyphosis) printcp(tree) plot(tree, uniform = T, main = 'Kyphosis Tree') text(tree, use.n = T, all = T) prp(tree) ## Random Forest
rm(list=ls()) # working on setting appropriate parms for recruitment models #Ricker model N=seq(0,5000, length.out = 100) r.a=20 r.b=0.001 R.r=r.a*N*exp(-r.b*N) plot(N,R.r,pch=16) # Beverton Holt model N=seq(0,5000,length.out = 100) bh.a=5000 bh.b=5e2 R.bh=bh.a*N/(bh.b+N) plot(N,R.bh,pch=...
/stock-recruitComparison.R
no_license
chelsnieman/MultiSppModel
R
false
false
575
r
rm(list=ls()) # working on setting appropriate parms for recruitment models #Ricker model N=seq(0,5000, length.out = 100) r.a=20 r.b=0.001 R.r=r.a*N*exp(-r.b*N) plot(N,R.r,pch=16) # Beverton Holt model N=seq(0,5000,length.out = 100) bh.a=5000 bh.b=5e2 R.bh=bh.a*N/(bh.b+N) plot(N,R.bh,pch=...
#' Find Index for Gaming Statistics #' #' A helper function to count for N x N gaming indeces. #' #' Takes in a numeric vector for which we're looking to find a N x N index. #' Returns the highest N where N >= N items deep in a descending sorted list. #' #' @param num_vect A numeric vector find_index <- function(num_ve...
/R/utils.R
permissive
jossives/bgStats
R
false
false
498
r
#' Find Index for Gaming Statistics #' #' A helper function to count for N x N gaming indeces. #' #' Takes in a numeric vector for which we're looking to find a N x N index. #' Returns the highest N where N >= N items deep in a descending sorted list. #' #' @param num_vect A numeric vector find_index <- function(num_ve...
#################################################################### #' Download and plot daily downloads of CRAN packages #' #' Download daily downloads stats from CRAN for any package, and plot. #' It can also be used as an auxiliary function to plot #' (\code{cranlogs::cran_downloads}) results. #' #' @param input Ch...
/R/cran.R
no_license
laresbernardo/lares
R
false
false
3,460
r
#################################################################### #' Download and plot daily downloads of CRAN packages #' #' Download daily downloads stats from CRAN for any package, and plot. #' It can also be used as an auxiliary function to plot #' (\code{cranlogs::cran_downloads}) results. #' #' @param input Ch...
# Statistical learning methods # Lab 1 - Introduction to R, Logistic regression, shiny, plotly # materials: https://github.com/nosarzewski/SGH_SDM_18 # mail: nosarzewski.aleks@gmail.com, an56786@sgh.waw.pl # Plan # I. About R # II. Working R # III. Objects in R # IV. Data Export/Import # V. Statistics in R ...
/Class 1/Introduction_R_after class.R
no_license
nosarzewski/SGH_SDM_18
R
false
false
17,670
r
# Statistical learning methods # Lab 1 - Introduction to R, Logistic regression, shiny, plotly # materials: https://github.com/nosarzewski/SGH_SDM_18 # mail: nosarzewski.aleks@gmail.com, an56786@sgh.waw.pl # Plan # I. About R # II. Working R # III. Objects in R # IV. Data Export/Import # V. Statistics in R ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/PeriodSelector.R \docType{class} \name{PeriodSelector-class} \alias{PeriodSelector-class} \title{PeriodSelector} \description{ Define the PeriodSelector properties. } \section{Slots}{ \describe{ \item{\code{periods}}{\code{list}. Period obje...
/man/PeriodSelector-class.Rd
no_license
lucavignali/rAmCharts
R
false
true
1,105
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/PeriodSelector.R \docType{class} \name{PeriodSelector-class} \alias{PeriodSelector-class} \title{PeriodSelector} \description{ Define the PeriodSelector properties. } \section{Slots}{ \describe{ \item{\code{periods}}{\code{list}. Period obje...
#:# libraries library(digest) library(mlr) library(OpenML) library(farff) #:# config set.seed(1) #:# data dataset <- getOMLDataSet(data.name = "sonar") head(dataset$data) #:# preprocessing head(dataset$data) #:# model task = makeClassifTask(id = "task", data = dataset$data, target = "Class") lrn = makeLearner("clas...
/models/openml_sonar/classification_Class/af427dbc4897bc1895327019f2385ed0/code.R
no_license
pysiakk/CaseStudies2019S
R
false
false
714
r
#:# libraries library(digest) library(mlr) library(OpenML) library(farff) #:# config set.seed(1) #:# data dataset <- getOMLDataSet(data.name = "sonar") head(dataset$data) #:# preprocessing head(dataset$data) #:# model task = makeClassifTask(id = "task", data = dataset$data, target = "Class") lrn = makeLearner("clas...
#' sim_dauer_biased #' #' simulate unbalanced dauer assay data using 3 groups of strains #' I, A and B. Simulation uses day-to-day and plate-to-plate variance. #' Can be used to simulate any binomial data with hierarchical clusters. #' Contains nested function gen.dauer.data which is specific for unbalanced.data. #' ...
/R/sim_dauer_biased.R
no_license
mikeod38/dauergut
R
false
false
9,353
r
#' sim_dauer_biased #' #' simulate unbalanced dauer assay data using 3 groups of strains #' I, A and B. Simulation uses day-to-day and plate-to-plate variance. #' Can be used to simulate any binomial data with hierarchical clusters. #' Contains nested function gen.dauer.data which is specific for unbalanced.data. #' ...
#' Title: Elastic net example #' Purpose: Build an elastic net for classification #' Author: Ted Kwartler #' email: edwardkwartler@fas.harvard.edu #' License: GPL>=3 #' Date: Nov 21, 2022 #' # Wd setwd("~/Desktop/Harvard_DataMining_Business_Student/personalFiles") # Libs library(text2vec) library(caret) library(tm)...
/Lessons/K_More_TM_DocClass/scripts/F_ElasticNetExample.R
no_license
kwartler/Harvard_DataMining_Business_Student
R
false
false
3,099
r
#' Title: Elastic net example #' Purpose: Build an elastic net for classification #' Author: Ted Kwartler #' email: edwardkwartler@fas.harvard.edu #' License: GPL>=3 #' Date: Nov 21, 2022 #' # Wd setwd("~/Desktop/Harvard_DataMining_Business_Student/personalFiles") # Libs library(text2vec) library(caret) library(tm)...
#### Purpose: Calibrate the logit-normal GAS model with a pool of loans, 2 macro variables, one macro factor and one frailty factor #Time-series tobs <- unique(DM_1C[DateQtr > 2003]$DateQtr) #Cross-section cobs <- matrix(data = 0, nrow = length(tobs), ncol = 1) for(i in 1:length(tobs)){ cobs[i] <- nrow(DM_1C[DateQtr...
/Mix-Measurement GAS/Empirical Analysis/Logit_2Normal_1Fn_1Fl.R
permissive
felixjff/GAS-Models
R
false
false
4,656
r
#### Purpose: Calibrate the logit-normal GAS model with a pool of loans, 2 macro variables, one macro factor and one frailty factor #Time-series tobs <- unique(DM_1C[DateQtr > 2003]$DateQtr) #Cross-section cobs <- matrix(data = 0, nrow = length(tobs), ncol = 1) for(i in 1:length(tobs)){ cobs[i] <- nrow(DM_1C[DateQtr...
#' Retrieve a data frame of all active surveys on Qualtrics #' #' @seealso See \url{https://api.qualtrics.com/docs/} for documentation on the #' Qualtrics API. #' @importFrom dplyr bind_rows #' @export #' @examples #' \dontrun{ #' # Register your Qualtrics credentials if you haven't already #' qualtrics_api_credentials...
/R/all_surveys.R
permissive
shleeneu/qualtRics
R
false
false
1,643
r
#' Retrieve a data frame of all active surveys on Qualtrics #' #' @seealso See \url{https://api.qualtrics.com/docs/} for documentation on the #' Qualtrics API. #' @importFrom dplyr bind_rows #' @export #' @examples #' \dontrun{ #' # Register your Qualtrics credentials if you haven't already #' qualtrics_api_credentials...
#IMPORTANT: The household_power_consumption.txt file must be in your working directory. p1 <- read.table("household_power_consumption.txt", sep=";", header=TRUE) library(datasets) p1s <- p1[as.Date(p1$Date, "%d/%m/%Y") %in% as.Date(c('2007-02-01', '2007-02-02')),] p1s$newtime <- as.POSIXct(paste(p1s$Date, p1s$Tim...
/plot3.R
no_license
rbroderson/ExData_Plotting1
R
false
false
946
r
#IMPORTANT: The household_power_consumption.txt file must be in your working directory. p1 <- read.table("household_power_consumption.txt", sep=";", header=TRUE) library(datasets) p1s <- p1[as.Date(p1$Date, "%d/%m/%Y") %in% as.Date(c('2007-02-01', '2007-02-02')),] p1s$newtime <- as.POSIXct(paste(p1s$Date, p1s$Tim...
#' @title Net #' #' #' @description Net model from Migrating_Pytorch #' @return model #' #' @examples #' #' \dontrun{ #' #' Net() #' #' } #' #' @export Net = function() { migrating_pytorch$Net() } #' @title Train_loader #' #' @description Data loader. Combines a dataset and a sampler, and provides an iterable ov...
/R/custom_modules.R
permissive
han-tun/fastai
R
false
false
2,058
r
#' @title Net #' #' #' @description Net model from Migrating_Pytorch #' @return model #' #' @examples #' #' \dontrun{ #' #' Net() #' #' } #' #' @export Net = function() { migrating_pytorch$Net() } #' @title Train_loader #' #' @description Data loader. Combines a dataset and a sampler, and provides an iterable ov...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/gimme-data.R \docType{data} \name{ts2} \alias{ts2} \title{Example heterogeneous data, 2} \format{A data frame with 50 observations on 3 variables.} \usage{ ts2 } \description{ This data contains simulated time-series data for a single individ...
/gimme/man/ts2.Rd
no_license
stlane/gimme
R
false
true
407
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/gimme-data.R \docType{data} \name{ts2} \alias{ts2} \title{Example heterogeneous data, 2} \format{A data frame with 50 observations on 3 variables.} \usage{ ts2 } \description{ This data contains simulated time-series data for a single individ...
require(BayesTree) setwd("~/Documents/Research/Genomics") source("bart_fns.R") source("bart_fns2.R") ##Set-up set.seed(20) ##TF settings tf.size2=c(10,20,30,40) ##script is set to work with this right now ##Observation settings n50=50 n300=300 mean.tf=0 #1.4862e-05 ##generate the X matrix which will be fixed- sl sd...
/Code_Objects/bart_sig_est_v2.R
no_license
jbleich89/bart_gene
R
false
false
11,746
r
require(BayesTree) setwd("~/Documents/Research/Genomics") source("bart_fns.R") source("bart_fns2.R") ##Set-up set.seed(20) ##TF settings tf.size2=c(10,20,30,40) ##script is set to work with this right now ##Observation settings n50=50 n300=300 mean.tf=0 #1.4862e-05 ##generate the X matrix which will be fixed- sl sd...
#Data reading & formatting household_power_consumption <- read.csv("~/Downloads/household_power_consumption.txt", sep=";", na.strings="?", stringsAsFactors=FALSE) npc_short <- subset(household_power_consumption, Date=="1/2/2007" | Date=="2/2/2007") npc_short$newDate <- as.Date(npc_short$Date, format="%d/%m/%Y") npc_sho...
/plot1.R
no_license
kpgergely/kpgergely_assignment_1
R
false
false
650
r
#Data reading & formatting household_power_consumption <- read.csv("~/Downloads/household_power_consumption.txt", sep=";", na.strings="?", stringsAsFactors=FALSE) npc_short <- subset(household_power_consumption, Date=="1/2/2007" | Date=="2/2/2007") npc_short$newDate <- as.Date(npc_short$Date, format="%d/%m/%Y") npc_sho...
##Plot all 4 graphs labels <- c("Sub_metering_1","Sub_metering_2","Sub_metering_3") columnlines <- c("black","red","blue") par(mfrow=c(2,2)) plot(finalData$SetTime, finalData$Global_active_power, type="l", col="green", xlab="", ylab="Global Active Power") plot(finalData$SetTime, finalData$Voltage, type="l", col="orange...
/plot4.R
no_license
lacey-loftin/ExData_Plotting1
R
false
false
790
r
##Plot all 4 graphs labels <- c("Sub_metering_1","Sub_metering_2","Sub_metering_3") columnlines <- c("black","red","blue") par(mfrow=c(2,2)) plot(finalData$SetTime, finalData$Global_active_power, type="l", col="green", xlab="", ylab="Global Active Power") plot(finalData$SetTime, finalData$Voltage, type="l", col="orange...
################################################################################ # # Vladimir Zhurov, vzhurov2@uwo.ca, Fri Oct 20 21:43:31 2017 # # This is workflow for analysis of RNA-Seq data # # Experiment: GENOMITE, mite on tomato data # # Interactive analysis using voom/limma # # Input: htseq-count results fr...
/rnaseq/2_strawberry_dge.R
no_license
sunnycqcn/popgen
R
false
false
11,438
r
################################################################################ # # Vladimir Zhurov, vzhurov2@uwo.ca, Fri Oct 20 21:43:31 2017 # # This is workflow for analysis of RNA-Seq data # # Experiment: GENOMITE, mite on tomato data # # Interactive analysis using voom/limma # # Input: htseq-count results fr...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/knitr_helper.R \name{sub_ext} \alias{sub_ext} \title{substitute extension of file x with ext} \usage{ sub_ext(x, ext) } \arguments{ \item{x}{vector with original file names} \item{ext}{new extension to be added} } \value{ file names with new...
/man/sub_ext.Rd
no_license
charlotte-ngs/rcoursetools
R
false
true
702
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/knitr_helper.R \name{sub_ext} \alias{sub_ext} \title{substitute extension of file x with ext} \usage{ sub_ext(x, ext) } \arguments{ \item{x}{vector with original file names} \item{ext}{new extension to be added} } \value{ file names with new...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/summary.evsi.R \name{summary.evsi} \alias{summary.evsi} \title{Summarises the output of an evsi object} \usage{ \method{summary}{evsi}(obj.evsi, wtp = NULL, N = NULL, CI = NULL) } \arguments{ \item{obj.evsi}{An evsi object.} \item{wtp}{A fix...
/man/summary.evsi.Rd
no_license
annaheath/EVSI
R
false
true
781
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/summary.evsi.R \name{summary.evsi} \alias{summary.evsi} \title{Summarises the output of an evsi object} \usage{ \method{summary}{evsi}(obj.evsi, wtp = NULL, N = NULL, CI = NULL) } \arguments{ \item{obj.evsi}{An evsi object.} \item{wtp}{A fix...
context("plot.mgcv.smooth ") test_that("plot.mgcv.smooth", { library(mgcViz); library(plyr); library(gridExtra) set.seed(2) ## simulate some data... dat <- gamSim(1,n=200,dist="normal",scale=2) x <- gam(y~s(x0)+s(x1)+s(x2)+s(x3),data=dat) combs <- as.matrix(expand.grid(c(F,T),c(F,T),c(F,T),c(F,T))) plts <...
/inst/tests/test-plot_mgcv_smooth.R
no_license
dill/mgcViz
R
false
false
495
r
context("plot.mgcv.smooth ") test_that("plot.mgcv.smooth", { library(mgcViz); library(plyr); library(gridExtra) set.seed(2) ## simulate some data... dat <- gamSim(1,n=200,dist="normal",scale=2) x <- gam(y~s(x0)+s(x1)+s(x2)+s(x3),data=dat) combs <- as.matrix(expand.grid(c(F,T),c(F,T),c(F,T),c(F,T))) plts <...
library("aroma.light") # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # Example 2: Two-enzyme fragment-length normalization of 6 arrays # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - set.seed(0xbeef) # Number samples I <- 5 # Number of loci J <- 3000 # Fragment lengths ...
/tests/normalizeFragmentLength-ex2.R
no_license
HenrikBengtsson/aroma.light
R
false
false
4,659
r
library("aroma.light") # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # Example 2: Two-enzyme fragment-length normalization of 6 arrays # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - set.seed(0xbeef) # Number samples I <- 5 # Number of loci J <- 3000 # Fragment lengths ...
library(tidyverse) library("dplyr") bill <- read.csv("500_Cities__Local_Data_for_Better_Health.csv") print(bill) State_description <- bill %>% select(Year, StateAbbr, Category, CityName, Measure, PopulationCount, Data_Value, Low_Confidence_Limit,High_Confidence_Limit)%>% filter(StateAbbr =="IL")%>% filter(Cate...
/Visualize Your Data6.R
no_license
Ory-Data-Science/final-project-sam-and-stacey
R
false
false
1,050
r
library(tidyverse) library("dplyr") bill <- read.csv("500_Cities__Local_Data_for_Better_Health.csv") print(bill) State_description <- bill %>% select(Year, StateAbbr, Category, CityName, Measure, PopulationCount, Data_Value, Low_Confidence_Limit,High_Confidence_Limit)%>% filter(StateAbbr =="IL")%>% filter(Cate...
# Subject : Data Programming HW 4 # Author : Yim Yonghwan # Final update : 2018.11.08 ######################################################################################## # Ex 1-1.Binomial dbinom(0, size = 30, prob = 0.05) # Ex 1-2. prob1 <- 1 - pbinom(3, size = 30, prob = 0.05); prob1 #############...
/DP_HW_4.R
no_license
YonghwanYim/Data_Programming
R
false
false
2,659
r
# Subject : Data Programming HW 4 # Author : Yim Yonghwan # Final update : 2018.11.08 ######################################################################################## # Ex 1-1.Binomial dbinom(0, size = 30, prob = 0.05) # Ex 1-2. prob1 <- 1 - pbinom(3, size = 30, prob = 0.05); prob1 #############...
# Create vector of values rabbitLateness <- c(40, 30, 20, 45, 60, 120, 35, 40, 55, 55, 53, 22, 27, 48, 62, 33, 35, 40, 45) # Range range(rabbitLateness) # Create intervals bins <- seq(20, 130, by = 10) # Frequency table intervals <- cut(rabbitLateness, bins, right = FALSE) table(intervals) # Histogr...
/R2_range_freq_mean.R
no_license
evahegnar/R
R
false
false
592
r
# Create vector of values rabbitLateness <- c(40, 30, 20, 45, 60, 120, 35, 40, 55, 55, 53, 22, 27, 48, 62, 33, 35, 40, 45) # Range range(rabbitLateness) # Create intervals bins <- seq(20, 130, by = 10) # Frequency table intervals <- cut(rabbitLateness, bins, right = FALSE) table(intervals) # Histogr...
plot4 <- function() { ##define zip_url zip_url <- "https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip" ##download .zip file to working directory download.file(zip_url, destfile = "project_data.zip") ##unzip data file to "project" folder in working directory unzip("proje...
/plot4.R
no_license
marktgross/ExData_Plotting1
R
false
false
3,417
r
plot4 <- function() { ##define zip_url zip_url <- "https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip" ##download .zip file to working directory download.file(zip_url, destfile = "project_data.zip") ##unzip data file to "project" folder in working directory unzip("proje...
library(plyr) library(ggplot2) require(reshape2) library(nlme) library(gridExtra) require(scales) #mytheme <-theme_bw(base_size=30) + theme(plot.title = element_text(vjust=2), panel.margin= unit(0.75, "lines"), axis.title.y = element_text(vjust=0), #plot.margin=unit(c(1,1,1.5,1.2),"cm"), panel.border = elem...
/EcuRCode/BoxTrials/OldCode/BoxTrialsGraphs.R
no_license
ruthubc/ruthubc
R
false
false
20,981
r
library(plyr) library(ggplot2) require(reshape2) library(nlme) library(gridExtra) require(scales) #mytheme <-theme_bw(base_size=30) + theme(plot.title = element_text(vjust=2), panel.margin= unit(0.75, "lines"), axis.title.y = element_text(vjust=0), #plot.margin=unit(c(1,1,1.5,1.2),"cm"), panel.border = elem...
# Copyright 2020 Observational Health Data Sciences and Informatics # # This file is part of OhdsiSharing # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licen...
/extras/PackageMaintenance.R
permissive
rfherrerac/OhdsiSharing
R
false
false
969
r
# Copyright 2020 Observational Health Data Sciences and Informatics # # This file is part of OhdsiSharing # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licen...
Sys.setlocale("LC_TIME", "C")
/setlocale.R
no_license
nickleeh/r_proj
R
false
false
31
r
Sys.setlocale("LC_TIME", "C")
/fejezet8.R
no_license
klajosw/r_prg
R
false
false
1,620
r
/workout03/binomial/R/binomial.R
no_license
stat133-sp19/hw-stat133-gobearscn
R
false
false
5,772
r