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
library(rdtools) library(tidyverse) library(ggthemes) library(nflfastR) library(mltools) library(data.table) library(xgboost) library(caret) library(vip) library(SHAPforxgboost) library(ggimage) library(ggcorrplot) library(lme4) library(merTools) trace(pull_ngs,edit=TRUE) theme_reach <- function() { theme_fivethirt...
/rb-tracking-load.R
no_license
tejseth/tracking-pff
R
false
false
107,438
r
library(rdtools) library(tidyverse) library(ggthemes) library(nflfastR) library(mltools) library(data.table) library(xgboost) library(caret) library(vip) library(SHAPforxgboost) library(ggimage) library(ggcorrplot) library(lme4) library(merTools) trace(pull_ngs,edit=TRUE) theme_reach <- function() { theme_fivethirt...
\name{mdr} \alias{mdr} \title{ Perform a MDR. } \description{ This function performs a Multifactor Dimensionality Reduction (MDR). } \usage{ mdr(X, status, fold=2, t=NULL, top=3, NAvalues=NA, cvc=0, fix=NULL, verbose=FALSE) } \arguments{ \item{X}{Matrix with genotype information, see details.} \item{...
/man/mdr.Rd
no_license
fischuu/GenomicTools
R
false
false
3,105
rd
\name{mdr} \alias{mdr} \title{ Perform a MDR. } \description{ This function performs a Multifactor Dimensionality Reduction (MDR). } \usage{ mdr(X, status, fold=2, t=NULL, top=3, NAvalues=NA, cvc=0, fix=NULL, verbose=FALSE) } \arguments{ \item{X}{Matrix with genotype information, see details.} \item{...
require(dplyr) if(!require(readxl)){install.packages("readxl"); require(readxl)} # Load the Excel workbook ##path <- "D:/Google Drive/Final Project/" ##WorkPath path <- paste0(getwd(),"/Data/Raw") excel_file <- paste0("/PovertyRate2007-2013.xlsx") # see available tabs excel_sheets(paste0(path, excel_file)) year2007...
/src/data/1.2-Add-ExternalData-PovertyRate.r
permissive
NadavFeldman/Lending-Club-Issued-Loans-Analysis-
R
false
false
4,955
r
require(dplyr) if(!require(readxl)){install.packages("readxl"); require(readxl)} # Load the Excel workbook ##path <- "D:/Google Drive/Final Project/" ##WorkPath path <- paste0(getwd(),"/Data/Raw") excel_file <- paste0("/PovertyRate2007-2013.xlsx") # see available tabs excel_sheets(paste0(path, excel_file)) year2007...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/ranef.lmerModgANOVA.R \name{ranef.lmerModgANOVA} \alias{ranef.lmerModgANOVA} \title{ranef method for lmerModgANOVA object} \usage{ ranef.lmerModgANOVA( object, condVar = FALSE, drop = FALSE, whichel = names(ans), postVar = FALSE, ...
/man/ranef.lmerModgANOVA.Rd
no_license
jaromilfrossard/gANOVA
R
false
true
782
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/ranef.lmerModgANOVA.R \name{ranef.lmerModgANOVA} \alias{ranef.lmerModgANOVA} \title{ranef method for lmerModgANOVA object} \usage{ ranef.lmerModgANOVA( object, condVar = FALSE, drop = FALSE, whichel = names(ans), postVar = FALSE, ...
r=500 pvalue=array(,dim=c(2,r)) for (k in 1:r){ # generate simulated data n=100 B=500 d=500 mu=rep(0,d) sigma=diag(d) for (i in 1:d){ for (j in 1:d) { if (i>=20 && j>=20 && (i!=j)){sigma[i,j]=.995} } } xdata=mvrnorm(n, mu, sigma) # simulate target distribution x=mvrnorm(10000,rep(0,d),sigma) no...
/test10.R
no_license
zeke75/PCA-bootstrap
R
false
false
1,473
r
r=500 pvalue=array(,dim=c(2,r)) for (k in 1:r){ # generate simulated data n=100 B=500 d=500 mu=rep(0,d) sigma=diag(d) for (i in 1:d){ for (j in 1:d) { if (i>=20 && j>=20 && (i!=j)){sigma[i,j]=.995} } } xdata=mvrnorm(n, mu, sigma) # simulate target distribution x=mvrnorm(10000,rep(0,d),sigma) no...
/MacOSX10.1.5.sdk/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A/Headers/PrintCore.r
no_license
alexey-lysiuk/macos-sdk
R
false
false
631
r
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/auditmanager_operations.R \name{auditmanager_get_evidence_by_evidence_folder} \alias{auditmanager_get_evidence_by_evidence_folder} \title{Returns all evidence from a specified evidence folder in Audit Manager} \usage{ auditmanager_get_evidenc...
/man/auditmanager_get_evidence_by_evidence_folder.Rd
no_license
cran/paws.management
R
false
true
1,099
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/auditmanager_operations.R \name{auditmanager_get_evidence_by_evidence_folder} \alias{auditmanager_get_evidence_by_evidence_folder} \title{Returns all evidence from a specified evidence folder in Audit Manager} \usage{ auditmanager_get_evidenc...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/MxMultiModel.R \name{imxIndependentModels} \alias{imxIndependentModels} \title{Are submodels independent?} \usage{ imxIndependentModels(model) } \arguments{ \item{model}{model} } \description{ Are submodels independent? }
/fuzzedpackages/OpenMx/man/imxIndependentModels.Rd
no_license
akhikolla/testpackages
R
false
true
300
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/MxMultiModel.R \name{imxIndependentModels} \alias{imxIndependentModels} \title{Are submodels independent?} \usage{ imxIndependentModels(model) } \arguments{ \item{model}{model} } \description{ Are submodels independent? }
#calculates index score ERBOne=function(DIABrkpt,MIC,DIA,MICBrkpt,VM,M){ temp=max(VM,M) VMWeight=temp/VM; MWeight=temp/M ###outside one intermediate range NumSS=0; NumVM=0; NumRR=0; NumM=0 n=length(MIC) for (i in 1:n){ #SS if(MIC[i]<=MICBrkpt & DIA[i]>=DIABrkpt) NumSS=NumSS+1 #resistant e...
/R/ERBOneBrkpt.R
no_license
gdepalma/SuscTesting
R
false
false
10,318
r
#calculates index score ERBOne=function(DIABrkpt,MIC,DIA,MICBrkpt,VM,M){ temp=max(VM,M) VMWeight=temp/VM; MWeight=temp/M ###outside one intermediate range NumSS=0; NumVM=0; NumRR=0; NumM=0 n=length(MIC) for (i in 1:n){ #SS if(MIC[i]<=MICBrkpt & DIA[i]>=DIABrkpt) NumSS=NumSS+1 #resistant e...
library(Compounding) ### Name: pgfDneymantypea ### Title: Function pgfDneymantypea ### Aliases: pgfDneymantypea ### ** Examples params<-c(4,5) pgfDneymantypea(.5,params) ## The function is currently defined as pgfDneymantypea <- function(s,params) { k<-s[abs(s)>1] if (length(k)>0) warning("At least one element o...
/data/genthat_extracted_code/Compounding/examples/pgfDneymantypea.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
737
r
library(Compounding) ### Name: pgfDneymantypea ### Title: Function pgfDneymantypea ### Aliases: pgfDneymantypea ### ** Examples params<-c(4,5) pgfDneymantypea(.5,params) ## The function is currently defined as pgfDneymantypea <- function(s,params) { k<-s[abs(s)>1] if (length(k)>0) warning("At least one element o...
/descret_models_of_markets/Двухбарьерная модель_арбитраж_ожидание.R
no_license
diver-below/R
R
false
false
3,471
r
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/tmbstan.R \name{tmbstan} \alias{tmbstan} \title{Draw MCMC samples from a TMB model object using Stan} \usage{ tmbstan( obj, ..., lower = numeric(0), upper = numeric(0), laplace = FALSE, silent = TRUE, debug = FALSE ) } \argument...
/tmbstan/man/tmbstan.Rd
no_license
kaskr/tmbstan
R
false
true
3,511
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/tmbstan.R \name{tmbstan} \alias{tmbstan} \title{Draw MCMC samples from a TMB model object using Stan} \usage{ tmbstan( obj, ..., lower = numeric(0), upper = numeric(0), laplace = FALSE, silent = TRUE, debug = FALSE ) } \argument...
# map of oil and gas by year library(choroplethr) gas <- read.csv("data/oil/oilgascounty.csv", header=TRUE, as.is=TRUE) title = paste(gas[1, 9:35 ]) title.map = paste(gas[1, "oil2011"]) title.map = gsub('for the year specified in the variable name', "2011", title.map) gas = gas[-1, c("FIPS", "oil2011", "Stabr" )] nam...
/Make Maps/US county Map Oil and Gas production by year.R
no_license
omerkara/choroplethr
R
false
false
796
r
# map of oil and gas by year library(choroplethr) gas <- read.csv("data/oil/oilgascounty.csv", header=TRUE, as.is=TRUE) title = paste(gas[1, 9:35 ]) title.map = paste(gas[1, "oil2011"]) title.map = gsub('for the year specified in the variable name', "2011", title.map) gas = gas[-1, c("FIPS", "oil2011", "Stabr" )] nam...
#!/usr/bin/env Rscript library(optparse) #setwd('~/Documents/eQTL/130823_fullData/') ###################################################################################################################### #Take the overlapped snp file and gene expression matrix and filter each contents to make matrix eQTL more efficien...
/PhD/130826_filterContentseQTL.R
no_license
dvbrown/Rscripts
R
false
false
3,978
r
#!/usr/bin/env Rscript library(optparse) #setwd('~/Documents/eQTL/130823_fullData/') ###################################################################################################################### #Take the overlapped snp file and gene expression matrix and filter each contents to make matrix eQTL more efficien...
LW <- list() LW$tf <- tempfile(pattern = "plot", fileext = ".svg") LW$valid_classes <- c("numeric", "integer", "complex", "character", "list", "data.frame", "try-error", "help_files_with_topic") LW$envir = new.env(parent = globalenv()) LW$eval <- function(s, width = 7, height = 7, pointsize = 12) { if (file.exists(LW...
/lib/labwiki/plugin/r/session_init.R
no_license
mytestbed/labwiki_r_plugin
R
false
false
735
r
LW <- list() LW$tf <- tempfile(pattern = "plot", fileext = ".svg") LW$valid_classes <- c("numeric", "integer", "complex", "character", "list", "data.frame", "try-error", "help_files_with_topic") LW$envir = new.env(parent = globalenv()) LW$eval <- function(s, width = 7, height = 7, pointsize = 12) { if (file.exists(LW...
rm(list = ls()) library(readr) library(data.table) codebook <- readxl::read_excel("~/R Project/Census 1990/codebook.xlsx") #from variable "county" to "living" start <- as.integer(codebook$起[c(1:34, 89:93)]) end <- as.integer(codebook$迄[c(1:34, 89:93)]) #start and end positions ps <- list(NULL) pe <- list(NULL) pp <- ...
/read.R
no_license
Frankpeng0218/R-Programming-Practice
R
false
false
1,246
r
rm(list = ls()) library(readr) library(data.table) codebook <- readxl::read_excel("~/R Project/Census 1990/codebook.xlsx") #from variable "county" to "living" start <- as.integer(codebook$起[c(1:34, 89:93)]) end <- as.integer(codebook$迄[c(1:34, 89:93)]) #start and end positions ps <- list(NULL) pe <- list(NULL) pp <- ...
library(ape) testtree <- read.tree("12719_0.txt") unrooted_tr <- unroot(testtree) write.tree(unrooted_tr, file="12719_0_unrooted.txt")
/codeml_files/newick_trees_processed/12719_0/rinput.R
no_license
DaniBoo/cyanobacteria_project
R
false
false
137
r
library(ape) testtree <- read.tree("12719_0.txt") unrooted_tr <- unroot(testtree) write.tree(unrooted_tr, file="12719_0_unrooted.txt")
\name{queryTypeLibPath} \alias{queryTypeLibPath} \alias{queryTypeLibPath,COMIDispatch,ANY-method} \alias{queryTypeLibPath,ITypeInfo,ANY-method} \alias{queryTypeLibPath,ITypeLib,ANY-method} \alias{queryTypeLibPath,ITypeLibIdentifier,ANY-method} \alias{queryTypeLibPath,IContainingTypeLib,ANY-method} \alias{queryTypeLibPa...
/man/queryTypeLibPath.Rd
no_license
omegahat/SWinTypeLibs
R
false
false
2,354
rd
\name{queryTypeLibPath} \alias{queryTypeLibPath} \alias{queryTypeLibPath,COMIDispatch,ANY-method} \alias{queryTypeLibPath,ITypeInfo,ANY-method} \alias{queryTypeLibPath,ITypeLib,ANY-method} \alias{queryTypeLibPath,ITypeLibIdentifier,ANY-method} \alias{queryTypeLibPath,IContainingTypeLib,ANY-method} \alias{queryTypeLibPa...
# Model Assumptions in Linear Regression # Diagnostics (https://www.statmethods.net/stats/rdiagnostics.html) #(http://www.sthda.com/english/articles/39-regression-model-diagnostics/161-linear-regression-assumptions-and-diagnostics-in-r-essentials/) #The regression has five key assumptions: #1.Linear relationship. #Mu...
/41-LM/41c-LM-assumptions.R
no_license
DUanalytics/rAnalytics
R
false
false
2,492
r
# Model Assumptions in Linear Regression # Diagnostics (https://www.statmethods.net/stats/rdiagnostics.html) #(http://www.sthda.com/english/articles/39-regression-model-diagnostics/161-linear-regression-assumptions-and-diagnostics-in-r-essentials/) #The regression has five key assumptions: #1.Linear relationship. #Mu...
power_url <- "https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip" temp <- tempfile() download.file(power_url, temp) unzip(temp, "household_power_consumption.txt") ##Read in data to create data frame. fulldata<-read.table("household_power_consumption.txt", header=TRUE, sep = ";", na....
/plot2.R
no_license
amyb9/ExData_Plotting1
R
false
false
800
r
power_url <- "https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip" temp <- tempfile() download.file(power_url, temp) unzip(temp, "household_power_consumption.txt") ##Read in data to create data frame. fulldata<-read.table("household_power_consumption.txt", header=TRUE, sep = ";", na....
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/roxygen_datasets.R \docType{data} \name{ALL_dosages} \alias{ALL_dosages} \alias{segregating_data} \alias{screened_data} \alias{screened_data2} \alias{screened_data3} \alias{TRI_dosages} \title{A dosage matrix for a random pairing tetraploid w...
/man/ALL_dosages.Rd
no_license
cran/polymapR
R
false
true
1,049
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/roxygen_datasets.R \docType{data} \name{ALL_dosages} \alias{ALL_dosages} \alias{segregating_data} \alias{screened_data} \alias{screened_data2} \alias{screened_data3} \alias{TRI_dosages} \title{A dosage matrix for a random pairing tetraploid w...
# demo script by Benedikt Gräler (ben.graeler@uni-muenster.de) # and Jim Jones (jim.jones@uni-muenster.de) library(SPARQL) # version > 1.9 library(spacetime) library(lattice) # setting the endpoint endpoint <- "http://localhost:3030/amazon_big/sparql" # endpoint <- "http://spatial.linkedscience.org/sparql" ...
/Tutorials/amazon_big_tutorial/amazon_health.R
no_license
seinecle/LinkedScienceTutorial
R
false
false
8,041
r
# demo script by Benedikt Gräler (ben.graeler@uni-muenster.de) # and Jim Jones (jim.jones@uni-muenster.de) library(SPARQL) # version > 1.9 library(spacetime) library(lattice) # setting the endpoint endpoint <- "http://localhost:3030/amazon_big/sparql" # endpoint <- "http://spatial.linkedscience.org/sparql" ...
source("/home/mr984/diversity_metrics/scripts/checkplot_initials.R") source("/home/mr984/diversity_metrics/scripts/checkplot_inf.R") reps<-50 outerreps<-1000 size<-rev(round(10^seq(2, 5, 0.25)))[ 6 ] nc<-12 plan(strategy=multisession, workers=nc) map(rev(1:outerreps), function(x){ start<-Sys.time() out<-checkpl...
/scripts/checkplots_for_parallel_amarel/asy_486.R
no_license
dushoff/diversity_metrics
R
false
false
537
r
source("/home/mr984/diversity_metrics/scripts/checkplot_initials.R") source("/home/mr984/diversity_metrics/scripts/checkplot_inf.R") reps<-50 outerreps<-1000 size<-rev(round(10^seq(2, 5, 0.25)))[ 6 ] nc<-12 plan(strategy=multisession, workers=nc) map(rev(1:outerreps), function(x){ start<-Sys.time() out<-checkpl...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/hcr_operating_model.R \name{hcr_operating_model} \alias{hcr_operating_model} \title{Operating model} \usage{ hcr_operating_model(y, h, ctr, Fmult, nR = 1) } \arguments{ \item{y}{XXX} \item{h}{XXX} \item{ctr}{ctr_rec} \item{Fmult}{XXX} \it...
/man/hcr_operating_model.Rd
no_license
einarhjorleifsson/fpress2
R
false
true
354
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/hcr_operating_model.R \name{hcr_operating_model} \alias{hcr_operating_model} \title{Operating model} \usage{ hcr_operating_model(y, h, ctr, Fmult, nR = 1) } \arguments{ \item{y}{XXX} \item{h}{XXX} \item{ctr}{ctr_rec} \item{Fmult}{XXX} \it...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/OU.R \name{mleOu} \alias{mleOu} \title{Maximum likelihood estimation of the OU diffusion} \usage{ mleOu(data, delta, alpha = NA, mu = NA, sigma = NA, start, lower = c(0.01, -5, 0.01), upper = c(25, 5, 25), ...) } \arguments{ \item{data}{a v...
/sdetorus/man/mleOu.Rd
no_license
akhikolla/TestedPackages-NoIssues
R
false
true
2,105
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/OU.R \name{mleOu} \alias{mleOu} \title{Maximum likelihood estimation of the OU diffusion} \usage{ mleOu(data, delta, alpha = NA, mu = NA, sigma = NA, start, lower = c(0.01, -5, 0.01), upper = c(25, 5, 25), ...) } \arguments{ \item{data}{a v...
table.ANCOVA <- function(samples_l1_param, X, Z, samples_l2_param, y_val = NULL, error = NULL, # for Poisson, bernoulli binomial and multinomial case, sigle level, need to fix here multi = F, # multinomial n_cat = 0, choice...
/R/table.ANCOVA.R
no_license
cran/BANOVA
R
false
false
22,505
r
table.ANCOVA <- function(samples_l1_param, X, Z, samples_l2_param, y_val = NULL, error = NULL, # for Poisson, bernoulli binomial and multinomial case, sigle level, need to fix here multi = F, # multinomial n_cat = 0, choice...
#' @rdname chart.RollingRegression #' @export chart.RollingQuantileRegression <- function (Ra, Rb, width = 12, Rf = 0, attribute = c("Beta", "Alpha", "R-Squared"), main=NULL, na.pad = TRUE, ...) { # @author Peter Carl, Brian Peterson # Check to see if the required libraries are loaded if(!require("quantreg", ...
/R/chart.RollingQuantileRegression.R
no_license
sanjivkv/PerformanceAnalytics
R
false
false
3,587
r
#' @rdname chart.RollingRegression #' @export chart.RollingQuantileRegression <- function (Ra, Rb, width = 12, Rf = 0, attribute = c("Beta", "Alpha", "R-Squared"), main=NULL, na.pad = TRUE, ...) { # @author Peter Carl, Brian Peterson # Check to see if the required libraries are loaded if(!require("quantreg", ...
\name{tigerdata} \alias{tigerdata} \docType{data} \title{ tiger data from Nagarahole.%% ~~ data name/kind ... ~~ } \description{ only the trap locations and a statespace grid%% ~~ A concise (1-5 lines) description of the dataset. ~~ } \usage{data(tigerdata)} \format{ The format is: List of 2 $ tigerd...
/man/tigerdata.Rd
no_license
jaroyle/SCRbayes
R
false
false
1,056
rd
\name{tigerdata} \alias{tigerdata} \docType{data} \title{ tiger data from Nagarahole.%% ~~ data name/kind ... ~~ } \description{ only the trap locations and a statespace grid%% ~~ A concise (1-5 lines) description of the dataset. ~~ } \usage{data(tigerdata)} \format{ The format is: List of 2 $ tigerd...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/filters.R \name{fug_fun} \alias{fug_fun} \title{Run an arbitrary function from imager} \usage{ fug_fun(p, imager_fun, ...) } \arguments{ \item{p}{Expression that evaluates to a plot} \item{imager_fun}{imager function} \item{...}{Arguments t...
/man/fug_fun.Rd
permissive
mdlincoln/fugger
R
false
true
406
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/filters.R \name{fug_fun} \alias{fug_fun} \title{Run an arbitrary function from imager} \usage{ fug_fun(p, imager_fun, ...) } \arguments{ \item{p}{Expression that evaluates to a plot} \item{imager_fun}{imager function} \item{...}{Arguments t...
## extract sim var args <- commandArgs(TRUE) id <- as.integer(args[1]) rho <- as.numeric(args[2]) s2n <- as.numeric(args[3]) OUT <- args[4] print(sessionInfo()) source("code/simdata.R") library(gamlr) source("code/simfit.R") print(id) fill <- function(v){ c(v, rep(tail(v,1),100-length(v)) )} ## data properties writ...
/code/simrun.R
no_license
LuciusJiang/gamma_lasso
R
false
false
6,865
r
## extract sim var args <- commandArgs(TRUE) id <- as.integer(args[1]) rho <- as.numeric(args[2]) s2n <- as.numeric(args[3]) OUT <- args[4] print(sessionInfo()) source("code/simdata.R") library(gamlr) source("code/simfit.R") print(id) fill <- function(v){ c(v, rep(tail(v,1),100-length(v)) )} ## data properties writ...
#2要因分散分析(混合計画) #データの読み込み TV1 <- read.csv("R_practice/anova5a.csv") head(TV1) #日と性別を組み合わせたセル平均と標準偏差 tapply(TV1$time, list(TV1$day,TV1$sex), mean) tapply(TV1$time, list(TV1$day,TV1$sex), sd) TV1$number2 <- factor(TV1$number) TV1$number2 summary(aov(TV1$time ~TV1$day*TV1$sex +Error(TV1$number2:T...
/r-intro_6-8.R
no_license
hujuu/R_practice
R
false
false
460
r
#2要因分散分析(混合計画) #データの読み込み TV1 <- read.csv("R_practice/anova5a.csv") head(TV1) #日と性別を組み合わせたセル平均と標準偏差 tapply(TV1$time, list(TV1$day,TV1$sex), mean) tapply(TV1$time, list(TV1$day,TV1$sex), sd) TV1$number2 <- factor(TV1$number) TV1$number2 summary(aov(TV1$time ~TV1$day*TV1$sex +Error(TV1$number2:T...
#' Sets Application ID and Password #' #' Set Application ID and Password. Needed for interfacing with Abbyy FineReader Cloud OCR SDK. Run this before anything else. #' #' @details #' The function looks for AbbyyAppId and AbbyyAppPassword in the environment. If it doesn't find them and if we don't want to force ...
/R/setapp.R
permissive
cran/abbyyR
R
false
false
1,880
r
#' Sets Application ID and Password #' #' Set Application ID and Password. Needed for interfacing with Abbyy FineReader Cloud OCR SDK. Run this before anything else. #' #' @details #' The function looks for AbbyyAppId and AbbyyAppPassword in the environment. If it doesn't find them and if we don't want to force ...
library(hexSticker) sticker(here::here("man/figures/gvt_build.png"), package="yieldr", s_width=.58, s_x=1, s_y=1.25, p_size=8, p_x = 1.02, p_y = .5, h_fill="#e7dcbf", h_color="#408000", p_color = "grey40", filename = here::here("man/figures/hex_sticker.png")) sticker( p...
/man/figures/hex_creation.R
no_license
dylanjm/yieldr
R
false
false
1,402
r
library(hexSticker) sticker(here::here("man/figures/gvt_build.png"), package="yieldr", s_width=.58, s_x=1, s_y=1.25, p_size=8, p_x = 1.02, p_y = .5, h_fill="#e7dcbf", h_color="#408000", p_color = "grey40", filename = here::here("man/figures/hex_sticker.png")) sticker( p...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/estimate_infections.R \name{estimate_infections} \alias{estimate_infections} \title{Estimate Infections, the Time-Varying Reproduction Number and the Rate of Growth} \usage{ estimate_infections( reported_cases, generation_time = generatio...
/man/estimate_infections.Rd
permissive
cran/EpiNow2
R
false
true
10,519
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/estimate_infections.R \name{estimate_infections} \alias{estimate_infections} \title{Estimate Infections, the Time-Varying Reproduction Number and the Rate of Growth} \usage{ estimate_infections( reported_cases, generation_time = generatio...
# James Rekow computeSSRatio = function(inputMat, centers){ # ARGS: inputMat - matrix or data frame of vectors to apply kmeans to # centers - number of centers to use in kmeans algorithm # # RETURNS: SSRatio - ratio of total between clusters sum of squares to total within clusters sum of ...
/computeSSRatio.r
permissive
JamesRekow/Canine_Cohort_GLV_Model
R
false
false
742
r
# James Rekow computeSSRatio = function(inputMat, centers){ # ARGS: inputMat - matrix or data frame of vectors to apply kmeans to # centers - number of centers to use in kmeans algorithm # # RETURNS: SSRatio - ratio of total between clusters sum of squares to total within clusters sum of ...
library(ape) testtree <- read.tree("1639_34.txt") unrooted_tr <- unroot(testtree) write.tree(unrooted_tr, file="1639_34_unrooted.txt")
/codeml_files/newick_trees_processed/1639_34/rinput.R
no_license
DaniBoo/cyanobacteria_project
R
false
false
137
r
library(ape) testtree <- read.tree("1639_34.txt") unrooted_tr <- unroot(testtree) write.tree(unrooted_tr, file="1639_34_unrooted.txt")
###Código paralelizado### library(parallel) PSprocess <- Sys.time() repetir <- 30 dur <-200 dimen <- 1:8 cluster <- makeCluster(detectCores() - 1) clusterExport(cluster, "dur") datos <- data.frame() for (dim in dimen) { clusterExport(cluster, "dim") resultado <- parSapply(cluster, 1:repetir, ...
/HWP1/HWP1R2.R
no_license
RicardoRosMac/NanoSimulation
R
false
false
2,365
r
###Código paralelizado### library(parallel) PSprocess <- Sys.time() repetir <- 30 dur <-200 dimen <- 1:8 cluster <- makeCluster(detectCores() - 1) clusterExport(cluster, "dur") datos <- data.frame() for (dim in dimen) { clusterExport(cluster, "dim") resultado <- parSapply(cluster, 1:repetir, ...
library(ranger) library(caret) library(data.table) library(caTools) library(pROC) library(rpart) library(rpart.plot) library(neuralnet) library(gbm, quietly = TRUE) credit_card_data <- read.csv("creditcard.csv") # exploring the data dim(credit_card_data) head(credit_card_data, 6) table(credit_card_data$Class) summar...
/credit-card-fraud.r
no_license
vankiee/credit-card-fraud
R
false
false
2,358
r
library(ranger) library(caret) library(data.table) library(caTools) library(pROC) library(rpart) library(rpart.plot) library(neuralnet) library(gbm, quietly = TRUE) credit_card_data <- read.csv("creditcard.csv") # exploring the data dim(credit_card_data) head(credit_card_data, 6) table(credit_card_data$Class) summar...
#' Creates the choice dataframe for the exhaust_design functions #' #' @param d A character vector of the research design steps function names #' @param weighted Whether each step's choices should be weighted by their user #' assigned weights as included in the \code{choice_type}. Protocols with zero #' weight are ...
/R/generate_choice_df.R
permissive
joachim-gassen/rdfanalysis
R
false
false
3,737
r
#' Creates the choice dataframe for the exhaust_design functions #' #' @param d A character vector of the research design steps function names #' @param weighted Whether each step's choices should be weighted by their user #' assigned weights as included in the \code{choice_type}. Protocols with zero #' weight are ...
https://rischanlab.github.io/SVM.html library("e1071") head(iris) names(iris) summary(iris) str(iris) attach(iris) table(iris$species) x <- subset(iris, select=-Species) y <- Species svm_model <- svm(Species ~ ., data=iris) summary(svm_model) svm_model1 <- svm(x,y) summary(svm_model1) pred <- pr...
/SVM_Iris/SVM_Iris.R
no_license
ypswamy/SupprtVectrMachn
R
false
false
773
r
https://rischanlab.github.io/SVM.html library("e1071") head(iris) names(iris) summary(iris) str(iris) attach(iris) table(iris$species) x <- subset(iris, select=-Species) y <- Species svm_model <- svm(Species ~ ., data=iris) summary(svm_model) svm_model1 <- svm(x,y) summary(svm_model1) pred <- pr...
#line charts plotLineChart <- function(seriesvalues, seriesname, labels, xtitle, ytitle, title='Serena VUB Access Case'){ p <- Highcharts$new() p$chart(zoomType = 'x', type = 'line' #style = list( # fontFamily = "Dosis, sans-serif") ) p$title(text = title) p$series(name = seriesname, ...
/lineChart.R
no_license
mtafiti/rstuff-for-ser
R
false
false
3,045
r
#line charts plotLineChart <- function(seriesvalues, seriesname, labels, xtitle, ytitle, title='Serena VUB Access Case'){ p <- Highcharts$new() p$chart(zoomType = 'x', type = 'line' #style = list( # fontFamily = "Dosis, sans-serif") ) p$title(text = title) p$series(name = seriesname, ...
## Put comments here that give an overall description of what your ## functions do ## This functions enables to optimize the calculation of matrix inversion by saving calculated values on the cache ## Write a short comment describing this function ## makeCacheMatrix converts a matrix into a list containing functions t...
/cachematrix.R
no_license
santiago3223/ProgrammingAssignment2
R
false
false
1,514
r
## Put comments here that give an overall description of what your ## functions do ## This functions enables to optimize the calculation of matrix inversion by saving calculated values on the cache ## Write a short comment describing this function ## makeCacheMatrix converts a matrix into a list containing functions t...
makeERfile <- function (x) { # x is a list of length one, with a name and a sublist - separate them: n <- names(x)[1] x <- x[[1]] f <- paste(n,".fit",sep='') if (!exists(f)) { fit <- summarizeChips(n,x) fit <- as.data.frame.MArrayLM(fit) fit <- fit[,grep("coeff",colnames(fit))] # ge...
/archive/makeERfile.R
no_license
sgschneider01/R_code
R
false
false
698
r
makeERfile <- function (x) { # x is a list of length one, with a name and a sublist - separate them: n <- names(x)[1] x <- x[[1]] f <- paste(n,".fit",sep='') if (!exists(f)) { fit <- summarizeChips(n,x) fit <- as.data.frame.MArrayLM(fit) fit <- fit[,grep("coeff",colnames(fit))] # ge...
######## Recommend a best book based on the ratings by recommendation system ###### ##Set the environment install.packages("recommenderlab", dependencies=TRUE) install.packages("registry ") install.packages("Matrix") library(recommenderlab) library(Matrix) library(caTools) ##Load the book ratings dat...
/book_ recommendation system.R
no_license
Leepsa/Data-Science_R
R
false
false
1,406
r
######## Recommend a best book based on the ratings by recommendation system ###### ##Set the environment install.packages("recommenderlab", dependencies=TRUE) install.packages("registry ") install.packages("Matrix") library(recommenderlab) library(Matrix) library(caTools) ##Load the book ratings dat...
abs_doc = htmlTreeParse(abs.html[1], useInternal = TRUE) txt = xpathApply(abs_doc, "//body//text()[not(ancestor::script)][not(ancestor::style)][not(ancestor::noscript)]", xmlValue) txt_list = unlist(txt)[52]
/htmlTreeParse.R
no_license
tracygmq/WebScraping
R
false
false
208
r
abs_doc = htmlTreeParse(abs.html[1], useInternal = TRUE) txt = xpathApply(abs_doc, "//body//text()[not(ancestor::script)][not(ancestor::style)][not(ancestor::noscript)]", xmlValue) txt_list = unlist(txt)[52]
# read in necessary packages library(tidyverse) library(INLA) library(spdep) library(SpatialEpi) library(ggplot2) library(plyr) library(dplyr) library(readr) library(sf) library(rgdal) library(tmap) library(RSQLite) library(tmaptools) library(leaflet) library(htmltools) library(broom) library(plotly) ...
/ucl_dsh_exports/dsh_modelling_ldn.R
no_license
efarinre/Mentally_green
R
false
false
4,177
r
# read in necessary packages library(tidyverse) library(INLA) library(spdep) library(SpatialEpi) library(ggplot2) library(plyr) library(dplyr) library(readr) library(sf) library(rgdal) library(tmap) library(RSQLite) library(tmaptools) library(leaflet) library(htmltools) library(broom) library(plotly) ...
source("../../sim_code/sim.in.ms.R") K <- 1 if(K == 1){ ms.command.line <- generate.ms.command.line.values(diploid.population.size = 1e3, locus.size = 1e6, per.bp.mu = 1e-8, migration.fraction = 1e-4, deep.split = 2e6, shallow.split = 1e6) } else...
/sims/sim_data/K_1/exe.sim.in.ms.R
no_license
gbradburd/conStruct-paper
R
false
false
1,287
r
source("../../sim_code/sim.in.ms.R") K <- 1 if(K == 1){ ms.command.line <- generate.ms.command.line.values(diploid.population.size = 1e3, locus.size = 1e6, per.bp.mu = 1e-8, migration.fraction = 1e-4, deep.split = 2e6, shallow.split = 1e6) } else...
#populate vector of tails args<-commandArgs(trailingOnly=TRUE) library(deSolve) library(numDeriv) library(tictoc) library(parallel) library(data.table) library(nloptr) library(optimParallel) # system("R CMD SHLIB /lab/solexa_bartel/teisen/RNAseq/Scripts/models/compiled/GlobalODE_10_plogis_linked.c") # system("R CMD S...
/KinetTlnAnalysis/Model/UnLinkV3/AnalyticalTailsPulseStUnlinkedGlobalHybridmiR1V4.R
no_license
timeisen/DynamicsOfCytoplasmicMrnaMetabolism
R
false
false
8,585
r
#populate vector of tails args<-commandArgs(trailingOnly=TRUE) library(deSolve) library(numDeriv) library(tictoc) library(parallel) library(data.table) library(nloptr) library(optimParallel) # system("R CMD SHLIB /lab/solexa_bartel/teisen/RNAseq/Scripts/models/compiled/GlobalODE_10_plogis_linked.c") # system("R CMD S...
#' @title Print regression models as HTML table #' @name tab_model #' #' @description #' \code{tab_model()} creates HTML tables from regression models. #' #' @param title String, will be used as table caption. #' @param terms Character vector with names of those terms (variables) that should #' be printed in the t...
/R/tab_model.R
no_license
januz/sjPlot
R
false
false
47,655
r
#' @title Print regression models as HTML table #' @name tab_model #' #' @description #' \code{tab_model()} creates HTML tables from regression models. #' #' @param title String, will be used as table caption. #' @param terms Character vector with names of those terms (variables) that should #' be printed in the t...
plotExpectedBattleWins <- function(data.all) { plot.data <- data.all p <- ggplot(plot.data, aes(x = battle_winner, y = win_probability)) p <- p + geom_bar(stat = "identity") p <- p + xlab("Player Team") p <- p + ylab("Probability of Winning Battle") p <- p + labs(fill = "") p <- p + scale_y_continuous(...
/scripts/plot_functions.R
no_license
wade1990/EOTS
R
false
false
3,162
r
plotExpectedBattleWins <- function(data.all) { plot.data <- data.all p <- ggplot(plot.data, aes(x = battle_winner, y = win_probability)) p <- p + geom_bar(stat = "identity") p <- p + xlab("Player Team") p <- p + ylab("Probability of Winning Battle") p <- p + labs(fill = "") p <- p + scale_y_continuous(...
# computed with snp_cor() (do not hesitate to be stringent on alpha) corr <- readRDS(url("https://www.dropbox.com/s/65u96jf7y32j2mj/spMat.rds?raw=1")) grid_param <- expand.grid(min_size = c(8, 10, 20), max_size = c(30, 40, 50, 60), lambda = c(0, 0.001, 0.003, 0.01)) ...
/tmp-tests/test-get-LD5.R
no_license
privefl/bigsnpr
R
false
false
3,433
r
# computed with snp_cor() (do not hesitate to be stringent on alpha) corr <- readRDS(url("https://www.dropbox.com/s/65u96jf7y32j2mj/spMat.rds?raw=1")) grid_param <- expand.grid(min_size = c(8, 10, 20), max_size = c(30, 40, 50, 60), lambda = c(0, 0.001, 0.003, 0.01)) ...
require(sqldf) #extract required dates data <- read.csv.sql('household_power_consumption.txt', sql = "select * from file where Date='1/2/2007' or Date='2/2/2007'", sep = ";", stringsAsFactors = FALSE) closeAllConnections() #convert to date class data['Date'] <- lapply(data...
/plot1.R
no_license
williamteo/ExData_Plotting1
R
false
false
572
r
require(sqldf) #extract required dates data <- read.csv.sql('household_power_consumption.txt', sql = "select * from file where Date='1/2/2007' or Date='2/2/2007'", sep = ";", stringsAsFactors = FALSE) closeAllConnections() #convert to date class data['Date'] <- lapply(data...
library(dplyr) library(stats) # inputFile = read.csv("phages.csv") load("18samples_retinaVsHypothalamus.deseq2.dds.RData") ls() cat("What is the dimensionality of this dataset? ", dim(dds)[1], " rows X ", dim(dds)[2], " cols" , "\n") # r # save some variables for later # phage.DNApackagingStrategy = as.factor(i...
/forDESEQ2_rcode/Biometry_Assignment10_q3.R
no_license
vanr1/tubby
R
false
false
2,877
r
library(dplyr) library(stats) # inputFile = read.csv("phages.csv") load("18samples_retinaVsHypothalamus.deseq2.dds.RData") ls() cat("What is the dimensionality of this dataset? ", dim(dds)[1], " rows X ", dim(dds)[2], " cols" , "\n") # r # save some variables for later # phage.DNApackagingStrategy = as.factor(i...
library(MASS) # use mvnorm to generate multivariate normal library(Matrix) # use "dgCMatrix" matrix class, so that to make plot of a matrix like hand written order #library(QRM) #library(moments) # calculate higher order moments, skewness, kurtosis. not useful #library(pROC) # make ROC curve, not very useful curren...
/utils.R
no_license
liyi-1989/covtest
R
false
false
4,755
r
library(MASS) # use mvnorm to generate multivariate normal library(Matrix) # use "dgCMatrix" matrix class, so that to make plot of a matrix like hand written order #library(QRM) #library(moments) # calculate higher order moments, skewness, kurtosis. not useful #library(pROC) # make ROC curve, not very useful curren...
### libraries library(data.table) library(ggplot2) library(cowplot) library(foreach) library(patchwork) ### set working directory setwd("/Users/alanbergland/Documents/work/Projects/2005-2019/2011_6Dimensions/Paper_3_NESCent_seasonal/MS/actualMS/Alan's data for the MS") ### set daysPrior (only options are ...
/figures/figure3/Fig3_use.R
no_license
machadoheather/dmel_seasonal_RTEC
R
false
false
2,826
r
### libraries library(data.table) library(ggplot2) library(cowplot) library(foreach) library(patchwork) ### set working directory setwd("/Users/alanbergland/Documents/work/Projects/2005-2019/2011_6Dimensions/Paper_3_NESCent_seasonal/MS/actualMS/Alan's data for the MS") ### set daysPrior (only options are ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/correlation-based_diagnostics.R \name{.corr_distribution_prot} \alias{.corr_distribution_prot} \title{Transform square correlation matrix into long data frame of correlations} \usage{ .corr_distribution_prot(data_matrix, peptide_annotation, p...
/man/dot-corr_distribution_prot.Rd
no_license
trybik/proBatch
R
false
true
1,099
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/correlation-based_diagnostics.R \name{.corr_distribution_prot} \alias{.corr_distribution_prot} \title{Transform square correlation matrix into long data frame of correlations} \usage{ .corr_distribution_prot(data_matrix, peptide_annotation, p...
#################################### # STAN model for simple linear # # regression. # # # # by # # Tim Frasier # # Last updated: 06-Feb-2019 # #################################### #---------------------...
/10.Simple_Linear_Regression/SimpleRegression.R
no_license
timothyfrasier/stats-2019
R
false
false
7,454
r
#################################### # STAN model for simple linear # # regression. # # # # by # # Tim Frasier # # Last updated: 06-Feb-2019 # #################################### #---------------------...
# load packages and set directory library(RHESSysIOinR) library(tidyverse) library(sensitivity) source("~/RHESSysIOinR-master/R/select_output_variables_R.R") #setwd("~/Google Drive File Stream/My Drive/patches/scripts") setwd("~/Documents/patches/scripts/") ## parameter ranges and any settings as of March 14th 2021 ...
/R/IOworkflows/IOworkflow_E_copy.R
no_license
rachtorr/VegParamsSA
R
false
false
14,799
r
# load packages and set directory library(RHESSysIOinR) library(tidyverse) library(sensitivity) source("~/RHESSysIOinR-master/R/select_output_variables_R.R") #setwd("~/Google Drive File Stream/My Drive/patches/scripts") setwd("~/Documents/patches/scripts/") ## parameter ranges and any settings as of March 14th 2021 ...
\name{modSel.geiger} \alias{modSel.geiger} \title{ Model selection table for phenotypic evolution models fit in the package geiger, based on information theoretical measures. } \description{ Creates a model selection table based on either AIC or AICc for phenotypic evolution models fit using the fitContinuous() a...
/man/modSel.geiger.Rd
no_license
cran/windex
R
false
false
1,547
rd
\name{modSel.geiger} \alias{modSel.geiger} \title{ Model selection table for phenotypic evolution models fit in the package geiger, based on information theoretical measures. } \description{ Creates a model selection table based on either AIC or AICc for phenotypic evolution models fit using the fitContinuous() a...
# # This is the server logic of a Shiny web application. You can run the # application by clicking 'Run App' above. # # Find out more about building applications with Shiny here: # # http://shiny.rstudio.com/ # showtext_auto() ######################################################## # Global options - define the p...
/R/server.R
no_license
keruiduo/essaipkg3
R
false
false
6,627
r
# # This is the server logic of a Shiny web application. You can run the # application by clicking 'Run App' above. # # Find out more about building applications with Shiny here: # # http://shiny.rstudio.com/ # showtext_auto() ######################################################## # Global options - define the p...
##------------## ## S3: PCAScoreMatrix ##------------## #' Construct a S3-class PCAScoreMatrix object #' #' #' @param scoreMatrix Numeric matrix, objects in rows and PCs in columns #' @param expVar Numeric vector, length must equal the number of columns of #' \code{scoreMatrix}, explained variance by respective PCs ...
/R/PCAScoreMatrix.R
no_license
bedapub/ribiosPlot
R
false
false
3,696
r
##------------## ## S3: PCAScoreMatrix ##------------## #' Construct a S3-class PCAScoreMatrix object #' #' #' @param scoreMatrix Numeric matrix, objects in rows and PCs in columns #' @param expVar Numeric vector, length must equal the number of columns of #' \code{scoreMatrix}, explained variance by respective PCs ...
# Custom function to set options for uploading library(readr) f <- function(input, output) write_tsv(input, output, append = F, quote_escape = "double", col_names = T) library(googleCloudStorageR) library(tidyverse)
/utility.R
no_license
orthodoc/xrimg
R
false
false
217
r
# Custom function to set options for uploading library(readr) f <- function(input, output) write_tsv(input, output, append = F, quote_escape = "double", col_names = T) library(googleCloudStorageR) library(tidyverse)
rluc.preload <- function(luc.pathToLibs, luc.pathToClasses, workingDir) { #luc.pathToLibs <- paste("/home/home/Dropbox/jlucrum/lib"); #luc.pathToClasses <- paste("/home/home/NetBeansProjects/JLucrum/build/classes"); Sys.setenv(TZ="GMT") #Set working path #setwd("~/Dropbox/jlucrum/rengine"); setwd(workingDir); lib...
/rexperimental/preload.r
no_license
bobalm/jtotus
R
false
false
1,592
r
rluc.preload <- function(luc.pathToLibs, luc.pathToClasses, workingDir) { #luc.pathToLibs <- paste("/home/home/Dropbox/jlucrum/lib"); #luc.pathToClasses <- paste("/home/home/NetBeansProjects/JLucrum/build/classes"); Sys.setenv(TZ="GMT") #Set working path #setwd("~/Dropbox/jlucrum/rengine"); setwd(workingDir); lib...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/show_phg_methods.R \name{showPHGMethods} \alias{showPHGMethods} \title{Get DB PHG methods for graph building} \usage{ showPHGMethods(configFile) } \arguments{ \item{configFile}{Path to a configuration file for your graph database.} } \descrip...
/man/showPHGMethods.Rd
permissive
maize-genetics/rPHG
R
false
true
486
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/show_phg_methods.R \name{showPHGMethods} \alias{showPHGMethods} \title{Get DB PHG methods for graph building} \usage{ showPHGMethods(configFile) } \arguments{ \item{configFile}{Path to a configuration file for your graph database.} } \descrip...
library(rpart) library(rpart.plot) data(iris) str(iris) table(iris$Species) head(iris) set.seed(9850) g<-runif(nrow(iris)) irisr<-iris[order(g),] head(irisr) iris m3 <-rpart(Species~., data=irisr[1:100,],method="class") m3 rpart.plot(m3) ?rpart.plot rpart.plot(m3,type=3,extra=101,fallen.leaves = T) summary(m3) p3<-pred...
/Decision Trees/DTree_rPart.R
permissive
arjun921/r
R
false
false
394
r
library(rpart) library(rpart.plot) data(iris) str(iris) table(iris$Species) head(iris) set.seed(9850) g<-runif(nrow(iris)) irisr<-iris[order(g),] head(irisr) iris m3 <-rpart(Species~., data=irisr[1:100,],method="class") m3 rpart.plot(m3) ?rpart.plot rpart.plot(m3,type=3,extra=101,fallen.leaves = T) summary(m3) p3<-pred...
# ----------------------------------------------------------------------------------------------- # # ------ data01_excel -> Lectura del Excel inicial ---------------------------------------------- # # ----------------------------------------------------------------------------------------------- # # library(openxlsx) ...
/funciones/data01_LeerExcel.R
permissive
olitroski/ExplorApp
R
false
false
2,914
r
# ----------------------------------------------------------------------------------------------- # # ------ data01_excel -> Lectura del Excel inicial ---------------------------------------------- # # ----------------------------------------------------------------------------------------------- # # library(openxlsx) ...
# v CARO # PRUEBO CON UN ABORDAJE DISTINTO AL VIEJO # DIRECTAMENTE DEL ARCHIVO COMPILADO DE DISCURSOS # Y CON FILTROS PARA SELECCIONAR CUÁLES MOSTRAR #' Diccionario de discursos disponibles #' (\emph{Speeches collection}) #' #' @description #' Función que devuelve un listado de discursos de apertura de sesiones em...
/show_available_speech.R
no_license
CVFH/discursAr_v_Caro
R
false
false
3,087
r
# v CARO # PRUEBO CON UN ABORDAJE DISTINTO AL VIEJO # DIRECTAMENTE DEL ARCHIVO COMPILADO DE DISCURSOS # Y CON FILTROS PARA SELECCIONAR CUÁLES MOSTRAR #' Diccionario de discursos disponibles #' (\emph{Speeches collection}) #' #' @description #' Función que devuelve un listado de discursos de apertura de sesiones em...
testlist <- list(A = structure(c(1.39054483976074e-309, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), .Dim = c(5L, 7L)), left = 0L, right = 0L, x = numeric(0)) result <- do.call(mgss:::MVP_normalfactor_rcpp,testlist) str(result)
/mgss/inst/testfiles/MVP_normalfactor_rcpp/AFL_MVP_normalfactor_rcpp/MVP_normalfactor_rcpp_valgrind_files/1615951687-test.R
no_license
akhikolla/updatedatatype-list3
R
false
false
292
r
testlist <- list(A = structure(c(1.39054483976074e-309, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), .Dim = c(5L, 7L)), left = 0L, right = 0L, x = numeric(0)) result <- do.call(mgss:::MVP_normalfactor_rcpp,testlist) str(result)
HEC <- c(32,11,10,3,53,50,25,15,3,30,5,8) HairEyecolor1 <- matrix(HEC,nrow = 3, ncol = 4, byrow = TRUE) HairEyecolor1 View(HairEyeColor) is.array(HairEyeColor) sum(HairEyeColor) apply(HairEyeColor,MARGIN = 3,sum) apply(HairEyeColor,MARGIN = 2,sum) apply(HairEyeColor,MARGIN = c(1,3),sum) cat("The quick brown fox\n\tjum...
/lab 6.R
no_license
qingze-lan/PSTAT-10
R
false
false
1,038
r
HEC <- c(32,11,10,3,53,50,25,15,3,30,5,8) HairEyecolor1 <- matrix(HEC,nrow = 3, ncol = 4, byrow = TRUE) HairEyecolor1 View(HairEyeColor) is.array(HairEyeColor) sum(HairEyeColor) apply(HairEyeColor,MARGIN = 3,sum) apply(HairEyeColor,MARGIN = 2,sum) apply(HairEyeColor,MARGIN = c(1,3),sum) cat("The quick brown fox\n\tjum...
library(glmnet) mydata = read.table("../../../../TrainingSet/FullSet/Correlation/haematopoietic.csv",head=T,sep=",") x = as.matrix(mydata[,4:ncol(mydata)]) y = as.matrix(mydata[,1]) set.seed(123) glm = cv.glmnet(x,y,nfolds=10,type.measure="mse",alpha=0.85,family="gaussian",standardize=FALSE) sink('./haematopoietic_086....
/Model/EN/Correlation/haematopoietic/haematopoietic_086.R
no_license
esbgkannan/QSMART
R
false
false
367
r
library(glmnet) mydata = read.table("../../../../TrainingSet/FullSet/Correlation/haematopoietic.csv",head=T,sep=",") x = as.matrix(mydata[,4:ncol(mydata)]) y = as.matrix(mydata[,1]) set.seed(123) glm = cv.glmnet(x,y,nfolds=10,type.measure="mse",alpha=0.85,family="gaussian",standardize=FALSE) sink('./haematopoietic_086....
skip_on_cran() data("cdnow") context("Inputchecks - clvfitted - plot") expect_silent(pnbd.cdnow <- pnbd(clvdata(cdnow, date.format = "ymd", time.unit = "w"), verbose = FALSE)) l.std.args <- list(pnbd.cdnow, prediction.end=6) .fct.helper.inputchecks.single.logical(fct = plot, l.std.args = l.std.args, name.param = "tr...
/tests/testthat/test_inputchecks_fitted_plot.R
no_license
lazycrazyowl/CLVTools
R
false
false
2,917
r
skip_on_cran() data("cdnow") context("Inputchecks - clvfitted - plot") expect_silent(pnbd.cdnow <- pnbd(clvdata(cdnow, date.format = "ymd", time.unit = "w"), verbose = FALSE)) l.std.args <- list(pnbd.cdnow, prediction.end=6) .fct.helper.inputchecks.single.logical(fct = plot, l.std.args = l.std.args, name.param = "tr...
library("imputeTS") library(ggplot2) library(kableExtra) library(MASS) library(mice) library(caret) # mean(train_data$Age, na.rm = T) = 29.69912 # median(train_data$Age, na.rm = T) = 28 # mean(test_data$Age, na.rm = T) = 30.27259 # median(test_data$Age, na.rm = T) = 27 read_data <- function (trainPath, testPath...
/Titanic.R
no_license
AizenAngel/titanic-dataset-statistical-analysis
R
false
false
11,392
r
library("imputeTS") library(ggplot2) library(kableExtra) library(MASS) library(mice) library(caret) # mean(train_data$Age, na.rm = T) = 29.69912 # median(train_data$Age, na.rm = T) = 28 # mean(test_data$Age, na.rm = T) = 30.27259 # median(test_data$Age, na.rm = T) = 27 read_data <- function (trainPath, testPath...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/read_shoreline.R \name{read_shoreline} \alias{read_shoreline} \title{Read shoreline from GSHHG} \usage{ read_shoreline(resolution = "c", levels = c(1, 5), path = getOption("shoreline.path")) } \arguments{ \item{resolution}{resolution at whi...
/man/read_shoreline.Rd
no_license
jiho/shoreliner
R
false
true
1,562
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/read_shoreline.R \name{read_shoreline} \alias{read_shoreline} \title{Read shoreline from GSHHG} \usage{ read_shoreline(resolution = "c", levels = c(1, 5), path = getOption("shoreline.path")) } \arguments{ \item{resolution}{resolution at whi...
###not yet working### set.seed(123456789) ##set up timer & basic functions tic <- function(gcFirst = TRUE, type=c("elapsed", "user.self", "sys.self")) { type <- match.arg(type) assign(".type", type, envir=baseenv()) if(gcFirst) gc(FALSE) tic <- proc.time()[type] assign(".tic", tic, envir=baseenv()) ...
/versions/old/RJMCMC.bugs.continuous.2.0.R
no_license
chirimacha/Jewell
R
false
false
18,369
r
###not yet working### set.seed(123456789) ##set up timer & basic functions tic <- function(gcFirst = TRUE, type=c("elapsed", "user.self", "sys.self")) { type <- match.arg(type) assign(".type", type, envir=baseenv()) if(gcFirst) gc(FALSE) tic <- proc.time()[type] assign(".tic", tic, envir=baseenv()) ...
# For each location, the dots show the date of each record we have in the data. # For the training data, this shows us when/where measurements were actually taken. # But for the test data, we see a very regular set of locations/dates. # (This is because the test data has been filled in with many rows that don't alway...
/scripts/baseline.R
no_license
Big-N-Analytics/West_Nile_Virus
R
false
false
1,248
r
# For each location, the dots show the date of each record we have in the data. # For the training data, this shows us when/where measurements were actually taken. # But for the test data, we see a very regular set of locations/dates. # (This is because the test data has been filled in with many rows that don't alway...
library(ibdreg) ### Name: ibdreg ### Title: Regression Methods to Test for Linkage With Covariates ### Aliases: ibdreg ### ** Examples ## see manual for examples, the data requirements are here: # make a data.frame with ped.id, person.id, status, and covariates # make ibd.dat object using create.ibd.dat # make ibd...
/data/genthat_extracted_code/ibdreg/examples/ibdreg.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
371
r
library(ibdreg) ### Name: ibdreg ### Title: Regression Methods to Test for Linkage With Covariates ### Aliases: ibdreg ### ** Examples ## see manual for examples, the data requirements are here: # make a data.frame with ped.id, person.id, status, and covariates # make ibd.dat object using create.ibd.dat # make ibd...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/spinner.R \name{make_spinner} \alias{make_spinner} \title{Create a spinner} \usage{ make_spinner( which = NULL, stream = "auto", template = "{spin}", static = c("dots", "print", "print_line", "silent") ) } \arguments{ \item{which}{The...
/man/make_spinner.Rd
permissive
queilawithaQ/cli-1
R
false
true
2,737
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/spinner.R \name{make_spinner} \alias{make_spinner} \title{Create a spinner} \usage{ make_spinner( which = NULL, stream = "auto", template = "{spin}", static = c("dots", "print", "print_line", "silent") ) } \arguments{ \item{which}{The...
cat("Load dependencies\n") options(tidyverse.quiet = TRUE) library(tidyverse) library(testthat, quietly = TRUE, warn.conflicts = FALSE) library(Matrix, quietly = TRUE, warn.conflicts = FALSE) requireNamespace("anndata", quietly = TRUE) ## VIASH START par <- list( input_solution = c("resources_test/predict_modality/t...
/src/predict_modality/metrics/correlation/script.R
permissive
EsperanzaDai/neurips2021_multimodal_viash
R
false
false
1,969
r
cat("Load dependencies\n") options(tidyverse.quiet = TRUE) library(tidyverse) library(testthat, quietly = TRUE, warn.conflicts = FALSE) library(Matrix, quietly = TRUE, warn.conflicts = FALSE) requireNamespace("anndata", quietly = TRUE) ## VIASH START par <- list( input_solution = c("resources_test/predict_modality/t...
# "OHIBC Howe Sound: Lasting Special Places" # Ocean Health Index. 2016. ohiprep v2016.1: Preparation of data for 2016 Ocean Health Index # global assessment, [date downloaded]. National Center for Ecological Analysis and Synthesis, # University of California, Santa Barbara. # Available at: https://github.com/OHI-Scien...
/OHIBC_Howe_Sound_project/yw_prospective_figures/scripts/combine_inland_and_offshore.R
no_license
haraouf/yw-idcc-17
R
false
false
3,673
r
# "OHIBC Howe Sound: Lasting Special Places" # Ocean Health Index. 2016. ohiprep v2016.1: Preparation of data for 2016 Ocean Health Index # global assessment, [date downloaded]. National Center for Ecological Analysis and Synthesis, # University of California, Santa Barbara. # Available at: https://github.com/OHI-Scien...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/TuneControlMBO.R \name{makeTuneControlMBO} \alias{makeTuneControlMBO} \alias{TuneControlMBO} \title{Create control object for hyperparameter tuning with MBO.} \usage{ makeTuneControlMBO(same.resampling.instance = TRUE, impute.val = NULL, le...
/man/makeTuneControlMBO.Rd
no_license
ahafftka/mlr
R
false
true
5,316
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/TuneControlMBO.R \name{makeTuneControlMBO} \alias{makeTuneControlMBO} \alias{TuneControlMBO} \title{Create control object for hyperparameter tuning with MBO.} \usage{ makeTuneControlMBO(same.resampling.instance = TRUE, impute.val = NULL, le...
Hill.Climber = function(problem, count.limit = 100, count.print = 100, trace = FALSE, graph.search = FALSE){ name.method = paste0("Hill.Climber", ifelse(graph.search," + GS","")) sta...
/The P-Hub/methods/Hill Climber.R
no_license
pabloirigo/IS_RProjects
R
false
false
2,588
r
Hill.Climber = function(problem, count.limit = 100, count.print = 100, trace = FALSE, graph.search = FALSE){ name.method = paste0("Hill.Climber", ifelse(graph.search," + GS","")) sta...
alligator = data.frame( lnLength = c(3.87, 3.61, 4.33, 3.43, 3.81, 3.83, 3.46, 3.76, 3.50, 3.58, 4.19, 3.78, 3.71, 3.73, 3.78), lnWeight = c(4.87, 3.93, 6.46, 3.33, 4.38, 4.70, 3.50, 4.50, 3.58, 3.64, 5.90, 4.43, 4.38, 4.42, 4.25) ) xyplot(lnWeight ~ lnLength, data = alligator, ...
/Assignment 2/MLR(Minhas Mazhar, 2017-ag-3666).R
no_license
Abdulbasitali3698/Winter2018-2019Stat-701MSCS
R
false
false
548
r
alligator = data.frame( lnLength = c(3.87, 3.61, 4.33, 3.43, 3.81, 3.83, 3.46, 3.76, 3.50, 3.58, 4.19, 3.78, 3.71, 3.73, 3.78), lnWeight = c(4.87, 3.93, 6.46, 3.33, 4.38, 4.70, 3.50, 4.50, 3.58, 3.64, 5.90, 4.43, 4.38, 4.42, 4.25) ) xyplot(lnWeight ~ lnLength, data = alligator, ...
require(colordistance) require(plot3D) require(imager) require(textmineR) source("functs.R") source("imagematrix.R") ## ========================= carregar imagem =========================== ## originalRGB_mandrill <- load.image("../image/original/mandrill.png") ## ================= converter imagem original para Lab ...
/PolSAR/code/resultsMandrill.R
no_license
Leh11/SAR-PROCESSING
R
false
false
4,831
r
require(colordistance) require(plot3D) require(imager) require(textmineR) source("functs.R") source("imagematrix.R") ## ========================= carregar imagem =========================== ## originalRGB_mandrill <- load.image("../image/original/mandrill.png") ## ================= converter imagem original para Lab ...
##Week 4 work stuff ## example from before ##download.file("https://d396qusza40orc.cloudfront.net/getdata%2Fdata%2Fss06pid.csv", destfile = "quiz2data.csv") url<-"https://data.baltimorecity.gov/api/views/dz54-2aru/rows.csv?accessType=DOWNLOAD" download.file (url, destfile= "Week_4_stuff",method = "curl") cd<-read.csv...
/Week 4 Workspace.R
no_license
GaryFH/GettingandCleaningData
R
false
false
4,613
r
##Week 4 work stuff ## example from before ##download.file("https://d396qusza40orc.cloudfront.net/getdata%2Fdata%2Fss06pid.csv", destfile = "quiz2data.csv") url<-"https://data.baltimorecity.gov/api/views/dz54-2aru/rows.csv?accessType=DOWNLOAD" download.file (url, destfile= "Week_4_stuff",method = "curl") cd<-read.csv...
# Functions for creating, reading, and exploring MALLET instances. #' Create MALLET instances from a document frame #' #' Given a data frame of document IDs and texts (one per doc), such as #' that returned by \code{\link{wordcounts_texts}}, create a MALLET #' \code{InstanceList} object. This function is a simple wrap...
/R/instances.R
permissive
regan008/dfrtopics
R
false
false
16,202
r
# Functions for creating, reading, and exploring MALLET instances. #' Create MALLET instances from a document frame #' #' Given a data frame of document IDs and texts (one per doc), such as #' that returned by \code{\link{wordcounts_texts}}, create a MALLET #' \code{InstanceList} object. This function is a simple wrap...
library(tidyverse) library(patchwork) source("readData.R") cgiresponses.df <- responses.df %>% filter(!(stimsource %in% c("agreementattraction", "embedding"))) ##fun with cgi stuff: replication stim are a distraction for this. itemmeans.df <- cgiresponses.df %>% group_by(text, questiontext, stimsource, struct...
/data_2/vis.R
no_license
stevenlangsford/sentenceSTA
R
false
false
1,703
r
library(tidyverse) library(patchwork) source("readData.R") cgiresponses.df <- responses.df %>% filter(!(stimsource %in% c("agreementattraction", "embedding"))) ##fun with cgi stuff: replication stim are a distraction for this. itemmeans.df <- cgiresponses.df %>% group_by(text, questiontext, stimsource, struct...
musicNMR = function(source,destination){ FID=paste(source,"fid",sep="") zz <- file(FID, "rb"); acqu=paste(source,"acqu",sep="") ss=scan(acqu, what="character", sep=NULL) time=round(as.numeric(ss[1+which(ss=="##$SW_h=")])*2) a1=readBin(zz, integer(), 256*1024); savewav(a1, f=time, filename=destin...
/musicNMR/R/musicNMR.R
no_license
ingted/R-Examples
R
false
false
652
r
musicNMR = function(source,destination){ FID=paste(source,"fid",sep="") zz <- file(FID, "rb"); acqu=paste(source,"acqu",sep="") ss=scan(acqu, what="character", sep=NULL) time=round(as.numeric(ss[1+which(ss=="##$SW_h=")])*2) a1=readBin(zz, integer(), 256*1024); savewav(a1, f=time, filename=destin...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/bm_settings.R \name{read_settings_BRR} \alias{read_settings_BRR} \title{Read settings from database using reference run id} \usage{ read_settings_BRR(settings) } \arguments{ \item{settings}{settings or multisettings object} } \description{ Fo...
/modules/benchmark/man/read_settings_BRR.Rd
permissive
ashiklom/pecan
R
false
true
471
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/bm_settings.R \name{read_settings_BRR} \alias{read_settings_BRR} \title{Read settings from database using reference run id} \usage{ read_settings_BRR(settings) } \arguments{ \item{settings}{settings or multisettings object} } \description{ Fo...
ConsultaCargosAtuais <- function(evadidos) { # ============================================================================== # BIBLIOTECAS # ============================================================================== library(gdata) # ===================================================================...
/IC/Dashboard/Funcoes/Consultas/Profissional/ConsultaCargosAtuais.r
no_license
guidinhani/IC2019
R
false
false
1,003
r
ConsultaCargosAtuais <- function(evadidos) { # ============================================================================== # BIBLIOTECAS # ============================================================================== library(gdata) # ===================================================================...
data <- matrix(c(160, 110, 90, 80, 70, 75, 60, 45, 60, 55, 60, 45, 70, 60, 30, 40, 60, 50, 30, 40), nrow = 5, byrow = TRUE) dimnames(data) <- list(c("Jawa", "Sumatera", "Kalimantan", "Sulawesi", "Papua"), c("Angkatan I", "Angkatan II", "Angkatan III", "Angkatan IV")) chisq.test(data)
/Cara R/Uji Chi Square k Sampel.R
permissive
belajarstatistik/Nonparametrik
R
false
false
291
r
data <- matrix(c(160, 110, 90, 80, 70, 75, 60, 45, 60, 55, 60, 45, 70, 60, 30, 40, 60, 50, 30, 40), nrow = 5, byrow = TRUE) dimnames(data) <- list(c("Jawa", "Sumatera", "Kalimantan", "Sulawesi", "Papua"), c("Angkatan I", "Angkatan II", "Angkatan III", "Angkatan IV")) chisq.test(data)
#' Create a set of boolean parameters #' #' Create a set of boolean (1 or 0) parameters for a Rmetasim landscape. #' #' #' @param rland skeletion of landscape object, required #' @param re randepoch (default=0), 1=randomly pick a new epoch (from the #' epochs listed in the landscape) after an epoch completes, 0=epoc...
/R/new.switchparam.land.R
no_license
stranda/quantsel
R
false
false
1,532
r
#' Create a set of boolean parameters #' #' Create a set of boolean (1 or 0) parameters for a Rmetasim landscape. #' #' #' @param rland skeletion of landscape object, required #' @param re randepoch (default=0), 1=randomly pick a new epoch (from the #' epochs listed in the landscape) after an epoch completes, 0=epoc...
#' Wrap tidyHeatmap (ComplexHeatmap) in a patchwork-compliant patch #' #' In order to add tidyHeatmap (ComplexHeatmap) element to a patchwork they can be #' converted to a compliant representation using the `wrap_heatmap()` function. #' This allows you to position either grobs, ggplot objects, patchwork #' objects, or ...
/R/patchwork.R
no_license
stemangiola/tidyHeatmap
R
false
false
2,905
r
#' Wrap tidyHeatmap (ComplexHeatmap) in a patchwork-compliant patch #' #' In order to add tidyHeatmap (ComplexHeatmap) element to a patchwork they can be #' converted to a compliant representation using the `wrap_heatmap()` function. #' This allows you to position either grobs, ggplot objects, patchwork #' objects, or ...
require(rvest) library(lubridate) # Web Scraping tutorial # https://fcrstats.wordpress.com/2018/02/08/introduction-to-scraping-data-from-transfermarkt/ #taking the html page page <- "https://www.transfermarkt.com/arsenal-fc-u23/leihspielerhistorie/verein/9249/saison_id/2012/leihe/ist/plus/1" #assinging the page scra...
/R Scripts/Arsenal/12-13/ArsenalU23-12_13.R
no_license
PeterFinegan/PlayerData
R
false
false
2,732
r
require(rvest) library(lubridate) # Web Scraping tutorial # https://fcrstats.wordpress.com/2018/02/08/introduction-to-scraping-data-from-transfermarkt/ #taking the html page page <- "https://www.transfermarkt.com/arsenal-fc-u23/leihspielerhistorie/verein/9249/saison_id/2012/leihe/ist/plus/1" #assinging the page scra...
#' module_aglu_LA102.ag_LDS_R_C_GLU #' #' Initializes harvested area and production values using LDS data for each GCAM Region-Commodity-GLU combination. #' #' @param command API command to execute #' @param ... other optional parameters, depending on command #' @return Depends on \code{command}: either a vector of req...
/R/zchunk_LA102.ag_LDS_R_C_GLU.R
no_license
shaohuizhang/gcamdata
R
false
false
6,622
r
#' module_aglu_LA102.ag_LDS_R_C_GLU #' #' Initializes harvested area and production values using LDS data for each GCAM Region-Commodity-GLU combination. #' #' @param command API command to execute #' @param ... other optional parameters, depending on command #' @return Depends on \code{command}: either a vector of req...
#' @rdname cor.matrix #' @encoding UTF-8 #' @export pro.matrix.bf <- function (x, y, permutations = 999, strata = NULL, na.rm = FALSE, seqpermutation = NULL, parallel = NULL, newClusters = TRUE, CL = NULL) { if(!is.null(seqpermutation)){ if(dim(seqpermutation)[1] != permutations){ ...
/R/pro.matrix.bf.R
no_license
vanderleidebastiani/SYNCSA
R
false
false
1,310
r
#' @rdname cor.matrix #' @encoding UTF-8 #' @export pro.matrix.bf <- function (x, y, permutations = 999, strata = NULL, na.rm = FALSE, seqpermutation = NULL, parallel = NULL, newClusters = TRUE, CL = NULL) { if(!is.null(seqpermutation)){ if(dim(seqpermutation)[1] != permutations){ ...
library(gt) library(emo) library(tidyverse) library(scales) library(blastula) # Create `sizes_order` and `types_order` to # support the ordering of pizza sizes and types sizes_order <- c("S", "M", "L", "XL", "XXL") types_order <- c("Classic", "Chicken", "Supreme", "Veggie") # Get the total pizzaplace sales in the # 2...
/2019_01-19-rstudio_conf_gt/03-pizzaplace_email.R
no_license
rich-iannone/presentations
R
false
false
3,459
r
library(gt) library(emo) library(tidyverse) library(scales) library(blastula) # Create `sizes_order` and `types_order` to # support the ordering of pizza sizes and types sizes_order <- c("S", "M", "L", "XL", "XXL") types_order <- c("Classic", "Chicken", "Supreme", "Veggie") # Get the total pizzaplace sales in the # 2...
library(glmnet) mydata = read.table("../../../../TrainingSet/FullSet/Lasso/urinary_tract.csv",head=T,sep=",") x = as.matrix(mydata[,4:ncol(mydata)]) y = as.matrix(mydata[,1]) set.seed(123) glm = cv.glmnet(x,y,nfolds=10,type.measure="mse",alpha=0.02,family="gaussian",standardize=TRUE) sink('./urinary_tract_009.txt',appe...
/Model/EN/Lasso/urinary_tract/urinary_tract_009.R
no_license
esbgkannan/QSMART
R
false
false
358
r
library(glmnet) mydata = read.table("../../../../TrainingSet/FullSet/Lasso/urinary_tract.csv",head=T,sep=",") x = as.matrix(mydata[,4:ncol(mydata)]) y = as.matrix(mydata[,1]) set.seed(123) glm = cv.glmnet(x,y,nfolds=10,type.measure="mse",alpha=0.02,family="gaussian",standardize=TRUE) sink('./urinary_tract_009.txt',appe...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/data.R \docType{data} \name{hospital_prepared} \alias{hospital_prepared} \title{Prepared version of simulated readmissions data for 500 hospitals} \format{A \code{data.frame} with 24438 rows and 8 variables (columns): \describe{ \item{Y}{Indi...
/man/hospital_prepared.Rd
no_license
GlafiraM/FEprovideR
R
false
true
949
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/data.R \docType{data} \name{hospital_prepared} \alias{hospital_prepared} \title{Prepared version of simulated readmissions data for 500 hospitals} \format{A \code{data.frame} with 24438 rows and 8 variables (columns): \describe{ \item{Y}{Indi...
# Plot6.R # Question Addressed: Compare emissions from motor vehicle sources in Baltimore City with emissions from motor vehicle sources in Los Angeles County, California (fips == "06037"). Which city has seen greater changes over time in motor vehicle emissions? # Output is plot6.png library(ggplot2) # code below is...
/plot6.R
no_license
jgabra/ExData_Plot2
R
false
false
1,543
r
# Plot6.R # Question Addressed: Compare emissions from motor vehicle sources in Baltimore City with emissions from motor vehicle sources in Los Angeles County, California (fips == "06037"). Which city has seen greater changes over time in motor vehicle emissions? # Output is plot6.png library(ggplot2) # code below is...
#' Load data from a 10X Genomics experiment #' #' Creates a \linkS4class{SingleCellExperiment} from the CellRanger output directories for 10X Genomics data. #' #' @param samples A character vector containing one or more directory names, each corresponding to a 10X sample. #' Each directory should contain a matrix fil...
/R/read10xCounts.R
no_license
LTLA/crio
R
false
false
13,611
r
#' Load data from a 10X Genomics experiment #' #' Creates a \linkS4class{SingleCellExperiment} from the CellRanger output directories for 10X Genomics data. #' #' @param samples A character vector containing one or more directory names, each corresponding to a 10X sample. #' Each directory should contain a matrix fil...