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
############################################################### ## Post-processing analysis for Microtus californicus ENMs ## Author: Tainá Rocha ## DAte: MAy 2020 ## Last Update: 16 April 2020 ############################################################### ### Library pckgs library(raster) library(rgdal) ########...
/Rscripts/LIG_Post-processing_analysis.R
no_license
Tai-Rocha/Vole
R
false
false
1,375
r
############################################################### ## Post-processing analysis for Microtus californicus ENMs ## Author: Tainá Rocha ## DAte: MAy 2020 ## Last Update: 16 April 2020 ############################################################### ### Library pckgs library(raster) library(rgdal) ########...
#library for PROSAIL and also Spectral Angle Mapper library(hsdar) #library that has some extra random generation tools library(MCMCglmm) #Latin hypercube comes from here library(FME) #for more options on generating random samples library(MCMCglmm) #the single target classifier library(randomForest) #investigate l...
/MiscScripts/mRF_NeonData.r
no_license
nunocesarsa/Vegetation-trait-modelling-
R
false
false
14,929
r
#library for PROSAIL and also Spectral Angle Mapper library(hsdar) #library that has some extra random generation tools library(MCMCglmm) #Latin hypercube comes from here library(FME) #for more options on generating random samples library(MCMCglmm) #the single target classifier library(randomForest) #investigate l...
library(shiny) library(ggplot2) ui <- fluidPage( sidebarLayout( sidebarPanel(sliderInput("df", "Degrees of freedom", min = 1, max = 20, value = 2, step = 1) ), ...
/shinyApps/Dist_T/app.R
no_license
IMSMWU/MRDA2018
R
false
false
1,206
r
library(shiny) library(ggplot2) ui <- fluidPage( sidebarLayout( sidebarPanel(sliderInput("df", "Degrees of freedom", min = 1, max = 20, value = 2, step = 1) ), ...
require(mosaic) shinyServer(function(input, output) { # Expression that generates a histogram. The expression is # wrapped in a call to renderPlot to indicate that: # # 1) It is "reactive" and therefore should re-execute automatically # when inputs change # 2) Its output type is a plot ppln <...
/testing/cltMeans/server.R
no_license
mathsco/shinyApps
R
false
false
1,922
r
require(mosaic) shinyServer(function(input, output) { # Expression that generates a histogram. The expression is # wrapped in a call to renderPlot to indicate that: # # 1) It is "reactive" and therefore should re-execute automatically # when inputs change # 2) Its output type is a plot ppln <...
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
/r/R/dplyr-funcs-string.R
permissive
tallamjr/arrow
R
false
false
17,222
r
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
require("plotly") require("data.table") require("ggplot2") completeData = na.omit(fread("complete.csv", nrows = 50000)) #Get all the unique subId's completeData$date <- as.Date(as.character(completeData$date), format = "%Y%m%d") uniquename <- sort(unique(completeData$name)) rangeSlider = c(min(completeData$close),...
/Analysis.R
no_license
lucy2329/Stock-Market-Analysis
R
false
false
1,259
r
require("plotly") require("data.table") require("ggplot2") completeData = na.omit(fread("complete.csv", nrows = 50000)) #Get all the unique subId's completeData$date <- as.Date(as.character(completeData$date), format = "%Y%m%d") uniquename <- sort(unique(completeData$name)) rangeSlider = c(min(completeData$close),...
# Checks to see if the data is in any reasonable location, if it can't find it or the base zip file, then it downloads and extracts to a data subfolder. if(file.exists("data/household_power_consumption.txt")){ filedest = "data/household_power_consumption.txt" } else if(file.exists("household_power_consumption....
/plot1.R
no_license
wittyalias/ExData_Plotting1
R
false
false
1,692
r
# Checks to see if the data is in any reasonable location, if it can't find it or the base zip file, then it downloads and extracts to a data subfolder. if(file.exists("data/household_power_consumption.txt")){ filedest = "data/household_power_consumption.txt" } else if(file.exists("household_power_consumption....
#DEMO TANK MODEL FOR APP # #test data # fnam="tankhist.csv" # dat=read.csv(fnam,header=T) # A=Sys.time() # out=tankPerformance(data=dat, # roofArea=50, # nPeople=1, # tankVol=3000, # write.file=TRUE, # fnam="tank_demo_sam.csv"...
/R/demoTankModel.R
no_license
cran/foreSIGHT
R
false
false
11,511
r
#DEMO TANK MODEL FOR APP # #test data # fnam="tankhist.csv" # dat=read.csv(fnam,header=T) # A=Sys.time() # out=tankPerformance(data=dat, # roofArea=50, # nPeople=1, # tankVol=3000, # write.file=TRUE, # fnam="tank_demo_sam.csv"...
library(phyloseq) library(ggplot2) library(reshape) library(qiime2R) setwd('/Users/sophiecurio/Dropbox/APC_project/16s/Sophie/') phy<-qza_to_phyloseq("table.qza", "rooted-tree.qza", "taxonomy.qza","metadata_phyloseq2.tsv") Genotypes = c("APC_WT3", "WT_ctrl") Timepoints = c("18") name <- paste(Genotypes, Timepoints, c...
/Microbiota/alpha.r
no_license
sophiecurio/phd
R
false
false
1,302
r
library(phyloseq) library(ggplot2) library(reshape) library(qiime2R) setwd('/Users/sophiecurio/Dropbox/APC_project/16s/Sophie/') phy<-qza_to_phyloseq("table.qza", "rooted-tree.qza", "taxonomy.qza","metadata_phyloseq2.tsv") Genotypes = c("APC_WT3", "WT_ctrl") Timepoints = c("18") name <- paste(Genotypes, Timepoints, c...
############# R Functions for parsing NCCA ASCII header information ############## # 3-6-2014 Raymond Nelson # 8-1-2014 # # this script contains the following 3 functions # # chartHeader() # to make a .csv file of the header data for each chart # # stimText() # to make a .csv file of the stimulus text for each chart # ...
/backup/headerParse.r
no_license
raymondnelson/NCCA_ASCII_Parse
R
false
false
8,531
r
############# R Functions for parsing NCCA ASCII header information ############## # 3-6-2014 Raymond Nelson # 8-1-2014 # # this script contains the following 3 functions # # chartHeader() # to make a .csv file of the header data for each chart # # stimText() # to make a .csv file of the stimulus text for each chart # ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/312.Expec_Leng_ADJ_All_Graph.R \name{PlotexplALT} \alias{PlotexplALT} \title{Plots the Expected length using adjusted Logit Wald method} \usage{ PlotexplALT(n, alp, h, a, b) } \arguments{ \item{n}{- Number of trials} \item{alp}{- Alpha value...
/man/PlotexplALT.Rd
no_license
RajeswaranV/proportion
R
false
true
1,376
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/312.Expec_Leng_ADJ_All_Graph.R \name{PlotexplALT} \alias{PlotexplALT} \title{Plots the Expected length using adjusted Logit Wald method} \usage{ PlotexplALT(n, alp, h, a, b) } \arguments{ \item{n}{- Number of trials} \item{alp}{- Alpha value...
rm(list = ls()) dirname = getSrcDirectory(function(x) {x}) setwd(dirname) library(forecast) library(deepnet) library(RSNNS) source("databaseconnection.R") dirimages = paste(getwd(),"/Results/*",sep="") unlink(dirimages) open = 1 close = 2 high = 3 low = 4 variacaonula = c(0,0.001) variacaomormal = c(0.001,0.003) vari...
/CodeR/testForecast.R
no_license
sandyporto/Forex
R
false
false
2,151
r
rm(list = ls()) dirname = getSrcDirectory(function(x) {x}) setwd(dirname) library(forecast) library(deepnet) library(RSNNS) source("databaseconnection.R") dirimages = paste(getwd(),"/Results/*",sep="") unlink(dirimages) open = 1 close = 2 high = 3 low = 4 variacaonula = c(0,0.001) variacaomormal = c(0.001,0.003) vari...
library(dplyr) ss.bounds <- readRDS("ss.bounds.rds") alpha <- 0.025 method <- 'wn' scenario <- 16 param <- 1 anal_type <- "sing" ss <- ss.bounds%>% dplyr::filter(method == "wn", scenario.id == scenario) do_val <- 0.15 x1 <- parallel::mclapply(X = 1:10000, mc.cores = parallel::detectCore...
/sim_pgms/wn/do15/2xcontH1_sc16_do15_sing.R
no_license
yuliasidi/nibinom_apply
R
false
false
2,221
r
library(dplyr) ss.bounds <- readRDS("ss.bounds.rds") alpha <- 0.025 method <- 'wn' scenario <- 16 param <- 1 anal_type <- "sing" ss <- ss.bounds%>% dplyr::filter(method == "wn", scenario.id == scenario) do_val <- 0.15 x1 <- parallel::mclapply(X = 1:10000, mc.cores = parallel::detectCore...
library(CoxRidge) ### Name: GBSG ### Title: German Breast Cancer Study Group. ### Aliases: GBSG ### Keywords: datasets ### ** Examples data(GBSG) str(GBSG)
/data/genthat_extracted_code/CoxRidge/examples/GBSG.rd.R
no_license
surayaaramli/typeRrh
R
false
false
164
r
library(CoxRidge) ### Name: GBSG ### Title: German Breast Cancer Study Group. ### Aliases: GBSG ### Keywords: datasets ### ** Examples data(GBSG) str(GBSG)
#' Set file path to directory storing downloaded census data #' #' #' @param path path to directory holding all downloaded census data, such as #' "E:/my_census_data" and "~/my_census_data/". #' #' @export # This function is modified from census_api_key() in package tidycensus, MIT liscence set_path_to_census <- f...
/R/set_path_to_census.R
no_license
ruralinnovation/totalcensus
R
false
false
2,523
r
#' Set file path to directory storing downloaded census data #' #' #' @param path path to directory holding all downloaded census data, such as #' "E:/my_census_data" and "~/my_census_data/". #' #' @export # This function is modified from census_api_key() in package tidycensus, MIT liscence set_path_to_census <- f...
library(readxl) library(dplyr) library(reshape2) ##Reading each participant's csv file and combind their data #################################################################### ##Reading data df_1 <- read.csv('~/Downloads/350s2/Participants/1/Report - 1.csv') df_1 <- as.data.frame(t(df_1)) df_2 <- read.csv('~/Do...
/R_Data_analysis/experiment.R
no_license
kkateli/Data_Analysis_R
R
false
false
9,947
r
library(readxl) library(dplyr) library(reshape2) ##Reading each participant's csv file and combind their data #################################################################### ##Reading data df_1 <- read.csv('~/Downloads/350s2/Participants/1/Report - 1.csv') df_1 <- as.data.frame(t(df_1)) df_2 <- read.csv('~/Do...
#' Creates a new CellDateSet object. #' #' @param cellData expression data matrix for an experiment #' @param phenoData data frame containing attributes of individual cells #' @param featureData data frame containing attributes of features (e.g. genes) #' @param lowerDetectionLimit the minimum expression level that co...
/R/utils.R
no_license
wangprince2017/monocle-release
R
false
false
22,817
r
#' Creates a new CellDateSet object. #' #' @param cellData expression data matrix for an experiment #' @param phenoData data frame containing attributes of individual cells #' @param featureData data frame containing attributes of features (e.g. genes) #' @param lowerDetectionLimit the minimum expression level that co...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/qc_md_general_checks.R \name{qc_env_dics} \alias{qc_env_dics} \title{Dictionary creation for environmental_md variables} \usage{ qc_env_dics(variable, parent_logger = "test") } \arguments{ \item{variable}{Variable name in which the dictionary...
/man/qc_env_dics.Rd
no_license
sapfluxnet/sapfluxnetQC1
R
false
true
1,309
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/qc_md_general_checks.R \name{qc_env_dics} \alias{qc_env_dics} \title{Dictionary creation for environmental_md variables} \usage{ qc_env_dics(variable, parent_logger = "test") } \arguments{ \item{variable}{Variable name in which the dictionary...
###batting log wrangled in "substring.r" ###data was slightly edited from original. redo in R. library(rethinking) library(tidyverse) ### set.seed(1234) options(mc.cores = parallel::detectCores()) Sys.setenv(LOCAL_CPPFLAGS = '-march=native') ### m2 <- map2stan( alist( rdiff ~ dnorm( mu, sigma), mu <- int + ...
/Bayesian Baseball 2018/scripts/Modeling/Comparison Models/nonmlmv2.R
no_license
blakeshurtz/Bayesian-Baseball
R
false
false
1,724
r
###batting log wrangled in "substring.r" ###data was slightly edited from original. redo in R. library(rethinking) library(tidyverse) ### set.seed(1234) options(mc.cores = parallel::detectCores()) Sys.setenv(LOCAL_CPPFLAGS = '-march=native') ### m2 <- map2stan( alist( rdiff ~ dnorm( mu, sigma), mu <- int + ...
#'Extract the metadata from Zeiss LSM file using loci bioformats as text vector #' #'Specifically, this relies on the showinf tool of loci Details #'@param f Path to lsm file #'@param cachefile Whether to save a copy of metadata to disk (TRUE) #'@param ReturnMetaData Whether to return metadata rather than success (defa...
/R/lsm_metadata.R
no_license
jefferislab/jimpipeline
R
false
false
8,576
r
#'Extract the metadata from Zeiss LSM file using loci bioformats as text vector #' #'Specifically, this relies on the showinf tool of loci Details #'@param f Path to lsm file #'@param cachefile Whether to save a copy of metadata to disk (TRUE) #'@param ReturnMetaData Whether to return metadata rather than success (defa...
h2o.ensemble <- function(x, y, training_frame, model_id = "", validation_frame = NULL, family = c("AUTO", "binomial", "gaussian"), learner = c("h2o.glm.wrapper", "h2o.randomForest.wrapper", "h2o.gbm.wrapper", "h2o.deeplearning.wrapper"), ...
/h2o-r/ensemble/h2oEnsemble-package/R/ensemble.R
permissive
josh-whitney/h2o-3
R
false
false
13,564
r
h2o.ensemble <- function(x, y, training_frame, model_id = "", validation_frame = NULL, family = c("AUTO", "binomial", "gaussian"), learner = c("h2o.glm.wrapper", "h2o.randomForest.wrapper", "h2o.gbm.wrapper", "h2o.deeplearning.wrapper"), ...
View(iris) iris1<-iris[,c(1,2,3,4)] kmeans_iris<-kmeans(iris1,4,iter.max=10,nstart=1)#####3=no of clusters..iter.max=10gives ##no of iterations,nstart=1...only 1 centroid kmeans_iris k1<-681.3706 k2<-28.55208+123.79588 k3<-39.82097+15.15100+23.87947 k4<-15.15...
/elbow.R
no_license
nikhilraj0025/K-mEAns-Elbow-Method-in-R
R
false
false
809
r
View(iris) iris1<-iris[,c(1,2,3,4)] kmeans_iris<-kmeans(iris1,4,iter.max=10,nstart=1)#####3=no of clusters..iter.max=10gives ##no of iterations,nstart=1...only 1 centroid kmeans_iris k1<-681.3706 k2<-28.55208+123.79588 k3<-39.82097+15.15100+23.87947 k4<-15.15...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/gh-actions.R \name{gha_add_secret} \alias{gha_add_secret} \title{Add a GitHub Actions secret to a repository} \usage{ gha_add_secret( secret, name, repo_slug = NULL, remote = "origin", visibility = "all", selected_repo...
/man/gha_add_secret.Rd
no_license
ropensci/tic
R
false
true
1,827
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/gh-actions.R \name{gha_add_secret} \alias{gha_add_secret} \title{Add a GitHub Actions secret to a repository} \usage{ gha_add_secret( secret, name, repo_slug = NULL, remote = "origin", visibility = "all", selected_repo...
library(csv) ### Name: as.csv ### Title: Read or Write CSV Using Selected Conventions ### Aliases: as.csv ### ** Examples data <- head(Theoph) filepath <- file.path(tempdir(),'theoph.csv') as.csv(data,filepath) as.csv(filepath)
/data/genthat_extracted_code/csv/examples/as.csv.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
235
r
library(csv) ### Name: as.csv ### Title: Read or Write CSV Using Selected Conventions ### Aliases: as.csv ### ** Examples data <- head(Theoph) filepath <- file.path(tempdir(),'theoph.csv') as.csv(data,filepath) as.csv(filepath)
setwd(normalizePath(dirname(R.utils::commandArgs(asValues=TRUE)$"f"))) source('../../h2o-runit.R') rtest <- function() { hdfs_name_node = hadoop.namenode() hdfs_data_file = "/datasets/bigdata/7MRows_4400KCols.csv" #---------------------------------------------------------------------- # Parameters for the test. #----...
/h2o-r/tests/testdir_algos/gbm/runit_INTERNAL_GBM_7MRows_4.4KCols_xlarge.R
permissive
tamseo/h2o-3
R
false
false
898
r
setwd(normalizePath(dirname(R.utils::commandArgs(asValues=TRUE)$"f"))) source('../../h2o-runit.R') rtest <- function() { hdfs_name_node = hadoop.namenode() hdfs_data_file = "/datasets/bigdata/7MRows_4400KCols.csv" #---------------------------------------------------------------------- # Parameters for the test. #----...
#' Returns predictor vector for design matrix #' @description Returns predictor vector for design matrix from 44 astronomical angular velocities. #' @param xi Transit index #' @param ma Max number of predictors. #' @param ivar Dummy. #' @param tdiff Length of input time series. #' @return The predictor vector. Va...
/TideCurves/R/Funcs.R
no_license
ingted/R-Examples
R
false
false
2,442
r
#' Returns predictor vector for design matrix #' @description Returns predictor vector for design matrix from 44 astronomical angular velocities. #' @param xi Transit index #' @param ma Max number of predictors. #' @param ivar Dummy. #' @param tdiff Length of input time series. #' @return The predictor vector. Va...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/keyword_function.R \name{keyword_function} \alias{keyword_function} \title{A Self-made Median Function} \usage{ keyword_function(xlsxfile, keyword, outname) } \arguments{ \item{x}{A numeric vector.} } \description{ This function allows you to...
/keyword/man/keyword_function.Rd
no_license
chihchieh/R-package
R
false
true
424
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/keyword_function.R \name{keyword_function} \alias{keyword_function} \title{A Self-made Median Function} \usage{ keyword_function(xlsxfile, keyword, outname) } \arguments{ \item{x}{A numeric vector.} } \description{ This function allows you to...
############################################################################ ############ BASICS ############ ############ This script matches with the examples presented in ############ "07-ApplicationIV-TreeBUGS.pdf" ############ ############################################################################ ...
/2019-05 SMiP workshop (Mannheim)/07 Application III - TreeBUGS/07-ApplicationIII-TreeBUGS.R
no_license
danheck/MPT-workshop
R
false
false
10,974
r
############################################################################ ############ BASICS ############ ############ This script matches with the examples presented in ############ "07-ApplicationIV-TreeBUGS.pdf" ############ ############################################################################ ...
c DCNF-Autarky [version 0.0.1]. c Copyright (c) 2018-2019 Swansea University. c c Input Clause Count: 63460 c Performing E1-Autarky iteration. c Remaining clauses count after E-Reduction: 63460 c c Input Parameter (command line, file): c input filename QBFLIB/Herbstritt/blackbox-01X-QBF/biu.mv.xl_ao.bb-b003-p020-...
/code/dcnf-ankit-optimized/Results/QBFLIB-2018/E1/Experiments/Herbstritt/blackbox-01X-QBF/biu.mv.xl_ao.bb-b003-p020-MIF02-c01.blif-biu.inv.prop.bb-bmc.with-IOC.unfold-008/biu.mv.xl_ao.bb-b003-p020-MIF02-c01.blif-biu.inv.prop.bb-bmc.with-IOC.unfold-008.R
no_license
arey0pushpa/dcnf-autarky
R
false
false
787
r
c DCNF-Autarky [version 0.0.1]. c Copyright (c) 2018-2019 Swansea University. c c Input Clause Count: 63460 c Performing E1-Autarky iteration. c Remaining clauses count after E-Reduction: 63460 c c Input Parameter (command line, file): c input filename QBFLIB/Herbstritt/blackbox-01X-QBF/biu.mv.xl_ao.bb-b003-p020-...
# Page No. 5 no_of_white_flags = 4 no_of_red_flags = 3 no_of_blue_flags = 2 ans = factorial(no_of_white_flags + no_of_red_flags + no_of_blue_flags) / (factorial(no_of_white_flags) * factorial(no_of_red_flags) * factorial(no_of_blue_flags)) print(ans)
/A_First_Course_In_Probability_by_Sheldon_Ross/CH1/EX3.f/Ex1_3f.R
permissive
FOSSEE/R_TBC_Uploads
R
false
false
253
r
# Page No. 5 no_of_white_flags = 4 no_of_red_flags = 3 no_of_blue_flags = 2 ans = factorial(no_of_white_flags + no_of_red_flags + no_of_blue_flags) / (factorial(no_of_white_flags) * factorial(no_of_red_flags) * factorial(no_of_blue_flags)) print(ans)
wine <- read.csv("../Datasets/Wine/wine.data", header=FALSE) colnames(wine) <- c("class","Alcohol","Malic Acid","Ash","Alcalinity of Ash","Magnesium","Total Phenols","Flavanoids","Nonflavanoid Phenols","Proanthocyanins","Color Intensity","Hue","0D280/OD315 of Diluted Wines","Proline") # log transform log.wine <- log...
/Proposal1/WineRScript.R
no_license
Seleucia/CI_2014_RG_HC
R
false
false
5,609
r
wine <- read.csv("../Datasets/Wine/wine.data", header=FALSE) colnames(wine) <- c("class","Alcohol","Malic Acid","Ash","Alcalinity of Ash","Magnesium","Total Phenols","Flavanoids","Nonflavanoid Phenols","Proanthocyanins","Color Intensity","Hue","0D280/OD315 of Diluted Wines","Proline") # log transform log.wine <- log...
# options(encoding="UTF-8") source("./resources/init.R") source("./resources/uiTab.R") source("./resources/server.R") shinyApp(ui=uiTab,server=server)
/app.R
permissive
nplatonov/accenter
R
false
false
151
r
# options(encoding="UTF-8") source("./resources/init.R") source("./resources/uiTab.R") source("./resources/server.R") shinyApp(ui=uiTab,server=server)
data1 <- read.table("/Users/kraigrs/Wittkopp/Simulations/tiled/line_40/constExons_single_bp50_error0_tiled_line_40.dm3_ref.bowtie_v1_m1.SNPs.txt",header=TRUE,sep="\t"); data2 <- read.table("/Users/kraigrs/Wittkopp/Simulations/tiled/line_40/constExons_single_bp50_error0_tiled_line_40.dm3_ref.bowtie_v2_m1.SNPs.txt",head...
/simulations/R/SNP_ASE_line_40.R
no_license
kraigrs/thesis_work
R
false
false
51,657
r
data1 <- read.table("/Users/kraigrs/Wittkopp/Simulations/tiled/line_40/constExons_single_bp50_error0_tiled_line_40.dm3_ref.bowtie_v1_m1.SNPs.txt",header=TRUE,sep="\t"); data2 <- read.table("/Users/kraigrs/Wittkopp/Simulations/tiled/line_40/constExons_single_bp50_error0_tiled_line_40.dm3_ref.bowtie_v2_m1.SNPs.txt",head...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/poppr.R \docType{data} \name{monpop} \alias{monpop} \title{Peach brown rot pathogen \emph{Monilinia fructicola}} \format{a \code{\linkS4class{genclone}} object with 3 hierarchical levels coded into one population factor. These are named "T...
/man/monpop.Rd
no_license
haono/poppr
R
false
true
1,512
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/poppr.R \docType{data} \name{monpop} \alias{monpop} \title{Peach brown rot pathogen \emph{Monilinia fructicola}} \format{a \code{\linkS4class{genclone}} object with 3 hierarchical levels coded into one population factor. These are named "T...
#' A corpus of 10 texts of the Vatlongos (vtk) language #' #' The corpus is produced with the read.emeld() function. It is a list of 4 slots representing four #' units: "texts" "sentences" "words" "morphems". Each slot contains a data frame, and each row #' in the data.frame describe one occurrences of the correspondi...
/R/dataset.R
permissive
sylvainloiseau/interlineaR
R
false
false
1,835
r
#' A corpus of 10 texts of the Vatlongos (vtk) language #' #' The corpus is produced with the read.emeld() function. It is a list of 4 slots representing four #' units: "texts" "sentences" "words" "morphems". Each slot contains a data frame, and each row #' in the data.frame describe one occurrences of the correspondi...
#' Check your sanity and the length or rows for equality #' @description After creating train and test datasets in ML, check to make #' sure that the correponsing weights, or response vectors are the same #' amount of observations as the original dataset. #' @param check1 a object of class data.frame, character, or n...
/R/sanity_check.R
no_license
jasdumas/dumas
R
false
false
2,504
r
#' Check your sanity and the length or rows for equality #' @description After creating train and test datasets in ML, check to make #' sure that the correponsing weights, or response vectors are the same #' amount of observations as the original dataset. #' @param check1 a object of class data.frame, character, or n...
load_all() library(dplyr) df1 <- rgdal::readOGR("./data_raw/surface_roughness_locations", "surface_roughness_locations") df1 <- df1@data df1 <- select(df1, site.id, area=Label_1, x, y) df1[df1$area=="T3SW", ]$area <- "T3-SW" df1[df1$area=="T3SE", ]$area <- "T3-SE" df1[df1$area=="T3NE", ]$area <- "...
/scripts/load_locations.R
no_license
jwbannister/twb2
R
false
false
440
r
load_all() library(dplyr) df1 <- rgdal::readOGR("./data_raw/surface_roughness_locations", "surface_roughness_locations") df1 <- df1@data df1 <- select(df1, site.id, area=Label_1, x, y) df1[df1$area=="T3SW", ]$area <- "T3-SW" df1[df1$area=="T3SE", ]$area <- "T3-SE" df1[df1$area=="T3NE", ]$area <- "...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/tracer.R \name{Reset traces} \alias{Reset traces} \alias{reset_traces} \title{Clears the captured traces} \usage{ reset_traces(tracer) }
/man/Reset-traces.Rd
no_license
PRL-PRG/genthat
R
false
true
215
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/tracer.R \name{Reset traces} \alias{Reset traces} \alias{reset_traces} \title{Clears the captured traces} \usage{ reset_traces(tracer) }
library(UsingR) library(ggplot2) data(iris) shinyServer( function(input, output) { ## Render Plot main function output$mainPlot <- renderPlot({ ## Setting up the variables choice <<- input$id1 ptx <<- input$id2 pty <<- input$id3 x <<- iris$Petal.Width y <<- iris$Petal.Length ...
/server.R
no_license
kevinlimhk/App-SimpleDemoPredictor
R
false
false
2,208
r
library(UsingR) library(ggplot2) data(iris) shinyServer( function(input, output) { ## Render Plot main function output$mainPlot <- renderPlot({ ## Setting up the variables choice <<- input$id1 ptx <<- input$id2 pty <<- input$id3 x <<- iris$Petal.Width y <<- iris$Petal.Length ...
library(foreign) dir <- 'C:\\Users\\alin\\Documents\\SelfStudy\\MyLearning\\Applied_Logitudinal_Analysis\\data\\' fpath <- paste(dir, 'tlc-data.txt', sep = '') ds <- read.table(file = fpath) names(ds) <- c('id', 'trt', 'y0', 'y1', 'y4', 'y6') df <- reshape(ds, idvar="id", varying=c("y0","y1","y4","y6"), v.na...
/Applied_Logitudinal_Analysis/R/r5_4.r
no_license
anhualin/MyLearning
R
false
false
994
r
library(foreign) dir <- 'C:\\Users\\alin\\Documents\\SelfStudy\\MyLearning\\Applied_Logitudinal_Analysis\\data\\' fpath <- paste(dir, 'tlc-data.txt', sep = '') ds <- read.table(file = fpath) names(ds) <- c('id', 'trt', 'y0', 'y1', 'y4', 'y6') df <- reshape(ds, idvar="id", varying=c("y0","y1","y4","y6"), v.na...
s=c(rep(0,100), 10*exp(-(1:100)/20)*cos(2*pi*1:100/4)) x=ts(s + rnorm(200, 0, 1)) plot(x,col="blue") s=c(rep(0,100), 10*exp(-(1:100)/200)*cos(2*pi*1:100/4)) x=ts(s + rnorm(200, 0, 1)) plot(x,col="red") s=c(exp(-(1:100)/20)) x=ts(s) s1=c(exp(-(1:100)/200) y=ts(s1) par(mfrow=c(2,1)) plot.ts(x,col="blue") plot.ts(y,col=...
/hw3/p2.R
no_license
yaoshiyu/5825
R
false
false
326
r
s=c(rep(0,100), 10*exp(-(1:100)/20)*cos(2*pi*1:100/4)) x=ts(s + rnorm(200, 0, 1)) plot(x,col="blue") s=c(rep(0,100), 10*exp(-(1:100)/200)*cos(2*pi*1:100/4)) x=ts(s + rnorm(200, 0, 1)) plot(x,col="red") s=c(exp(-(1:100)/20)) x=ts(s) s1=c(exp(-(1:100)/200) y=ts(s1) par(mfrow=c(2,1)) plot.ts(x,col="blue") plot.ts(y,col=...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/pinpoint_operations.R \name{pinpoint_update_sms_channel} \alias{pinpoint_update_sms_channel} \title{Enables the SMS channel for an application or updates the status and settings of the SMS channel for an application} \usage{ pinpoint_update_s...
/cran/paws.customer.engagement/man/pinpoint_update_sms_channel.Rd
permissive
TWarczak/paws
R
false
true
1,447
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/pinpoint_operations.R \name{pinpoint_update_sms_channel} \alias{pinpoint_update_sms_channel} \title{Enables the SMS channel for an application or updates the status and settings of the SMS channel for an application} \usage{ pinpoint_update_s...
############################################# # Function CDpca # ############################################# CDpca <- function(data, class = NULL, P, Q, SDPinitial = FALSE, tol=10^(-5), maxit, r, cdpcaplot= TRUE) { # CDpca performs a clustering and disjoint principal components ...
/R/CDpca.R
no_license
cran/biplotbootGUI
R
false
false
19,809
r
############################################# # Function CDpca # ############################################# CDpca <- function(data, class = NULL, P, Q, SDPinitial = FALSE, tol=10^(-5), maxit, r, cdpcaplot= TRUE) { # CDpca performs a clustering and disjoint principal components ...
`bioenv.numeric` <- function(comm, env, method = "spearman", index = "bray", as.numeric = NULL, upto = ncol(env), trace = FALSE, partial = NULL, ...) { env2 <- env if (is.null(as.numeric) == F) { for (i in 1:length(as.numeric)) { if(any(names(env) == as.numeric[i])) { ...
/R/bioenv.test.R
no_license
BRozhkov/BiodiversityR
R
false
false
881
r
`bioenv.numeric` <- function(comm, env, method = "spearman", index = "bray", as.numeric = NULL, upto = ncol(env), trace = FALSE, partial = NULL, ...) { env2 <- env if (is.null(as.numeric) == F) { for (i in 1:length(as.numeric)) { if(any(names(env) == as.numeric[i])) { ...
library(tidyverse) library(shiny) library(shinythemes) library(ggthemes) library(lubridate) library(plotly) library(smooth) library(leaflet) library(leaflet.extras) crime = read_csv('../data/crime.csv') df = crime %>% mutate(Date = mdy_hms(REPORTED_DATE), reportedIncidents = 1) %>% mutate(Year = factor(year(Date)...
/shinyApp/global.R
no_license
stoltzmaniac/Denver-Crime-Analysis
R
false
false
846
r
library(tidyverse) library(shiny) library(shinythemes) library(ggthemes) library(lubridate) library(plotly) library(smooth) library(leaflet) library(leaflet.extras) crime = read_csv('../data/crime.csv') df = crime %>% mutate(Date = mdy_hms(REPORTED_DATE), reportedIncidents = 1) %>% mutate(Year = factor(year(Date)...
library(ggplot2) library(plyr) library(lme4) ####For English data ####Read the file of CorpusSearch codes into an R data frame. foo <- read.delim("~/tyneside/extraposition/queriesandoutput/cprelExtrapos.ymeb.cod.fixed.ooo",header=F,sep=":") ####Give appropriate column names to the columns colnames(foo) <- c("Extra...
/extraposition/plotsandstats/extraposition_diach_randomText.R
no_license
joelcw/tyneside
R
false
false
22,923
r
library(ggplot2) library(plyr) library(lme4) ####For English data ####Read the file of CorpusSearch codes into an R data frame. foo <- read.delim("~/tyneside/extraposition/queriesandoutput/cprelExtrapos.ymeb.cod.fixed.ooo",header=F,sep=":") ####Give appropriate column names to the columns colnames(foo) <- c("Extra...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/fars_functions.R \name{fars_read_years} \alias{fars_read_years} \title{Reads FARS data sets for multiple years and creates a list of tibbles.} \usage{ fars_read_years(years) } \arguments{ \item{years}{a vector of integers, one for each year f...
/man/fars_read_years.Rd
no_license
plexxx/myAssignment
R
false
true
1,078
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/fars_functions.R \name{fars_read_years} \alias{fars_read_years} \title{Reads FARS data sets for multiple years and creates a list of tibbles.} \usage{ fars_read_years(years) } \arguments{ \item{years}{a vector of integers, one for each year f...
## ----setup, include=FALSE, echo=TRUE------------------------------------- knitr::opts_chunk$set(tidy=TRUE, echo = TRUE) library(formatR) getwd() setwd("C:/Users/User/Documents/NCI20-21_Sem3/DWM HDSDA_JAN/Lecture 4 Classification") ## --STEP 1--echo=TRUE---------------------------------------------------...
/Week 4/Part 4 Student Maths - kNN Tutorial.R
no_license
kxnxchukwu/Data-and-Web-Mining
R
false
false
6,775
r
## ----setup, include=FALSE, echo=TRUE------------------------------------- knitr::opts_chunk$set(tidy=TRUE, echo = TRUE) library(formatR) getwd() setwd("C:/Users/User/Documents/NCI20-21_Sem3/DWM HDSDA_JAN/Lecture 4 Classification") ## --STEP 1--echo=TRUE---------------------------------------------------...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/process_multi_pcl.R \name{process_multi_pcl} \alias{process_multi_pcl} \title{Process multiplie PCL transects.} \usage{ process_multi_pcl( data_dir, user_height = NULL, method = NULL, k = NULL, marker.spacing = NULL, max.vai = NUL...
/man/process_multi_pcl.Rd
no_license
dondealban/forestr
R
false
true
2,274
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/process_multi_pcl.R \name{process_multi_pcl} \alias{process_multi_pcl} \title{Process multiplie PCL transects.} \usage{ process_multi_pcl( data_dir, user_height = NULL, method = NULL, k = NULL, marker.spacing = NULL, max.vai = NUL...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/read_docx.R \name{docx_body_xml} \alias{docx_body_xml} \title{Body xml document} \usage{ docx_body_xml(x) } \arguments{ \item{x}{an rdocx object} } \description{ Get the body document as xml. This function is not to be used by end users, it h...
/man/docx_body_xml.Rd
permissive
davidgohel/officer
R
false
true
458
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/read_docx.R \name{docx_body_xml} \alias{docx_body_xml} \title{Body xml document} \usage{ docx_body_xml(x) } \arguments{ \item{x}{an rdocx object} } \description{ Get the body document as xml. This function is not to be used by end users, it h...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/RcppExports.R \name{ig_E_log} \alias{ig_E_log} \title{Inverse Gamma E[log(x)]} \usage{ ig_E_log(a, b) } \arguments{ \item{a}{shape} \item{b}{scale} } \description{ Calculate and return E[log(x)] where x ~ IG(a,b). }
/man/ig_E_log.Rd
no_license
jatotterdell/varapproxr
R
false
true
295
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/RcppExports.R \name{ig_E_log} \alias{ig_E_log} \title{Inverse Gamma E[log(x)]} \usage{ ig_E_log(a, b) } \arguments{ \item{a}{shape} \item{b}{scale} } \description{ Calculate and return E[log(x)] where x ~ IG(a,b). }
#### ENV 603 / 5-April-2021 / N.R. Sommer # Dataset 1: Religion by region # If you have not yet installed these libraries, use install.package("") library(tidyverse) library(socviz) # Create a new table called rel_by_region rel_by_region <- gss_sm %>% group_by(bigregion, religion) %>% summarize(N = n()) %>% m...
/Exercise-1.R
no_license
DoctorTedNelson/ENV603-DataViz
R
false
false
1,747
r
#### ENV 603 / 5-April-2021 / N.R. Sommer # Dataset 1: Religion by region # If you have not yet installed these libraries, use install.package("") library(tidyverse) library(socviz) # Create a new table called rel_by_region rel_by_region <- gss_sm %>% group_by(bigregion, religion) %>% summarize(N = n()) %>% m...
# zzz.R # # Package startup and unload functions .onLoad <- function(libname, pkgname) { # # Make list of package parameters and add to global options # Example: # # # filepath of logfile # optRpt <- list(rpt.logfile = logFileName() ) # # # add more options ... # optRpt[["nameOfOption"]] <- value...
/R/zzz.R
permissive
raywoo32/HPA
R
false
false
1,079
r
# zzz.R # # Package startup and unload functions .onLoad <- function(libname, pkgname) { # # Make list of package parameters and add to global options # Example: # # # filepath of logfile # optRpt <- list(rpt.logfile = logFileName() ) # # # add more options ... # optRpt[["nameOfOption"]] <- value...
path.work <- "E:/GitHub/MSDS-RegressionAnalysis/data" path.home <- "D:/Projects/MSDS-RegressionAnalysis/data" if (file.exists(path.home)) { setwd(path.home) } else { setwd(path.work) } ################## mydata <- read.csv(file="ames_housing_data.csv",head=TRUE,sep=",") str(mydata) head(mydata) names(mydata) my...
/SkeletonCode/AmesSkeletonCode.R
no_license
anhnguyendepocen/MSDS-Supervised-Learning
R
false
false
18,041
r
path.work <- "E:/GitHub/MSDS-RegressionAnalysis/data" path.home <- "D:/Projects/MSDS-RegressionAnalysis/data" if (file.exists(path.home)) { setwd(path.home) } else { setwd(path.work) } ################## mydata <- read.csv(file="ames_housing_data.csv",head=TRUE,sep=",") str(mydata) head(mydata) names(mydata) my...
library(mefa4) source("~/repos/abmianalytics/species/abmi-r-api.R") #data.frame(table=get_table_names()) ## settings TAXA <- c("vplants", "mites", "mosses", "lichens") ROOT <- "s:/AB_data_v2020" ## common stuff DATE <- as.Date(Sys.time(), tz=Sys.timezone(location = TRUE)) gis <- read.csv("~/repos/abmianalytics/lookup...
/species/all-taxa.R
no_license
psolymos/abmianalytics
R
false
false
10,995
r
library(mefa4) source("~/repos/abmianalytics/species/abmi-r-api.R") #data.frame(table=get_table_names()) ## settings TAXA <- c("vplants", "mites", "mosses", "lichens") ROOT <- "s:/AB_data_v2020" ## common stuff DATE <- as.Date(Sys.time(), tz=Sys.timezone(location = TRUE)) gis <- read.csv("~/repos/abmianalytics/lookup...
testlist <- list(score = NULL, id = NULL, item_score = integer(0), person_id = c(-61696L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L)) result <- do.call(dexterMST:::im_booklet_score,testlist) str(result)
/dexterMST/inst/testfiles/im_booklet_score/AFL_im_booklet_score/im_booklet_score_valgrind_files/1615945831-test.R
no_license
akhikolla/updatedatatype-list1
R
false
false
294
r
testlist <- list(score = NULL, id = NULL, item_score = integer(0), person_id = c(-61696L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L)) result <- do.call(dexterMST:::im_booklet_score,testlist) str(result)
#' Modified from: "https://github.com/rstudio/keras/blob/master/vignettes/ #' examples/cifar10_cnn.R" #' #' Train a simple deep CNN on the CIFAR10 small images dataset. #' #' It gets down to 0.65 test logloss in 25 epochs, and down to 0.55 after 50 #' epochs, though it is still underfitting at that point. library(k...
/vignettes/hyperparameter-tune-with-keras/cifar10_cnn.R
permissive
Rajesh16702/azureml-sdk-for-r
R
false
false
3,308
r
#' Modified from: "https://github.com/rstudio/keras/blob/master/vignettes/ #' examples/cifar10_cnn.R" #' #' Train a simple deep CNN on the CIFAR10 small images dataset. #' #' It gets down to 0.65 test logloss in 25 epochs, and down to 0.55 after 50 #' epochs, though it is still underfitting at that point. library(k...
##' .onAttach ##' ##' A message shown when attaching the package, to make clear what the ##' main data objects are. ##' @title .onAttach ##' @param libname gssr ##' @param pkgname gssr ##' @return Message ##' @author Kieran Healy ##' @keywords internal .onAttach <- function(libname, pkgname) { packageStartupMessa...
/R/onLoad.r
permissive
kjhealy/gssr
R
false
false
539
r
##' .onAttach ##' ##' A message shown when attaching the package, to make clear what the ##' main data objects are. ##' @title .onAttach ##' @param libname gssr ##' @param pkgname gssr ##' @return Message ##' @author Kieran Healy ##' @keywords internal .onAttach <- function(libname, pkgname) { packageStartupMessa...
library(shiny) library(mcr) library(shinydashboard) library(rhandsontable) library(rmarkdown) shinyServer(function(input, output, session) { datasetInput <- reactive({ # Statistical results should appear here }) #text output for sens, spec, and overall agreement output$sens <- renderText({ ...
/server.R
permissive
Natani16/method_compare
R
false
false
3,453
r
library(shiny) library(mcr) library(shinydashboard) library(rhandsontable) library(rmarkdown) shinyServer(function(input, output, session) { datasetInput <- reactive({ # Statistical results should appear here }) #text output for sens, spec, and overall agreement output$sens <- renderText({ ...
\name{bigGP.exit} \alias{bigGP.exit} \alias{bigGP.quit} \title{ Exit bigGP Environment } \description{ \code{bigGP.exit} terminates the package's execution environment and detaches the package. After that, you can still work in R. \code{bigGP.quit} terminates the package's execution environment and quits R. } \usage...
/bigGP/man/bigGP.exit.Rd
no_license
paciorek/bigGP
R
false
false
892
rd
\name{bigGP.exit} \alias{bigGP.exit} \alias{bigGP.quit} \title{ Exit bigGP Environment } \description{ \code{bigGP.exit} terminates the package's execution environment and detaches the package. After that, you can still work in R. \code{bigGP.quit} terminates the package's execution environment and quits R. } \usage...
xpathSApply(rootNode, "//name", xmlValue) ##> xpathSApply(rootNode, "//name", xmlValue) ##[1] "Belgian Waffles" "Strawberry Belgian Waffles" ##[3] "Berry-Berry Belgian Waffles" "French Toast" ##[5] "Homestyle Breakfast" ## load xml data from vebsite ## Notice!! ## To access https webpage ...
/XMLreading.R
no_license
NikitaSoftware/datasciencecoursera
R
false
false
762
r
xpathSApply(rootNode, "//name", xmlValue) ##> xpathSApply(rootNode, "//name", xmlValue) ##[1] "Belgian Waffles" "Strawberry Belgian Waffles" ##[3] "Berry-Berry Belgian Waffles" "French Toast" ##[5] "Homestyle Breakfast" ## load xml data from vebsite ## Notice!! ## To access https webpage ...
#' @describeIn QUBIC Performs a QUalitative BIClustering. #' #' @usage qubic(i, R = FALSE, F = FALSE, d = FALSE, f = 0.85, k = 13, c = 0.90, o = 5000) #' #' @importFrom Rcpp evalCpp #' @export qubic <- function(i, N = FALSE, R = FALSE, F = FALSE, d = FALSE, D = FALSE, n = FALSE, f = 0.85, k = 13, c = 0.90, o = 5000) {...
/R/bric.R
no_license
OSU-BMBL/BRIC
R
false
false
889
r
#' @describeIn QUBIC Performs a QUalitative BIClustering. #' #' @usage qubic(i, R = FALSE, F = FALSE, d = FALSE, f = 0.85, k = 13, c = 0.90, o = 5000) #' #' @importFrom Rcpp evalCpp #' @export qubic <- function(i, N = FALSE, R = FALSE, F = FALSE, d = FALSE, D = FALSE, n = FALSE, f = 0.85, k = 13, c = 0.90, o = 5000) {...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/acquisition.R \name{prob_improve} \alias{prob_improve} \alias{exp_improve} \alias{conf_bound} \title{Acquisition function for scoring parameter combinations} \usage{ prob_improve(trade_off = 0, eps = .Machine$double.eps) exp_improve(trade_of...
/man/prob_improve.Rd
no_license
NanaAkwasiAbayieBoateng/tune
R
false
true
2,650
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/acquisition.R \name{prob_improve} \alias{prob_improve} \alias{exp_improve} \alias{conf_bound} \title{Acquisition function for scoring parameter combinations} \usage{ prob_improve(trade_off = 0, eps = .Machine$double.eps) exp_improve(trade_of...
#To predict the churn rate of the customer #install packages install.packages("dplyr") #load the library library('dplyr') # data manipulation #set the working directory setwd("E:\\IMS Course Content\\Course Content\\Data Science Term 1\\Capstone Project\\Data") #read the data working directory Tele.Trai...
/Churn_Prediction.R
no_license
blessondensil294/Telecom_Churn
R
false
false
17,026
r
#To predict the churn rate of the customer #install packages install.packages("dplyr") #load the library library('dplyr') # data manipulation #set the working directory setwd("E:\\IMS Course Content\\Course Content\\Data Science Term 1\\Capstone Project\\Data") #read the data working directory Tele.Trai...
setContentType(type='image/png') png("/tmp/1.png", width=800, height=500) obj <- plot(1:100) dev.off() t <- "/tmp/1.png" sendBin(object=readBin(t,'raw',n=file.info(t)$size))
/utils/jirastat/html/test.R
no_license
euriion/code_snippets
R
false
false
174
r
setContentType(type='image/png') png("/tmp/1.png", width=800, height=500) obj <- plot(1:100) dev.off() t <- "/tmp/1.png" sendBin(object=readBin(t,'raw',n=file.info(t)$size))
#!usr/bin/env R i <- 0 #Initialize i while(i < Inf) { if (i == 10) { break } # Break out of the while loop! else { cat("i equals ", i, " \n") i <- i + 1 # Update i } }
/Week3/Code/break.R
no_license
rte19/CMEECoursework
R
false
false
188
r
#!usr/bin/env R i <- 0 #Initialize i while(i < Inf) { if (i == 10) { break } # Break out of the while loop! else { cat("i equals ", i, " \n") i <- i + 1 # Update i } }
wt.sig <- function (d, dt, scale, sig.test=0, sig.level=0.95, dof=2, lag1=NULL, mother=c("morlet", "paul", "dog"), param=-1, sigma2=NULL) { mothers=c("morlet", "paul", "dog") mother=match.arg(tolower(mother), mothers) ## Find the AR1 coefficient if (is.null(dt) & NCOL(d) > 1) { dt = diff(d[...
/R/wt.sig.R
no_license
wafels/biwavelet
R
false
false
3,599
r
wt.sig <- function (d, dt, scale, sig.test=0, sig.level=0.95, dof=2, lag1=NULL, mother=c("morlet", "paul", "dog"), param=-1, sigma2=NULL) { mothers=c("morlet", "paul", "dog") mother=match.arg(tolower(mother), mothers) ## Find the AR1 coefficient if (is.null(dt) & NCOL(d) > 1) { dt = diff(d[...
#' Add a data validation rule to a cell range #' #' @description #' *Note: not yet exported, still very alpha. Usage still requires using #' low-level helpers.* #' #' `range_add_validation()` adds a data validation rule to a range of cells. #' #' @eval param_ss() #' @eval param_sheet() #' @param range Cells to apply da...
/R/range_add_validation.R
no_license
cran/googlesheets4
R
false
false
4,665
r
#' Add a data validation rule to a cell range #' #' @description #' *Note: not yet exported, still very alpha. Usage still requires using #' low-level helpers.* #' #' `range_add_validation()` adds a data validation rule to a range of cells. #' #' @eval param_ss() #' @eval param_sheet() #' @param range Cells to apply da...
library(HoRM) ### Name: poly2form ### Title: Expands Design Matrix Based on Polynomials ### Aliases: poly2form ### Keywords: file ### ** Examples ## Evaluating the order 5 Legendre polynomials. require(orthopolynom) px <- legendre.polynomials(n = 5, normalized = FALSE) lx <- poly2form(poly.out = px, x = 1:10) l...
/data/genthat_extracted_code/HoRM/examples/poly2form.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
326
r
library(HoRM) ### Name: poly2form ### Title: Expands Design Matrix Based on Polynomials ### Aliases: poly2form ### Keywords: file ### ** Examples ## Evaluating the order 5 Legendre polynomials. require(orthopolynom) px <- legendre.polynomials(n = 5, normalized = FALSE) lx <- poly2form(poly.out = px, x = 1:10) l...
#' Computes upper identification interval with symmetry constraints. #' #' @param X The observed data. #' @param sampling.ratio Bound on the sampling weights gamma. #' @param xmin Used to construct histogram representation. #' @param xmax Used to construct histogram representation. #' @param buckets Used to construct ...
/R/symmetric.R
no_license
jrzubizarreta/scbounds
R
false
false
1,811
r
#' Computes upper identification interval with symmetry constraints. #' #' @param X The observed data. #' @param sampling.ratio Bound on the sampling weights gamma. #' @param xmin Used to construct histogram representation. #' @param xmax Used to construct histogram representation. #' @param buckets Used to construct ...
library(keras) #load vgg16 as base conv_base <- application_vgg16(weights = "imagenet", include_top = FALSE, input_shape = c (224,224,3)) # optionally freeze to prevent new training freeze_weights(conv_base) #create first part of own model only consisting of the first few layers from vgg16 + a dropout for preventi...
/create_own_unet.R
no_license
DaChro/cannons_at_marmots
R
false
false
4,220
r
library(keras) #load vgg16 as base conv_base <- application_vgg16(weights = "imagenet", include_top = FALSE, input_shape = c (224,224,3)) # optionally freeze to prevent new training freeze_weights(conv_base) #create first part of own model only consisting of the first few layers from vgg16 + a dropout for preventi...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/fe.prov.R \name{fe.prov} \alias{fe.prov} \title{Fit logistic fixed-effect model with high-dimensional predictors} \usage{ fe.prov(data, Y.char, Z.char, prov.char, tol = 1e-05, null = "median") } \arguments{ \item{data}{prepared \code...
/man/fe.prov.Rd
no_license
cran/FEprovideR
R
false
true
2,626
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/fe.prov.R \name{fe.prov} \alias{fe.prov} \title{Fit logistic fixed-effect model with high-dimensional predictors} \usage{ fe.prov(data, Y.char, Z.char, prov.char, tol = 1e-05, null = "median") } \arguments{ \item{data}{prepared \code...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/Filter.R \docType{class} \name{tiledb_filter-class} \alias{tiledb_filter-class} \title{An S4 class for a TileDB filter} \description{ An S4 class for a TileDB filter } \section{Slots}{ \describe{ \item{\code{ptr}}{External pointer to the und...
/man/tiledb_filter-class.Rd
permissive
aaronwolen/TileDB-R
R
false
true
348
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/Filter.R \docType{class} \name{tiledb_filter-class} \alias{tiledb_filter-class} \title{An S4 class for a TileDB filter} \description{ An S4 class for a TileDB filter } \section{Slots}{ \describe{ \item{\code{ptr}}{External pointer to the und...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/generate_taxonomy_table.R \name{mk_table} \alias{mk_table} \title{Helper function to create a taxonomy table} \usage{ mk_table(intable, taxon_ranks) } \description{ Helper function to create a taxonomy table }
/man/mk_table.Rd
no_license
hjfan527/MetaScope
R
false
true
288
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/generate_taxonomy_table.R \name{mk_table} \alias{mk_table} \title{Helper function to create a taxonomy table} \usage{ mk_table(intable, taxon_ranks) } \description{ Helper function to create a taxonomy table }
#---------------------------------------------# #---# Mass Shootings in the United States #---# #---------------------------------------------# library("shinydashboard") library("dplyr") library("lubridate") library("leaflet") library("magrittr") library("forcats") library("ggplot2") library("tidyr") library("shinyWi...
/Shiny App/ui.R
no_license
DanaeMirel/usa_shootings_dashboard
R
false
false
8,140
r
#---------------------------------------------# #---# Mass Shootings in the United States #---# #---------------------------------------------# library("shinydashboard") library("dplyr") library("lubridate") library("leaflet") library("magrittr") library("forcats") library("ggplot2") library("tidyr") library("shinyWi...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/window.r \name{create_windows} \alias{create_windows} \title{Bin a Dataframe of Genomic Ranges into Windows} \usage{ create_windows(.data, width) } \arguments{ \item{.data}{Dataframe with columns \code{chrom}, \code{start}, \code{end} \code{c...
/man/create_windows.Rd
no_license
vsbuffalo/gplyr
R
false
true
565
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/window.r \name{create_windows} \alias{create_windows} \title{Bin a Dataframe of Genomic Ranges into Windows} \usage{ create_windows(.data, width) } \arguments{ \item{.data}{Dataframe with columns \code{chrom}, \code{start}, \code{end} \code{c...
test_that("can parse special cases", { url <- url_parse("//google.com") expect_equal(url$scheme, NULL) expect_equal(url$hostname, "google.com") url <- url_parse("file:///tmp") expect_equal(url$scheme, "file") expect_equal(url$path, "/tmp") url <- url_parse("/") expect_equal(url$scheme, NULL) expect_...
/tests/testthat/test-url.R
permissive
adithirgis/httr2
R
false
false
1,379
r
test_that("can parse special cases", { url <- url_parse("//google.com") expect_equal(url$scheme, NULL) expect_equal(url$hostname, "google.com") url <- url_parse("file:///tmp") expect_equal(url$scheme, "file") expect_equal(url$path, "/tmp") url <- url_parse("/") expect_equal(url$scheme, NULL) expect_...
# Jags-Ymet-XmetSsubj-MrobustHierQuadWt.R # Accompanies the book: # Kruschke, J. K. (2015). Doing Bayesian Data Analysis, Second Edition: # A Tutorial with R, JAGS, and Stan. Academic Press / Elsevier. source("DBDA2E-utilities.R") #=============================================================================== ...
/DBDA2Eprograms/Jags-Ymet-XmetSsubj-MrobustHierQuadWt.R
no_license
davidkretch/dbda
R
false
false
13,588
r
# Jags-Ymet-XmetSsubj-MrobustHierQuadWt.R # Accompanies the book: # Kruschke, J. K. (2015). Doing Bayesian Data Analysis, Second Edition: # A Tutorial with R, JAGS, and Stan. Academic Press / Elsevier. source("DBDA2E-utilities.R") #=============================================================================== ...
setwd(r"(D:\OneDrive - HKUST Connect\Courses\CSIC5011\Project\Project2\data)") ### read in preprocessed data seurat_obj = readRDS('part1.rds') # define output path output.path = 'outputs_part2' # get meta data meta.data = seurat.obj@meta.data # convert week string to number, e.g., "week08" -> 8 week.num = numer...
/course/csic5011/2023/project2/MA_TANG_RUAN_HUANG/code/part2_1_trajectory_inference.R
no_license
yao-lab/yao-lab.github.io
R
false
false
5,732
r
setwd(r"(D:\OneDrive - HKUST Connect\Courses\CSIC5011\Project\Project2\data)") ### read in preprocessed data seurat_obj = readRDS('part1.rds') # define output path output.path = 'outputs_part2' # get meta data meta.data = seurat.obj@meta.data # convert week string to number, e.g., "week08" -> 8 week.num = numer...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/backup_operations.R \name{backup_list_backup_vaults} \alias{backup_list_backup_vaults} \title{Returns a list of recovery point storage containers along with information about them} \usage{ backup_list_backup_vaults(NextToken = NULL, MaxResult...
/cran/paws.storage/man/backup_list_backup_vaults.Rd
permissive
paws-r/paws
R
false
true
898
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/backup_operations.R \name{backup_list_backup_vaults} \alias{backup_list_backup_vaults} \title{Returns a list of recovery point storage containers along with information about them} \usage{ backup_list_backup_vaults(NextToken = NULL, MaxResult...
#' Sex Ratio and the Price of Agricultural Crops in China #' #' Demographic and agricultural crop data for individual counties in China. #' #' @format A data frame with 51766 rows and 9 variables: #' \describe{ #' \item{ admin }{ integer: unique county identifier } #' \item{ biryr }{ integer: year of cohort (birth ye...
/R/chinawomen.R
no_license
Musaab-Farooqui/qss-package
R
false
false
1,276
r
#' Sex Ratio and the Price of Agricultural Crops in China #' #' Demographic and agricultural crop data for individual counties in China. #' #' @format A data frame with 51766 rows and 9 variables: #' \describe{ #' \item{ admin }{ integer: unique county identifier } #' \item{ biryr }{ integer: year of cohort (birth ye...
library(stringr) library(httr) library(jsonlite) library(ethr) library(ether) library(DescTools) library(curl) #hereinafter, 'smart contracts' will be refered as 'addresses' #retriving a list of ponzi addresses (for now, just ponzi addresses, later both ponzi and non-ponzi addresses) ponzi.addresses <- rea...
/retrieving data (no API).R
no_license
sfdk29/2021Ethereum
R
false
false
13,060
r
library(stringr) library(httr) library(jsonlite) library(ethr) library(ether) library(DescTools) library(curl) #hereinafter, 'smart contracts' will be refered as 'addresses' #retriving a list of ponzi addresses (for now, just ponzi addresses, later both ponzi and non-ponzi addresses) ponzi.addresses <- rea...
library(shiny) shinyUI(fluidPage( titlePanel("Slider App"), sidebarLayout( sidebarPanel( h1("Move the Slider!"), sliderInput("slider1", "Slide Me!", 0, 100, 0) ), mainPanel( h3("Slider Value:"), textOutput("text") ) ) ))
/jhu-9-developing-data-products/shiny-2/ui.R
no_license
MicheleVNG/DataScience-Reference-and-Notes
R
false
false
244
r
library(shiny) shinyUI(fluidPage( titlePanel("Slider App"), sidebarLayout( sidebarPanel( h1("Move the Slider!"), sliderInput("slider1", "Slide Me!", 0, 100, 0) ), mainPanel( h3("Slider Value:"), textOutput("text") ) ) ))
# TOOL bwa-mem-paired-end-with-index-building.R: "BWA MEM for paired-end reads and own genome" (Aligns reads to genomes using the BWA MEM algorithm. Results are sorted and indexed BAM files, which are ready for viewing in the Chipster genome browser. # Note that this BWA MEM tool requires that you have imported the ref...
/tools/ngs/R/bwa-mem-paired-end-with-index-building.R
permissive
chipster/chipster-tools
R
false
false
3,520
r
# TOOL bwa-mem-paired-end-with-index-building.R: "BWA MEM for paired-end reads and own genome" (Aligns reads to genomes using the BWA MEM algorithm. Results are sorted and indexed BAM files, which are ready for viewing in the Chipster genome browser. # Note that this BWA MEM tool requires that you have imported the ref...
# OEML - REST API # # This section will provide necessary information about the `CoinAPI OEML REST API` protocol. <br/> This API is also available in the Postman application: <a href=\"https://postman.coinapi.io/\" target=\"_blank\">https://postman.coinapi.io/</a> <br/><br/> Implemented Standards: * [HTTP1.0](h...
/oeml-sdk/r/R/fills.R
permissive
franklili3/coinapi-sdk
R
false
false
2,983
r
# OEML - REST API # # This section will provide necessary information about the `CoinAPI OEML REST API` protocol. <br/> This API is also available in the Postman application: <a href=\"https://postman.coinapi.io/\" target=\"_blank\">https://postman.coinapi.io/</a> <br/><br/> Implemented Standards: * [HTTP1.0](h...
\name{lmerControl} \title{Control of Mixed Model Fitting} \alias{glmerControl} \alias{lmerControl} \alias{nlmerControl} \alias{.makeCC} \description{ Construct control structures for mixed model fitting. All arguments have defaults, and can be grouped into \itemize{ \item general control parameters, most imp...
/man/lmerControl.Rd
no_license
TotallyBullshit/lme4
R
false
false
13,828
rd
\name{lmerControl} \title{Control of Mixed Model Fitting} \alias{glmerControl} \alias{lmerControl} \alias{nlmerControl} \alias{.makeCC} \description{ Construct control structures for mixed model fitting. All arguments have defaults, and can be grouped into \itemize{ \item general control parameters, most imp...
T2funcrep <- function(X,n,m,p,r1,r2,r3,start,conv,model,A,B,C,H){ X=as.matrix(X) if (model==1){ C=diag(r3) } if (model==2){ B=diag(r2) } if (model==3){ A=diag(r1) } cputime=system.time({ # initialize A, B and C ss=sum(X^2) dys=0 if (start==0){ # rational starts via eigendecompositions i...
/ThreeWay/R/T2funcrep.R
no_license
ingted/R-Examples
R
false
false
2,781
r
T2funcrep <- function(X,n,m,p,r1,r2,r3,start,conv,model,A,B,C,H){ X=as.matrix(X) if (model==1){ C=diag(r3) } if (model==2){ B=diag(r2) } if (model==3){ A=diag(r1) } cputime=system.time({ # initialize A, B and C ss=sum(X^2) dys=0 if (start==0){ # rational starts via eigendecompositions i...
library(PortfolioAnalytics) library(quantmod) library(PerformanceAnalytics) library(zoo) library(plotly) # Get data getSymbols(c("TLT", "SHY", "HYG", "LQD", "MBB")) # Assign to dataframe # Get adjusted prices prices.data <- merge.zoo(TLT[,6], SHY[,6], HYG[,6], LQD[,6], MBB[,6]) # Calculate returns retu...
/Mean Variance.R
no_license
avalxxhj/Portfolio-Allocation
R
false
false
5,208
r
library(PortfolioAnalytics) library(quantmod) library(PerformanceAnalytics) library(zoo) library(plotly) # Get data getSymbols(c("TLT", "SHY", "HYG", "LQD", "MBB")) # Assign to dataframe # Get adjusted prices prices.data <- merge.zoo(TLT[,6], SHY[,6], HYG[,6], LQD[,6], MBB[,6]) # Calculate returns retu...
\name{scatter} \alias{scatter} %- Also NEED an '\alias' for EACH other topic documented here. \title{ Functions to split a file over several parts} \description{ Takes in input a file and pushes it through a mapreduce jobs that writes it over a number of parts (system dependent, specifically on the number of reducers)....
/rmr/pkg/man/scatter.Rd
no_license
fengzanfeng/RHadoop
R
false
false
591
rd
\name{scatter} \alias{scatter} %- Also NEED an '\alias' for EACH other topic documented here. \title{ Functions to split a file over several parts} \description{ Takes in input a file and pushes it through a mapreduce jobs that writes it over a number of parts (system dependent, specifically on the number of reducers)....
#***************************************************************************************** # * # [To Airbnb?] Custom functions for working with APM and AirDNA data in the * # ...
/functions/abb_Functions.R
no_license
andykrause/to_airbnb
R
false
false
18,982
r
#***************************************************************************************** # * # [To Airbnb?] Custom functions for working with APM and AirDNA data in the * # ...
library(utility) ### Name: utility.aggregate.bonusmalus ### Title: Bonus-malus aggregation of values or utilities ### Aliases: utility.aggregate.bonusmalus ### ** Examples utility.aggregate.bonusmalus(c(0.2,0.8), par=c(1,NA,1)) utility.aggregate.bonusmalus(c(0.2,0.8), par=c(1,1,NA)) utility.aggregate.bonusmalus(c(0...
/data/genthat_extracted_code/utility/examples/utility.aggregate.bonusmalus.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
405
r
library(utility) ### Name: utility.aggregate.bonusmalus ### Title: Bonus-malus aggregation of values or utilities ### Aliases: utility.aggregate.bonusmalus ### ** Examples utility.aggregate.bonusmalus(c(0.2,0.8), par=c(1,NA,1)) utility.aggregate.bonusmalus(c(0.2,0.8), par=c(1,1,NA)) utility.aggregate.bonusmalus(c(0...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/envDataRead.R \name{envDataRead} \alias{envDataRead} \title{Reading the environmental data from a file.} \usage{ envDataRead( file.in = stop("'file.in' must be given!"), dir.in = ".", file.out = NULL, dir.out = ".", sep = ",", con...
/man/envDataRead.Rd
no_license
jromanowska/HaplinMethyl
R
false
true
2,691
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/envDataRead.R \name{envDataRead} \alias{envDataRead} \title{Reading the environmental data from a file.} \usage{ envDataRead( file.in = stop("'file.in' must be given!"), dir.in = ".", file.out = NULL, dir.out = ".", sep = ",", con...
coef.CARBayes <- function(object,...) { #### Return the estimated regression coefficient if(is.null(nrow(object$samples$beta))) { return(NULL) }else { beta <- apply(object$samples$beta, 2, median) names(beta) <- colnames(object$X) return(beta) } }
/R/coef.CARBayes.R
no_license
duncanplee/CARBayes
R
false
false
297
r
coef.CARBayes <- function(object,...) { #### Return the estimated regression coefficient if(is.null(nrow(object$samples$beta))) { return(NULL) }else { beta <- apply(object$samples$beta, 2, median) names(beta) <- colnames(object$X) return(beta) } }
#' `d3.js` topogram #' #' Continuous area cartograms with `d3.js` #' #' @param data A \code{data.frame} with at least two variables : the geo id and the value associated #' @param key_var A character vector of length one or more, or a named list. The value to represent on the map #' @param shape Geographical shape to u...
/R/topogRam.R
no_license
DATAUNIRIO/topogRam
R
false
false
4,491
r
#' `d3.js` topogram #' #' Continuous area cartograms with `d3.js` #' #' @param data A \code{data.frame} with at least two variables : the geo id and the value associated #' @param key_var A character vector of length one or more, or a named list. The value to represent on the map #' @param shape Geographical shape to u...
\name{read.DVH} \alias{read.DVH} \title{ Read DVH data from input file } \description{ Function to extract DVH data from input file(s). Supported file formats include Aria (v8-13), DICOM-RT, CadPlan, Monaco, RayStation, and TomoTherapy. } \usage{ read.DVH(file, type=NA, verbose=TRUE, collapse=TRUE) } \arguments{ \ite...
/man/read.DVH.Rd
no_license
beverlyvictoriateresita/RadOnc
R
false
false
2,088
rd
\name{read.DVH} \alias{read.DVH} \title{ Read DVH data from input file } \description{ Function to extract DVH data from input file(s). Supported file formats include Aria (v8-13), DICOM-RT, CadPlan, Monaco, RayStation, and TomoTherapy. } \usage{ read.DVH(file, type=NA, verbose=TRUE, collapse=TRUE) } \arguments{ \ite...
install.packages("rgdal") library(rgdal) data(state) states <- data.frame(state.x77, state.center) states <- states[states$x > -121,] coordinates(states) <- c("x", "y") proj4string(states) <- CRS("+proj=longlat +ellps=clrk66") summary(states) states #Adding a comment line
/intro.r
no_license
larhyp/erboreus
R
false
false
275
r
install.packages("rgdal") library(rgdal) data(state) states <- data.frame(state.x77, state.center) states <- states[states$x > -121,] coordinates(states) <- c("x", "y") proj4string(states) <- CRS("+proj=longlat +ellps=clrk66") summary(states) states #Adding a comment line
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/4_metaClustering.R \name{MetaclusterCVs} \alias{MetaclusterCVs} \title{MetaclusterCVs} \usage{ MetaclusterCVs(fsom) } \arguments{ \item{fsom}{Result of calling the FlowSOM function} } \value{ Metacluster CVs } \description{ Compute the coeffi...
/man/MetaclusterCVs.Rd
no_license
AbhivKoladiya/FlowSOM
R
false
true
798
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/4_metaClustering.R \name{MetaclusterCVs} \alias{MetaclusterCVs} \title{MetaclusterCVs} \usage{ MetaclusterCVs(fsom) } \arguments{ \item{fsom}{Result of calling the FlowSOM function} } \value{ Metacluster CVs } \description{ Compute the coeffi...
parse_leaf_extent <- function(x) { if (missing(x)) { x <- try(readLines("clipboard", warn = FALSE), silent = TRUE) if (inherits(x, "try-error")) { stop("cannot read from clipboard") } if (!grepl("^'\\{\"\\_southWest", x)) stop("clipboard contents does not look like leafem copy output") } #...
/R/spex.R
no_license
cran/spex
R
false
false
6,340
r
parse_leaf_extent <- function(x) { if (missing(x)) { x <- try(readLines("clipboard", warn = FALSE), silent = TRUE) if (inherits(x, "try-error")) { stop("cannot read from clipboard") } if (!grepl("^'\\{\"\\_southWest", x)) stop("clipboard contents does not look like leafem copy output") } #...
####16 S rRNA Amplicon sequencing Analysis on Ollie#### # Script by: Batuhan Cagri Yapan. # contact: byapan@mpi-bremen.de # Last update: 31/05/2021 # Based on David Benito's and Marwa Baloza's scripts & DADA2 tutorial: https://benjjneb.github.io/dada2/tutorial.html # Script works in R environment (R 4.0.6) on Linux Di...
/trial/amplicon_analysis_pipeline.r
no_license
cagriyapan/hello-world
R
false
false
19,323
r
####16 S rRNA Amplicon sequencing Analysis on Ollie#### # Script by: Batuhan Cagri Yapan. # contact: byapan@mpi-bremen.de # Last update: 31/05/2021 # Based on David Benito's and Marwa Baloza's scripts & DADA2 tutorial: https://benjjneb.github.io/dada2/tutorial.html # Script works in R environment (R 4.0.6) on Linux Di...
library(testthat) library(AdapteR) ##' runs a test file. ##' ##' @param f the test file to run ##' @param ask if TRUE, will ask for each file ##' @param skip a regexp on the filename whether the test should be skipped ##' @param ... passed on to test_file ##' @return the test_file report runMyTestFile <- function(f, a...
/tests/alltests.R
no_license
amalshri/AdapteR
R
false
false
1,275
r
library(testthat) library(AdapteR) ##' runs a test file. ##' ##' @param f the test file to run ##' @param ask if TRUE, will ask for each file ##' @param skip a regexp on the filename whether the test should be skipped ##' @param ... passed on to test_file ##' @return the test_file report runMyTestFile <- function(f, a...