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
#Author: Mehrnoush Malek #Date Modified: Oct 19,2017 #R source code for calculating counts for all permutation, when thresholds are filters find.channels <- function(Thresholds,Frame) { inds <-which(names(Thresholds)=="gate") chs <- unlist(lapply (inds, function(x) { ch <-colnames(Thresholds[[x]]) if (i...
/flowTypeFilter/R/HelperFunc.R
no_license
aya49/flowGraph_experiments
R
false
false
6,484
r
#Author: Mehrnoush Malek #Date Modified: Oct 19,2017 #R source code for calculating counts for all permutation, when thresholds are filters find.channels <- function(Thresholds,Frame) { inds <-which(names(Thresholds)=="gate") chs <- unlist(lapply (inds, function(x) { ch <-colnames(Thresholds[[x]]) if (i...
# load common accessory functions source("/Users/Michel/Desktop/Research/code/ProtScavFluxCalculation/data.processing.functions/common.accessory.functions.R") source("/Users/Michel/Desktop/Research/code/ProtScavFluxCalculation/data.processing.functions/aa.info.R") # aa.info.R generates default.aa.table ; need to use ge...
/data.processing.functions/compute.flux.R
no_license
michelnofal/ProtScavFluxCalculation
R
false
false
3,872
r
# load common accessory functions source("/Users/Michel/Desktop/Research/code/ProtScavFluxCalculation/data.processing.functions/common.accessory.functions.R") source("/Users/Michel/Desktop/Research/code/ProtScavFluxCalculation/data.processing.functions/aa.info.R") # aa.info.R generates default.aa.table ; need to use ge...
# Jake Yeung # May 17 2013 # GetAvgFirstPassageTime.R GetAvgFirstPassageTime <- function(D, L, initial.node, end.node){ # Calculate average first passage time (Eq. 5.4) # Defined as the average number of steps that a random walker, # starting in node i, will take to enter node k for the first time. # ...
/R/utilities/GetAvgFirstPassageTime.R
no_license
jaw-bioinf/diffusion-kernel
R
false
false
1,227
r
# Jake Yeung # May 17 2013 # GetAvgFirstPassageTime.R GetAvgFirstPassageTime <- function(D, L, initial.node, end.node){ # Calculate average first passage time (Eq. 5.4) # Defined as the average number of steps that a random walker, # starting in node i, will take to enter node k for the first time. # ...
HPDpoints <- function(model,factors,factors2=NULL,ylimits=NULL,hpdtype="w",inverse=F,jitter=0,...){ allnames=names(posterior.mode(model$Sol)) genes=allnames[-grep(":",allnames)] genes=genes[grep("gene",genes)] genes=sub("gene","",genes) ngenes=length(genes) if (inverse) inv=-1 else inv=1 res1=res2=c(rep(0,length...
/MCMC.qpcr/R/HPDpoints.R
no_license
ingted/R-Examples
R
false
false
1,035
r
HPDpoints <- function(model,factors,factors2=NULL,ylimits=NULL,hpdtype="w",inverse=F,jitter=0,...){ allnames=names(posterior.mode(model$Sol)) genes=allnames[-grep(":",allnames)] genes=genes[grep("gene",genes)] genes=sub("gene","",genes) ngenes=length(genes) if (inverse) inv=-1 else inv=1 res1=res2=c(rep(0,length...
% Generated by roxygen2 (4.0.2): do not edit by hand \docType{data} \name{outcomes} \alias{outcomes} \title{set of simulated outcomes data} \description{ This is just a simulated data set for testing purpose }
/man/outcomes.Rd
no_license
biocyberman/RAPIDR
R
false
false
211
rd
% Generated by roxygen2 (4.0.2): do not edit by hand \docType{data} \name{outcomes} \alias{outcomes} \title{set of simulated outcomes data} \description{ This is just a simulated data set for testing purpose }
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/variable_select.R \name{variable_select} \alias{variable_select} \title{Select observation variables.} \usage{ variable_select(population, variables, sample = NULL, operation = "variance_threshold", ...) } \arguments{ \item{population}{tbl ...
/man/variable_select.Rd
permissive
tojojames/cytominer
R
false
true
1,671
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/variable_select.R \name{variable_select} \alias{variable_select} \title{Select observation variables.} \usage{ variable_select(population, variables, sample = NULL, operation = "variance_threshold", ...) } \arguments{ \item{population}{tbl ...
# # ######################################################################### ######################################################################### # gw_ridge_regression # Author: MC, PH, BL ####################################################################### ###################################################...
/R/collinearity.r
no_license
fionahevans/GWmodelFE
R
false
false
20,681
r
# # ######################################################################### ######################################################################### # gw_ridge_regression # Author: MC, PH, BL ####################################################################### ###################################################...
#!/bin/env Rscript ################################################################################ # # Performs Differential Expression Analysis using DESeq2 # # Tests for differential expression between alternate binary partitionings # of the data, generated by applying k-means clustering to alternate projections of ...
/scripts/run_deseq2.R
no_license
khughitt/snakemake-recount
R
false
false
2,061
r
#!/bin/env Rscript ################################################################################ # # Performs Differential Expression Analysis using DESeq2 # # Tests for differential expression between alternate binary partitionings # of the data, generated by applying k-means clustering to alternate projections of ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/sfn_operations.R \name{sfn_list_tags_for_resource} \alias{sfn_list_tags_for_resource} \title{List tags for a given resource} \usage{ sfn_list_tags_for_resource(resourceArn) } \arguments{ \item{resourceArn}{[required] The Amazon Resource Name ...
/cran/paws.application.integration/man/sfn_list_tags_for_resource.Rd
permissive
paws-r/paws
R
false
true
541
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/sfn_operations.R \name{sfn_list_tags_for_resource} \alias{sfn_list_tags_for_resource} \title{List tags for a given resource} \usage{ sfn_list_tags_for_resource(resourceArn) } \arguments{ \item{resourceArn}{[required] The Amazon Resource Name ...
here <- getwd() setwd("..") source("COMMON.R") setwd(here) source("R2WBwrapper.R") load("post.bugs.RData") post.mcmc <- to.mcmc(post.bugs) plot.frame("lambda", width = 3, height = 3) beta1 <- post.mcmc[, "beta1"] beta2 <- post.mcmc[, "beta2"] for (i in 1:nrow(post.mcmc)) { add.mean(beta1[i], beta2[i], lty = 1, col =...
/kubobook_2012/gibbs/winbugs/plot.lambda.R
no_license
yoshiki146/Stat_Modelling_for_Data_Analysis
R
false
false
618
r
here <- getwd() setwd("..") source("COMMON.R") setwd(here) source("R2WBwrapper.R") load("post.bugs.RData") post.mcmc <- to.mcmc(post.bugs) plot.frame("lambda", width = 3, height = 3) beta1 <- post.mcmc[, "beta1"] beta2 <- post.mcmc[, "beta2"] for (i in 1:nrow(post.mcmc)) { add.mean(beta1[i], beta2[i], lty = 1, col =...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/plots.r \name{plot_volcano} \alias{plot_volcano} \title{Volcano plot} \usage{ plot_volcano(tax_table, de_table) } \arguments{ \item{tax_table}{A table obtained by \link[phyloseq]{tax_table}.} \item{de_table}{A de_table obtained from \link{de...
/man/plot_volcano.Rd
no_license
theislab/MetaMap-web
R
false
true
459
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/plots.r \name{plot_volcano} \alias{plot_volcano} \title{Volcano plot} \usage{ plot_volcano(tax_table, de_table) } \arguments{ \item{tax_table}{A table obtained by \link[phyloseq]{tax_table}.} \item{de_table}{A de_table obtained from \link{de...
# Annual maximum data, give thres (x.thres) # PIII fit to the logs of the discharges GwLP3 <- function(x,x.thres){ # load necessary packages: library("e1071") library("fitdistrplus") # throw out all the NAs out x<-x[!is.na(x)] x.thres=1.35 # remove this in function x.POT<-x[x>=x.thres] GwLP3...
/functions/GwLpears3-1.R
no_license
ezha/exproj
R
false
false
1,488
r
# Annual maximum data, give thres (x.thres) # PIII fit to the logs of the discharges GwLP3 <- function(x,x.thres){ # load necessary packages: library("e1071") library("fitdistrplus") # throw out all the NAs out x<-x[!is.na(x)] x.thres=1.35 # remove this in function x.POT<-x[x>=x.thres] GwLP3...
#------------------------# # Descriptive statistics # # Kevin Potter # # Updated 04/07/16 # #------------------------# ### ### Practice ### ### ### Adaptive trials ### ### ### Main experiment ### pdf('Descriptive_statistics.pdf',width=12,height=6) # Extract data relevant to main experiment mainExp ...
/Experiment_1/Past_analyses/F4_descriptive_statistics.R
no_license
rettopnivek/Gabor-priming-experiments
R
false
false
5,661
r
#------------------------# # Descriptive statistics # # Kevin Potter # # Updated 04/07/16 # #------------------------# ### ### Practice ### ### ### Adaptive trials ### ### ### Main experiment ### pdf('Descriptive_statistics.pdf',width=12,height=6) # Extract data relevant to main experiment mainExp ...
# Load data --------------------------------------------------------------- # use Genomic state to load txdb (GENCODE v31) ref <- GenomicState::GenomicStateHub(version = "31", genome = "hg38", filetype = "TxDb")[[1]] # Process junctions ------------------------------------------------------- ##### junction_process #...
/tests/testthat/test-junction_process.R
no_license
dzhang32/dasper
R
false
false
17,951
r
# Load data --------------------------------------------------------------- # use Genomic state to load txdb (GENCODE v31) ref <- GenomicState::GenomicStateHub(version = "31", genome = "hg38", filetype = "TxDb")[[1]] # Process junctions ------------------------------------------------------- ##### junction_process #...
library(tidyverse) library(knitr) library(ISLR) opts_chunk$set(eval=TRUE, cache=TRUE, fig.width=7, fig.height=4) auto = read.csv("data/Auto.csv", header = T) head(auto) auto$horsepower <- as.numeric(auto$horsepower) trainIdx = sample(397, 198) lm.fit <- lm(mpg~horsepower, data = auto, subset=train) lm.pred <- predict(...
/통계적 빅데이터 학습이론/Ch05_resample.R
no_license
BenHeo/SNU
R
false
false
433
r
library(tidyverse) library(knitr) library(ISLR) opts_chunk$set(eval=TRUE, cache=TRUE, fig.width=7, fig.height=4) auto = read.csv("data/Auto.csv", header = T) head(auto) auto$horsepower <- as.numeric(auto$horsepower) trainIdx = sample(397, 198) lm.fit <- lm(mpg~horsepower, data = auto, subset=train) lm.pred <- predict(...
library(ggplot2) library(gridExtra) library(tidyverse) read_eval_data <- readRDS("read_eval_data.rds") #plots ---- # filter data read_eval_data_plot <- read_eval_data%>% ungroup()%>% filter(pathogen_type=="img", type %in% c("cnn+cnn","cnn+lstm","lstm+cnn","lstm+lstm"))%>% filter(training == training[ac...
/supplement_paper/subreads/data_vizualization/find_best_ens.R
permissive
JakubBartoszewicz/DeePaC
R
false
false
690
r
library(ggplot2) library(gridExtra) library(tidyverse) read_eval_data <- readRDS("read_eval_data.rds") #plots ---- # filter data read_eval_data_plot <- read_eval_data%>% ungroup()%>% filter(pathogen_type=="img", type %in% c("cnn+cnn","cnn+lstm","lstm+cnn","lstm+lstm"))%>% filter(training == training[ac...
source(file = "./R/utils.R") library(MTS) library(vars) old_freq_n_of_variables <- function(tbl_of_models, tbl_models_only = FALSE, h_max = 8) { variable_n_tbl <- tbl_of_models %>% dplyr::select(variables, rmse_h, ranking) %>% group_by(rmse_h) %>% summarise(uniq...
/VAR_functions.R
no_license
ricardomayerb/varensemble
R
false
false
273,021
r
source(file = "./R/utils.R") library(MTS) library(vars) old_freq_n_of_variables <- function(tbl_of_models, tbl_models_only = FALSE, h_max = 8) { variable_n_tbl <- tbl_of_models %>% dplyr::select(variables, rmse_h, ranking) %>% group_by(rmse_h) %>% summarise(uniq...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/QTT.R \name{QTT} \alias{QTT} \title{IPW estimator for the Quantile Treatment Effect on the Treated} \usage{ QTT( y, d, x, ps, beta.lin.rep, tau = 0.5, bw = "nrd0", trim = FALSE, trim.at = NULL, whs = NULL ) } \arguments{ \...
/man/QTT.Rd
no_license
pedrohcgs/IPS
R
false
true
2,130
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/QTT.R \name{QTT} \alias{QTT} \title{IPW estimator for the Quantile Treatment Effect on the Treated} \usage{ QTT( y, d, x, ps, beta.lin.rep, tau = 0.5, bw = "nrd0", trim = FALSE, trim.at = NULL, whs = NULL ) } \arguments{ \...
##[R-class]=group ##layer=vector ##test_data=string ##output_path=string library(randomForest) library(MASS) test<-data.frame(layer) # outliers by classes cl=length(levels(as.factor(test$CLASS_FIN))) for(j in 1:cl){ test1<-test[test$CLASSID==levels(as.factor(test$CLASS_FIN))[j],] col=dim(test1)[2]-1 for(i in col){ x...
/RFmodel.rsx
no_license
IgorGlushkov/Segmentation-Classifier
R
false
false
2,392
rsx
##[R-class]=group ##layer=vector ##test_data=string ##output_path=string library(randomForest) library(MASS) test<-data.frame(layer) # outliers by classes cl=length(levels(as.factor(test$CLASS_FIN))) for(j in 1:cl){ test1<-test[test$CLASSID==levels(as.factor(test$CLASS_FIN))[j],] col=dim(test1)[2]-1 for(i in col){ x...
\name{pam50} \alias{pam50} \alias{pam50.scale} \alias{pam50.robust} \docType{data} \title{ PAM50 classifier for identification of breast cancer molecular subtypes (Parker et al 2009) } \description{ List of parameters defining the PAM50 classifier for identification of breast cancer molecular subtypes (Parker et al 200...
/man/pam50.Rd
no_license
eliph/genefu
R
false
false
2,587
rd
\name{pam50} \alias{pam50} \alias{pam50.scale} \alias{pam50.robust} \docType{data} \title{ PAM50 classifier for identification of breast cancer molecular subtypes (Parker et al 2009) } \description{ List of parameters defining the PAM50 classifier for identification of breast cancer molecular subtypes (Parker et al 200...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/dc.R \name{dc.CreateReachCBT} \alias{dc.CreateReachCBT} \title{Create Reach Customer-by-Time Matrix} \usage{ dc.CreateReachCBT(elog) } \arguments{ \item{elog}{event log, which is a data frame with columns for customer ID ("cust"), date ("date...
/man/dc.CreateReachCBT.Rd
no_license
cran/BTYD
R
false
true
1,468
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/dc.R \name{dc.CreateReachCBT} \alias{dc.CreateReachCBT} \title{Create Reach Customer-by-Time Matrix} \usage{ dc.CreateReachCBT(elog) } \arguments{ \item{elog}{event log, which is a data frame with columns for customer ID ("cust"), date ("date...
library(dplyr) library(data.table) datadir = "UCI HAR Dataset" rawzipfile = "dataset.zip" actLabelFile = "activity_labels.txt" featureLabelFile = "features.txt" subjectFilePrefix = "subject" featureFilePrefix = "X" activityFilePrefix = "Y" trainDir = "train" testDir = "test" #download the dataset if (!file.exis...
/run_analysis.R
no_license
ywoneday/GetCleanDataProject
R
false
false
3,214
r
library(dplyr) library(data.table) datadir = "UCI HAR Dataset" rawzipfile = "dataset.zip" actLabelFile = "activity_labels.txt" featureLabelFile = "features.txt" subjectFilePrefix = "subject" featureFilePrefix = "X" activityFilePrefix = "Y" trainDir = "train" testDir = "test" #download the dataset if (!file.exis...
# ###################################################### # Initialize the UI and receive user inputs # ###################################################### Shinyui <- fluidPage( # Application title headerPanel("The Median Place - Assignemnt"), # Sidebar with a slider inputs for number of predicte...
/app_data_preloaded/ui.R
no_license
cl3483/the_median_place
R
false
false
2,650
r
# ###################################################### # Initialize the UI and receive user inputs # ###################################################### Shinyui <- fluidPage( # Application title headerPanel("The Median Place - Assignemnt"), # Sidebar with a slider inputs for number of predicte...
seed <- 1021 log.wt <- 0.0 penalty <- 2.8115950178536287e-8 intervals.send <- c() intervals.recv <- c(56, 112, 225, 450, 900, 1800, 3600, 7200, 14400, 28800, 57600, 115200, 230400, 460800, 921600, 1843200, 3686400, 7372800, 14745600, 29491200, 58982400) dev.null <- 358759.0022669336 df.null <- 35567 dev.resid <- 226355...
/analysis/boot/boot1021.R
no_license
patperry/interaction-proc
R
false
false
3,754
r
seed <- 1021 log.wt <- 0.0 penalty <- 2.8115950178536287e-8 intervals.send <- c() intervals.recv <- c(56, 112, 225, 450, 900, 1800, 3600, 7200, 14400, 28800, 57600, 115200, 230400, 460800, 921600, 1843200, 3686400, 7372800, 14745600, 29491200, 58982400) dev.null <- 358759.0022669336 df.null <- 35567 dev.resid <- 226355...
#' @title Get ids of algorithms in registry. #' #' @param reg [\code{\link{ExperimentRegistry}}]\cr #' Registry. #' @param ids [code{integer}]\cr #' Job ids to restrict returned algorithm ids to. #' @return [\code{character}]. #' @family get #' @export getAlgorithmIds = function(reg, ids) { checkExperimentRegistr...
/R/getAlgorithmIds.R
no_license
imbs-hl/BatchExperiments
R
false
false
486
r
#' @title Get ids of algorithms in registry. #' #' @param reg [\code{\link{ExperimentRegistry}}]\cr #' Registry. #' @param ids [code{integer}]\cr #' Job ids to restrict returned algorithm ids to. #' @return [\code{character}]. #' @family get #' @export getAlgorithmIds = function(reg, ids) { checkExperimentRegistr...
library(bio3d) ### Name: seqaln.pair ### Title: Sequence Alignment of Identical Protein Sequences ### Aliases: seqaln.pair ### Keywords: utilities ### ** Examples ## NOTE: FOLLOWING EXAMPLE NEEDS MUSCLE INSTALLED if(check.utility("muscle")) { ##- Aligning a PDB sequence to an existing sequence alignment ##- Sim...
/data/genthat_extracted_code/bio3d/examples/seqaln.pair.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
476
r
library(bio3d) ### Name: seqaln.pair ### Title: Sequence Alignment of Identical Protein Sequences ### Aliases: seqaln.pair ### Keywords: utilities ### ** Examples ## NOTE: FOLLOWING EXAMPLE NEEDS MUSCLE INSTALLED if(check.utility("muscle")) { ##- Aligning a PDB sequence to an existing sequence alignment ##- Sim...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/calc_annual_lowflows.R \name{calc_annual_lowflows} \alias{calc_annual_lowflows} \title{Calculate annual lowflows} \usage{ calc_annual_lowflows( data, dates = Date, values = Value, groups = STATION_NUMBER, station_number, roll_days...
/man/calc_annual_lowflows.Rd
permissive
gravitytrope/fasstr
R
false
true
5,342
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/calc_annual_lowflows.R \name{calc_annual_lowflows} \alias{calc_annual_lowflows} \title{Calculate annual lowflows} \usage{ calc_annual_lowflows( data, dates = Date, values = Value, groups = STATION_NUMBER, station_number, roll_days...
library(testthat) # compare results to # Karabatsos, G. (2005). The exchangeable multinomial model as an approach to testing deterministic axioms of choice and measurement. Journal of Mathematical Psychology, 49(1), 51-69. https://doi.org/10.1016/j.jmp.2004.11.001 test_that("results match to those of Karabat...
/tests/testthat/test_karabatsos2005.R
no_license
cran/multinomineq
R
false
false
2,354
r
library(testthat) # compare results to # Karabatsos, G. (2005). The exchangeable multinomial model as an approach to testing deterministic axioms of choice and measurement. Journal of Mathematical Psychology, 49(1), 51-69. https://doi.org/10.1016/j.jmp.2004.11.001 test_that("results match to those of Karabat...
library(bhrcr) ### Name: summary.bhrcr ### Title: Summary Statistics for the Bayesian Clearance Estimator ### Aliases: summary.bhrcr ### ** Examples data("posterior") summary(posterior) ## Don't show: data("pursat") data("pursat_covariates") data = pursat[pursat["id"] <= 80 & pursat["id"] > 70,] covariates = pursa...
/data/genthat_extracted_code/bhrcr/examples/summary.bhrcr.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
771
r
library(bhrcr) ### Name: summary.bhrcr ### Title: Summary Statistics for the Bayesian Clearance Estimator ### Aliases: summary.bhrcr ### ** Examples data("posterior") summary(posterior) ## Don't show: data("pursat") data("pursat_covariates") data = pursat[pursat["id"] <= 80 & pursat["id"] > 70,] covariates = pursa...
################################################################################################################## # Code used to conduct ZIP code-level analyses for "Reduced coal-fired power plant emissions related to improved # # community asthma-related healthcare utilization and individual symptoms in Louisville, ...
/code/Code_Asthma_ZIP_DiD_Git_R2.R
no_license
joanacasey/ky_asthma_coal
R
false
false
35,018
r
################################################################################################################## # Code used to conduct ZIP code-level analyses for "Reduced coal-fired power plant emissions related to improved # # community asthma-related healthcare utilization and individual symptoms in Louisville, ...
################################# ## <제3장 연습문제> ################################# data() # 문1) acq 데이터 셋을 대상으로 다음과 같이 TDM 객체를 생성하시오. # <조건1> 전체 단어의 갯수는 몇 개인가 ? # <조건2> 최대 단어 길이는 몇 개인가 ? data(acq) # corpus 객체 str(acq) class(acq) head(str(acq[1])) # 작업절차 : acq -> DATA전처리(2단계 ~ 8단계) -> DTM -> TDM -> ? s...
/R-script/연습/chap17_연습.R
no_license
Elly-bang/R
R
false
false
2,505
r
################################# ## <제3장 연습문제> ################################# data() # 문1) acq 데이터 셋을 대상으로 다음과 같이 TDM 객체를 생성하시오. # <조건1> 전체 단어의 갯수는 몇 개인가 ? # <조건2> 최대 단어 길이는 몇 개인가 ? data(acq) # corpus 객체 str(acq) class(acq) head(str(acq[1])) # 작업절차 : acq -> DATA전처리(2단계 ~ 8단계) -> DTM -> TDM -> ? s...
library(R.matlab) library(classyfire) library(ggplot2) rm(list=ls()) graphics.off() ##### Importing data #### bgw <- readMat("data/faecal/BWG_FA_CDvCTRL.mat") attributes(bgw) # Extracting important data; x(independent) and y(dependent) # X are variables that classification algorithm uses to predict outc...
/faeces.R
no_license
ahussaini821/R-machine-learning
R
false
false
3,436
r
library(R.matlab) library(classyfire) library(ggplot2) rm(list=ls()) graphics.off() ##### Importing data #### bgw <- readMat("data/faecal/BWG_FA_CDvCTRL.mat") attributes(bgw) # Extracting important data; x(independent) and y(dependent) # X are variables that classification algorithm uses to predict outc...
\name{mhtplot} \alias{mhtplot} \title{Manhattan plot} \usage{mhtplot(data, control=mht.control(), hcontrol=hmht.control(), ...)} \description{ To generate Manhattan plot, e.g., of genomewide significance (p values) and a random variable that is uniformly distributed. By default, a log10-transformation is applied. Note ...
/man/mhtplot.Rd
no_license
FloraGiantFlower/gap
R
false
false
4,731
rd
\name{mhtplot} \alias{mhtplot} \title{Manhattan plot} \usage{mhtplot(data, control=mht.control(), hcontrol=hmht.control(), ...)} \description{ To generate Manhattan plot, e.g., of genomewide significance (p values) and a random variable that is uniformly distributed. By default, a log10-transformation is applied. Note ...
#' Homicides by Day and Type #' #' This function takes the Toronto homicides data and returns barplots #' of the number and proportion of homicides by day and type. #' It combines these plots with a common title, legend, and x-axis #' and saves it as a .png file to a local folder #' #' @param data tbl_df #' #' @return ...
/src/functions/05_homicides_by_day_and_type.R
no_license
timchisamore/toronto_homicides
R
false
false
2,602
r
#' Homicides by Day and Type #' #' This function takes the Toronto homicides data and returns barplots #' of the number and proportion of homicides by day and type. #' It combines these plots with a common title, legend, and x-axis #' and saves it as a .png file to a local folder #' #' @param data tbl_df #' #' @return ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/rnoaa-package.r \docType{data} \name{storm_names} \alias{storm_names} \title{NOAA storm names from IBTrACS} \format{ A data frame with 12,209 rows and 2 variables } \description{ This dataset includes a crosswalk from storm serial numbers to ...
/man/storm_names.Rd
permissive
mpettis/rnoaa
R
false
true
474
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/rnoaa-package.r \docType{data} \name{storm_names} \alias{storm_names} \title{NOAA storm names from IBTrACS} \format{ A data frame with 12,209 rows and 2 variables } \description{ This dataset includes a crosswalk from storm serial numbers to ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/var_cat.R \name{var_cat} \alias{var_cat} \title{Calculate Variance of Binary or Ordinal Variable} \usage{ var_cat(marginal, support) } \arguments{ \item{marginal}{a vector of cumulative probabilities defining the marginal distributio...
/man/var_cat.Rd
no_license
cran/SimMultiCorrData
R
false
true
1,848
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/var_cat.R \name{var_cat} \alias{var_cat} \title{Calculate Variance of Binary or Ordinal Variable} \usage{ var_cat(marginal, support) } \arguments{ \item{marginal}{a vector of cumulative probabilities defining the marginal distributio...
#' @export #' @importFrom dplyr filter #' @importFrom igraph delete_vertices delete_edges filter.tbl_graph <- function(.data, ...) { .graph_context$set(.data) on.exit(.graph_context$clear()) d_tmp <- as_tibble(.data) if ('.tbl_graph_index' %in% names(d_tmp)) { stop('The attribute name ".tbl_graph_index" is ...
/R/filter.R
no_license
inambioinfo/tidygraph
R
false
false
862
r
#' @export #' @importFrom dplyr filter #' @importFrom igraph delete_vertices delete_edges filter.tbl_graph <- function(.data, ...) { .graph_context$set(.data) on.exit(.graph_context$clear()) d_tmp <- as_tibble(.data) if ('.tbl_graph_index' %in% names(d_tmp)) { stop('The attribute name ".tbl_graph_index" is ...
#' Progress bar function #' #' Show progress during iterative process. #' #' @section progressBar functions: #' The foo functions ... #' #' @docType package #' @name progressbar NULL
/R/progressbar-package.R
no_license
ZwAnto/progressbar
R
false
false
183
r
#' Progress bar function #' #' Show progress during iterative process. #' #' @section progressBar functions: #' The foo functions ... #' #' @docType package #' @name progressbar NULL
## Tests for whatif function ## Error tests data("peacef") data("peacecf") test_that('FAIL Test: reject bad cfact inputs', { ## missing cfact test expect_error(whatif(data = peacef), regexp = 'argument "cfact" is missing, with no default') ## bad data type expect_error(whatif(cfact =...
/tests/testthat/test-whatif.R
no_license
Wangleileiy/WhatIf
R
false
false
2,067
r
## Tests for whatif function ## Error tests data("peacef") data("peacecf") test_that('FAIL Test: reject bad cfact inputs', { ## missing cfact test expect_error(whatif(data = peacef), regexp = 'argument "cfact" is missing, with no default') ## bad data type expect_error(whatif(cfact =...
--- static char *arg_defined(VALUE self, NODE *node, char *buf, char *type) --- static void assign(VALUE self, NODE *lhs, VALUE val, int pcall) 左辺を表す構文木 lhs に対し、右辺の値 val を代入します。 Proc オブジェクトを起動する場合は pcall を非ゼロとします。 --- static VALUE avalue_to_svalue(VALUE v) --- static VALUE avalue_to_yvalue(VALUE v) --- static VALU...
/target/rubydoc/refm/capi/src/eval.c.rd
no_license
nacyot/omegat-rurima-ruby
R
false
false
32,558
rd
--- static char *arg_defined(VALUE self, NODE *node, char *buf, char *type) --- static void assign(VALUE self, NODE *lhs, VALUE val, int pcall) 左辺を表す構文木 lhs に対し、右辺の値 val を代入します。 Proc オブジェクトを起動する場合は pcall を非ゼロとします。 --- static VALUE avalue_to_svalue(VALUE v) --- static VALUE avalue_to_yvalue(VALUE v) --- static VALU...
library(dplyr) library(shiny) library(ggplot2) library(DT) library(sf) library(plotly) library(shinyjs) library(maps) library(rnaturalearth) ################## # DATA WRANGLING # ################## originalNetflix <- read.csv(file="netflix_titles.csv", na.strings=c("NA", ""), stringsAsFactors=F) map <- read.csv(file=...
/server.R
no_license
zhiying038/IVP-Netflix
R
false
false
15,885
r
library(dplyr) library(shiny) library(ggplot2) library(DT) library(sf) library(plotly) library(shinyjs) library(maps) library(rnaturalearth) ################## # DATA WRANGLING # ################## originalNetflix <- read.csv(file="netflix_titles.csv", na.strings=c("NA", ""), stringsAsFactors=F) map <- read.csv(file=...
query<-" with aluno_turma as ( select nr_anoletivo, cd_unidade_trabalho, concat(tta.nr_semestre,' Semestre') semestre, ds_disciplina_atividade, ds_codigo, count(distinct tta.ci_turma_atividade)nr_turmas, count(ue.cd_aluno) nr_alunos from academico.tb_turma_atividade tta left join academico.tb_enturmacao_atividade ue ...
/openxlsx/sql/query_generica.R
no_license
francisco-filho-educ/Projetos-R
R
false
false
1,974
r
query<-" with aluno_turma as ( select nr_anoletivo, cd_unidade_trabalho, concat(tta.nr_semestre,' Semestre') semestre, ds_disciplina_atividade, ds_codigo, count(distinct tta.ci_turma_atividade)nr_turmas, count(ue.cd_aluno) nr_alunos from academico.tb_turma_atividade tta left join academico.tb_enturmacao_atividade ue ...
print.gofBIB <- function(x, ...) { if (!inherits(x, "gofBIB")) stop("x should inherit the class \"gofBIB\"") cat("######################################\n##\n## Goodness of fit of the BIB model\n\n") cat("Number of simulations:", attr(x, "nsim"),"\n") cat("Probability used for the credible inte...
/R/print.gofBIB.R
no_license
ClementCalenge/BIB
R
false
false
994
r
print.gofBIB <- function(x, ...) { if (!inherits(x, "gofBIB")) stop("x should inherit the class \"gofBIB\"") cat("######################################\n##\n## Goodness of fit of the BIB model\n\n") cat("Number of simulations:", attr(x, "nsim"),"\n") cat("Probability used for the credible inte...
if ("mscstexta4r" %in% installed.packages()[, "Package"] == FALSE) { install.packages("mscstexta4r") } library("mscstexta4r") textaInit() mscstafunc <- function(docsText) { docsLanguage <- rep("en", length(docsText)) # Perform sentiment analysis tryCatch({ docsSentiment <- textaSentiment(documents = do...
/textanalysishttps.R
no_license
JackXueIndiana/Azure-Cognitive-Services-Text-Analysis
R
false
false
1,515
r
if ("mscstexta4r" %in% installed.packages()[, "Package"] == FALSE) { install.packages("mscstexta4r") } library("mscstexta4r") textaInit() mscstafunc <- function(docsText) { docsLanguage <- rep("en", length(docsText)) # Perform sentiment analysis tryCatch({ docsSentiment <- textaSentiment(documents = do...
#With the Tatiana correlations we did not do the deltas but rather just did the log normalized #I want to try that as well to see how it changes the results #This is something Mike suggested load("/Users/SLancaster/Desktop/Projects/Fiber/Multiomics/RData/Full_Log_Arabinoxylan_cytokine_df.RData") load("/Users/SLancaste...
/Microbiome_Cytokine_Correlations_unBN.R
no_license
linlin0026/fiber_-_10.1016-j.chom.2022.03.036
R
false
false
5,729
r
#With the Tatiana correlations we did not do the deltas but rather just did the log normalized #I want to try that as well to see how it changes the results #This is something Mike suggested load("/Users/SLancaster/Desktop/Projects/Fiber/Multiomics/RData/Full_Log_Arabinoxylan_cytokine_df.RData") load("/Users/SLancaste...
#Add your dataframes here dataframes_found_in_system=c("DATA.1","DATA.2","DATA.3","DATA.4") #loading the required packages library(seqinr) library(ggplot2) #reading fsa file using read.abif() and taking data portion only data<-read.abif("A01-Ladder-PP16-001.20sec.fsa")$Data #Data plotting dataframes=NULL i=length...
/medium/script.R
no_license
KhaledAbdelgalil/Tests-for-the-project-MCMC-for-Forensic-Science-R-Projects-GSOC-2020
R
false
false
1,004
r
#Add your dataframes here dataframes_found_in_system=c("DATA.1","DATA.2","DATA.3","DATA.4") #loading the required packages library(seqinr) library(ggplot2) #reading fsa file using read.abif() and taking data portion only data<-read.abif("A01-Ladder-PP16-001.20sec.fsa")$Data #Data plotting dataframes=NULL i=length...
library(tidyverse) x<-c("Value 1, Temperate or sub-polar needleleaf forest, RGB 0 0.24 0; Value 2, Sub-polar taiga needleleaf forest, RGB 0.58 0.61 0.44; Value 5, Temperate or sub-polar broadleaf deciduous forest, RGB 0.08 0.55 0.24; Value 6, Mixed forest, RGB 0.36 0.46 0.17; Value 8, Temperate or sub-polar shrubland...
/land_cover_colours.R
no_license
joelwwood/LandCover_Trial
R
false
false
1,208
r
library(tidyverse) x<-c("Value 1, Temperate or sub-polar needleleaf forest, RGB 0 0.24 0; Value 2, Sub-polar taiga needleleaf forest, RGB 0.58 0.61 0.44; Value 5, Temperate or sub-polar broadleaf deciduous forest, RGB 0.08 0.55 0.24; Value 6, Mixed forest, RGB 0.36 0.46 0.17; Value 8, Temperate or sub-polar shrubland...
\name{acq1} \alias{acq1} \docType{data} \title{ Aquaintance (Number 1) CAQ ratings } \description{ This is an aquaintance rating of a participant's personality in the Riverside Situation Project. } \usage{data(acq1)} \format{ A data frame with 205 observations on the following 100 variables. \describe{ \item{\c...
/man/acq1.Rd
no_license
Justin8428/multicon
R
false
false
8,172
rd
\name{acq1} \alias{acq1} \docType{data} \title{ Aquaintance (Number 1) CAQ ratings } \description{ This is an aquaintance rating of a participant's personality in the Riverside Situation Project. } \usage{data(acq1)} \format{ A data frame with 205 observations on the following 100 variables. \describe{ \item{\c...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/bru.inference.R \name{summary.bru} \alias{summary.bru} \title{Summary for a \link{bru} fit} \usage{ \method{summary}{bru}(object, ...) } \arguments{ \item{object}{An object obtained from a \link{bru} or \link{lgcp} call} \item{...}{ignored a...
/inlabru/man/summary.bru.Rd
no_license
albrizre/spatstat.revdep
R
false
true
1,540
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/bru.inference.R \name{summary.bru} \alias{summary.bru} \title{Summary for a \link{bru} fit} \usage{ \method{summary}{bru}(object, ...) } \arguments{ \item{object}{An object obtained from a \link{bru} or \link{lgcp} call} \item{...}{ignored a...
clean_who_number_spaces <- function(x){ library(stringr) library(dplyr) x <- str_replace_all(x, " ", "") x } pull_out_rate <- function(x){ library(stringr) library(dplyr) x <- str_extract(x, "[0-9 .]+\\[") %>% str_replace_all("[ \\[]", "") x } pull_out_lower_bound <- function(x){ library(stringr) l...
/code/Cai-functions.R
no_license
buyske/msds597-week08
R
false
false
717
r
clean_who_number_spaces <- function(x){ library(stringr) library(dplyr) x <- str_replace_all(x, " ", "") x } pull_out_rate <- function(x){ library(stringr) library(dplyr) x <- str_extract(x, "[0-9 .]+\\[") %>% str_replace_all("[ \\[]", "") x } pull_out_lower_bound <- function(x){ library(stringr) l...
# code adapted from bayesiantools package # https://github.com/florianhartig/BayesianTools/R/classMcmcSamplerList.R summary.mcmc <- function(object, ...){ #codaChain = getSample(sampler, parametersOnly = parametersOnly, coda = T, ...) #summary(codaChain) #rejectionRate(sampler$codaChain) #effectiveSize(sample...
/R/mcmcsummary.R
no_license
Geidelberg/variantAnalysis
R
false
false
8,194
r
# code adapted from bayesiantools package # https://github.com/florianhartig/BayesianTools/R/classMcmcSamplerList.R summary.mcmc <- function(object, ...){ #codaChain = getSample(sampler, parametersOnly = parametersOnly, coda = T, ...) #summary(codaChain) #rejectionRate(sampler$codaChain) #effectiveSize(sample...
library(stylo) ### Name: rolling.classify ### Title: Sequential machine-learning classification ### Aliases: rolling.classify ### ** Examples ## Not run: ##D # standard usage (it builds a corpus from a collection of text files): ##D rolling.classify() ##D ##D rolling.classify(training.frequencies = "freqs_train.t...
/data/genthat_extracted_code/stylo/examples/rolling.classify.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
451
r
library(stylo) ### Name: rolling.classify ### Title: Sequential machine-learning classification ### Aliases: rolling.classify ### ** Examples ## Not run: ##D # standard usage (it builds a corpus from a collection of text files): ##D rolling.classify() ##D ##D rolling.classify(training.frequencies = "freqs_train.t...
# IV approach ------------------------------------------------------------- # mark as treated wards where at least one person reports attending an # IPC session treated_wards <- el %>% group_by(ward, Z) %>% summarise( treated = as.numeric(mean(ipc_attend) > 0) ) %>% ungroup() %>% select(-Z) # merge co...
/5_secondary_analyses/complier_average_effects.R
no_license
PovertyAction/Maximum-Diva
R
false
false
3,321
r
# IV approach ------------------------------------------------------------- # mark as treated wards where at least one person reports attending an # IPC session treated_wards <- el %>% group_by(ward, Z) %>% summarise( treated = as.numeric(mean(ipc_attend) > 0) ) %>% ungroup() %>% select(-Z) # merge co...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/ssm_operations.R \name{ssm_describe_patch_group_state} \alias{ssm_describe_patch_group_state} \title{Returns high-level aggregated patch compliance state for a patch group} \usage{ ssm_describe_patch_group_state(PatchGroup) } \arguments{ \ite...
/cran/paws.management/man/ssm_describe_patch_group_state.Rd
permissive
TWarczak/paws
R
false
true
1,064
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/ssm_operations.R \name{ssm_describe_patch_group_state} \alias{ssm_describe_patch_group_state} \title{Returns high-level aggregated patch compliance state for a patch group} \usage{ ssm_describe_patch_group_state(PatchGroup) } \arguments{ \ite...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/utils.R \name{print.latexexpression} \alias{print.latexexpression} \title{Print an expression returned by TeX()} \usage{ \method{print}{latexexpression}(x, ...) } \arguments{ \item{x}{Object to print} \item{...}{Ignored} } \description{ Prin...
/man/print.latexexpression.Rd
permissive
stefano-meschiari/latex2exp
R
false
true
413
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/utils.R \name{print.latexexpression} \alias{print.latexexpression} \title{Print an expression returned by TeX()} \usage{ \method{print}{latexexpression}(x, ...) } \arguments{ \item{x}{Object to print} \item{...}{Ignored} } \description{ Prin...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/sex_inclusive.R \name{sex_inclusive} \alias{sex_inclusive} \alias{gender_inclusive} \title{Generate Random Vector of Non-Binary Genders} \usage{ sex_inclusive( n, x = c("Male", "Female", "Intersex"), prob = NULL, name = "Sex" ) gende...
/man/sex_inclusive.Rd
no_license
cran/wakefield
R
false
true
2,820
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/sex_inclusive.R \name{sex_inclusive} \alias{sex_inclusive} \alias{gender_inclusive} \title{Generate Random Vector of Non-Binary Genders} \usage{ sex_inclusive( n, x = c("Male", "Female", "Intersex"), prob = NULL, name = "Sex" ) gende...
% Generated by roxygen2 (4.1.1): do not edit by hand % Please edit documentation in R/get_kelly_seq.R \name{get_kelly_seq} \alias{get_kelly_seq} \title{Get Kelly Sequence from price relatives} \usage{ get_kelly_seq(x) } \arguments{ \item{x}{Matrix of price relatives (rows=time, columns=assets)} } \value{ Matrix, where ...
/man/get_kelly_seq.Rd
permissive
tsurf101/olpsR
R
false
false
778
rd
% Generated by roxygen2 (4.1.1): do not edit by hand % Please edit documentation in R/get_kelly_seq.R \name{get_kelly_seq} \alias{get_kelly_seq} \title{Get Kelly Sequence from price relatives} \usage{ get_kelly_seq(x) } \arguments{ \item{x}{Matrix of price relatives (rows=time, columns=assets)} } \value{ Matrix, where ...
## Name: Elizabeth Lee ## Date: 10/26/15 ## Function: perform periodic regression on the detrended relative ilic (ilicDt) ## ilicDt metric defined: after using loess smoother to generate fitted values during summer weeks, we divided observed ilic by smoothed loess fits for entire time series ## used write_loess_fits_I...
/programs/write_periodicReg_fits_ilicDt_Octfit.R
no_license
Qasim-1develop/flu-SDI-dzBurden-drivers
R
false
false
3,373
r
## Name: Elizabeth Lee ## Date: 10/26/15 ## Function: perform periodic regression on the detrended relative ilic (ilicDt) ## ilicDt metric defined: after using loess smoother to generate fitted values during summer weeks, we divided observed ilic by smoothed loess fits for entire time series ## used write_loess_fits_I...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/main_functions.R \name{bin_cumulative} \alias{bin_cumulative} \title{Cumulative Distribution} \usage{ bin_cumulative(trials, prob) } \arguments{ \item{trials}{number of trials} \item{prob}{probability of success} } \value{ cumulative distrib...
/binomial/man/bin_cumulative.Rd
no_license
stat133-sp19/hw-stat133-ewendai
R
false
true
500
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/main_functions.R \name{bin_cumulative} \alias{bin_cumulative} \title{Cumulative Distribution} \usage{ bin_cumulative(trials, prob) } \arguments{ \item{trials}{number of trials} \item{prob}{probability of success} } \value{ cumulative distrib...
#' Private functions that move or delete a file #' #' @param name #' Name of the file (without extension) #' @param newDir #' Directory where to move a file #' @param subdir #' Subdirectory of the file #' @param extension #' Extension of the file #' @param mainDir #' Main directory ("scripts", "data" , "outpu...
/R/helpers.R
permissive
envima/tpEnvima
R
false
false
3,956
r
#' Private functions that move or delete a file #' #' @param name #' Name of the file (without extension) #' @param newDir #' Directory where to move a file #' @param subdir #' Subdirectory of the file #' @param extension #' Extension of the file #' @param mainDir #' Main directory ("scripts", "data" , "outpu...
`is.quantitative` <- function(formula, data){ cl <- match.call() mf <- match.call(expand.dots = FALSE) m0 <- match(c("formula", "data"), names(mf), 0) mf <- mf[c(1, m0)] mf[[1]] <- as.name("model.frame") mf <- eval(mf, parent.frame()) ans<-length(table(unique(mf[,1])))>2 ans }
/R/is.quantitative.R
no_license
isglobal-brge/SNPassoc
R
false
false
311
r
`is.quantitative` <- function(formula, data){ cl <- match.call() mf <- match.call(expand.dots = FALSE) m0 <- match(c("formula", "data"), names(mf), 0) mf <- mf[c(1, m0)] mf[[1]] <- as.name("model.frame") mf <- eval(mf, parent.frame()) ans<-length(table(unique(mf[,1])))>2 ans }
globalVariables(c(":=", "!!", ".SD", "Group", "orig_order_to_delte", "keep_order_xy", ".N")) #' Initialise an NN table #' #' @param page_size \code{list} containing page.length and page.width dictating #' the number of lines and number of characters on the page #' @param .data \code{data.frame} to output as table #'...
/R/NNTable.R
permissive
NNpackages/NNtable
R
false
false
17,050
r
globalVariables(c(":=", "!!", ".SD", "Group", "orig_order_to_delte", "keep_order_xy", ".N")) #' Initialise an NN table #' #' @param page_size \code{list} containing page.length and page.width dictating #' the number of lines and number of characters on the page #' @param .data \code{data.frame} to output as table #'...
\name{design.lattice} \alias{design.lattice} %- design.lattice. \title{ Lattice designs } \description{ SIMPLE and TRIPLE lattice designs. It randomizes treatments in k x k lattice. } \usage{ design.lattice(trt, r=3, serie = 2, seed = 0, kinds = "Super-Duper") } \arguments{ \item{trt}{ treatments } ...
/man/design.lattice.Rd
no_license
velanati/agricolae
R
false
false
1,578
rd
\name{design.lattice} \alias{design.lattice} %- design.lattice. \title{ Lattice designs } \description{ SIMPLE and TRIPLE lattice designs. It randomizes treatments in k x k lattice. } \usage{ design.lattice(trt, r=3, serie = 2, seed = 0, kinds = "Super-Duper") } \arguments{ \item{trt}{ treatments } ...
#' Do gsea #' #' @param gene_set pathway information, the path of gmt file #' @param dt dataframe contain gene id (gene_id) and rank statistics (stat) #' @param gene_id colname of gene_id #' @param stat colname of stat #' #' @return ES #' @export #' #' @examples #' res <- deg_deseq2(count_df,control_label="ctrl",contro...
/R/do_gsea.R
permissive
KKAres/Easy_Bioinfo
R
false
false
943
r
#' Do gsea #' #' @param gene_set pathway information, the path of gmt file #' @param dt dataframe contain gene id (gene_id) and rank statistics (stat) #' @param gene_id colname of gene_id #' @param stat colname of stat #' #' @return ES #' @export #' #' @examples #' res <- deg_deseq2(count_df,control_label="ctrl",contro...
#-- script to parse scan samples --# # data <- read.csv("~/Dropbox/HCSummer2014/ScanSamples/ScansToParse_150324.csv", header = T) #----------------------------------# #-- look at time by date by pop ---# #----------------------------------# # data$TimePosix0 <- strptime(data$Time, "%H:%M:%S %p", tz = "") # TimesToLabe...
/R/ScanSampleSetUp.R
no_license
kmanlove/SheepBehavior
R
false
false
15,652
r
#-- script to parse scan samples --# # data <- read.csv("~/Dropbox/HCSummer2014/ScanSamples/ScansToParse_150324.csv", header = T) #----------------------------------# #-- look at time by date by pop ---# #----------------------------------# # data$TimePosix0 <- strptime(data$Time, "%H:%M:%S %p", tz = "") # TimesToLabe...
% Generated by roxygen2 (4.0.2): do not edit by hand \name{is.nrrd} \alias{is.nrrd} \title{Check if a file is a NRRD file} \usage{ is.nrrd(f, ReturnVersion = FALSE, TrustSuffix = FALSE) } \arguments{ \item{f}{A character vector specifying the path or a raw vector with at least 8 bytes.} \item{ReturnVersion}{Whet...
/man/is.nrrd.Rd
no_license
mnqslbs2/nat
R
false
false
714
rd
% Generated by roxygen2 (4.0.2): do not edit by hand \name{is.nrrd} \alias{is.nrrd} \title{Check if a file is a NRRD file} \usage{ is.nrrd(f, ReturnVersion = FALSE, TrustSuffix = FALSE) } \arguments{ \item{f}{A character vector specifying the path or a raw vector with at least 8 bytes.} \item{ReturnVersion}{Whet...
shinyServer(function(input, output) { values <- reactiveValues() observe({ #Primer portafolio if(!is.null(input$primerportafolio)){ values[["previousprimer"]] <- isolate(values[["df"]]) df <- hot_to_r(input$primerportafolio) } else { if(is.null(values[["df"]])) df <- df ...
/server.R
no_license
CIAssetManagement/ModelosCarteras
R
false
false
22,001
r
shinyServer(function(input, output) { values <- reactiveValues() observe({ #Primer portafolio if(!is.null(input$primerportafolio)){ values[["previousprimer"]] <- isolate(values[["df"]]) df <- hot_to_r(input$primerportafolio) } else { if(is.null(values[["df"]])) df <- df ...
testlist <- list(m = NULL, repetitions = 0L, in_m = structure(c(2.31584178474843e+77, 9.53818252170339e+295, 1.22810536108214e+146, 4.12396251261199e-221, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), .Dim = c(8L, 3L))) result <- do.call(CNull:::communities_individual_based_sampling_alpha,testlist) st...
/CNull/inst/testfiles/communities_individual_based_sampling_alpha/AFL_communities_individual_based_sampling_alpha/communities_individual_based_sampling_alpha_valgrind_files/1615784740-test.R
no_license
akhikolla/updatedatatype-list2
R
false
false
329
r
testlist <- list(m = NULL, repetitions = 0L, in_m = structure(c(2.31584178474843e+77, 9.53818252170339e+295, 1.22810536108214e+146, 4.12396251261199e-221, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), .Dim = c(8L, 3L))) result <- do.call(CNull:::communities_individual_based_sampling_alpha,testlist) st...
# Copyright 2018 IBM Corp. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, so...
/R/wiring_diagram.R
permissive
conceptslearningmachine-FEIN-85-1759293/rflowgraph
R
false
false
8,475
r
# Copyright 2018 IBM Corp. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, so...
c DCNF-Autarky [version 0.0.1]. c Copyright (c) 2018-2019 Swansea University. c c Input Clause Count: 13 c Performing E1-Autarky iteration. c Input Parameter (command line, file): c input filename QBFLIB/Jordan-Kaiser/reduction-finding-full-set-params-k1c3n4/query50_query23_1344n.qdimacs c output filename /tmp/d...
/code/dcnf-ankit-optimized/Results/QBFLIB-2018/E1/Experiments/Jordan-Kaiser/reduction-finding-full-set-params-k1c3n4/query50_query23_1344n/query50_query23_1344n.R
no_license
arey0pushpa/dcnf-autarky
R
false
false
696
r
c DCNF-Autarky [version 0.0.1]. c Copyright (c) 2018-2019 Swansea University. c c Input Clause Count: 13 c Performing E1-Autarky iteration. c Input Parameter (command line, file): c input filename QBFLIB/Jordan-Kaiser/reduction-finding-full-set-params-k1c3n4/query50_query23_1344n.qdimacs c output filename /tmp/d...
options(echo=F) # make a list of the summary files from the pipe-line args = commandArgs(trailingOnly = TRUE) out_name=args[1] sfiles=args[2:length(args)] dir=sapply(strsplit(sfiles,"/"),function(x){x[1]}) message("Compiling the results from:") message(paste(dir,collapse=" ")) summary_files=paste(getwd(),sfiles,sep="...
/compile_results.R
no_license
BioinformaticsArchive/JAFFA
R
false
false
2,281
r
options(echo=F) # make a list of the summary files from the pipe-line args = commandArgs(trailingOnly = TRUE) out_name=args[1] sfiles=args[2:length(args)] dir=sapply(strsplit(sfiles,"/"),function(x){x[1]}) message("Compiling the results from:") message(paste(dir,collapse=" ")) summary_files=paste(getwd(),sfiles,sep="...
library(ggplot2) library(dplyr) library(grid) library(ggbeeswarm) library(png) library(gridExtra) BTClinical<-read.table("clinical-311-BT-patients-apr15-2021.txt",header=T,sep="\t") BTClinical.Apr<-readr::read_tsv("clinical-311-BT-patients-apr15-2021.txt") BTClinical<-readr::read_tsv("clinical-311-BT-patients-May6-202...
/NewStandard.R
no_license
tanpuekai/BetaThalassemia
R
false
false
19,319
r
library(ggplot2) library(dplyr) library(grid) library(ggbeeswarm) library(png) library(gridExtra) BTClinical<-read.table("clinical-311-BT-patients-apr15-2021.txt",header=T,sep="\t") BTClinical.Apr<-readr::read_tsv("clinical-311-BT-patients-apr15-2021.txt") BTClinical<-readr::read_tsv("clinical-311-BT-patients-May6-202...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/vaf.R \name{load_vaf_fdr} \alias{load_vaf_fdr} \title{We can see an enrichment of the low vaflr section. We transform the values using the break_points previously defined We can see an enrichment of the low vaflr section. We transform the val...
/man/load_vaf_fdr.Rd
permissive
davidmasp/clustMut
R
false
true
674
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/vaf.R \name{load_vaf_fdr} \alias{load_vaf_fdr} \title{We can see an enrichment of the low vaflr section. We transform the values using the break_points previously defined We can see an enrichment of the low vaflr section. We transform the val...
library(glmnet) mydata = read.table("../../../../TrainingSet/FullSet/Lasso/liver.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.9,family="gaussian",standardize=TRUE) sink('./liver_089.txt',append=TRUE) print(gl...
/Model/EN/Lasso/liver/liver_089.R
no_license
esbgkannan/QSMART
R
false
false
341
r
library(glmnet) mydata = read.table("../../../../TrainingSet/FullSet/Lasso/liver.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.9,family="gaussian",standardize=TRUE) sink('./liver_089.txt',append=TRUE) print(gl...
/Codigo agregacion resultados_new.R
no_license
caosmax/gfsf_project
R
false
false
4,867
r
\name{mcl} \alias{mcl} \title{ Markov Clustering } \description{ \code{mcl} implements the Markov Clustering algorithm (van Dongen, 2000) with a fixed expansion parameter (=2). } \usage{ mcl(m, infl, iter = 1000, remove.self.loops = FALSE, prune = FALSE, thresh = 1e-06, pruning.prob = 1e-06, use.spar...
/man/mcl.Rd
no_license
cran/hbm
R
false
false
2,742
rd
\name{mcl} \alias{mcl} \title{ Markov Clustering } \description{ \code{mcl} implements the Markov Clustering algorithm (van Dongen, 2000) with a fixed expansion parameter (=2). } \usage{ mcl(m, infl, iter = 1000, remove.self.loops = FALSE, prune = FALSE, thresh = 1e-06, pruning.prob = 1e-06, use.spar...
# Load the MNIST digit recognition dataset into R # http://yann.lecun.com/exdb/mnist/ # assume you have all 4 files and gunzip'd them # creates train$n, train$x, train$y and test$n, test$x, test$y # e.g. train$x is a 60000 x 784 matrix, each row is one digit (28x28) # call: show_digit(train$x[5,]) to see a dig...
/static/stat671/hw/hw3/KRR with CV for MNIST.R
permissive
UrbanStudy/stat2019_website
R
false
false
5,363
r
# Load the MNIST digit recognition dataset into R # http://yann.lecun.com/exdb/mnist/ # assume you have all 4 files and gunzip'd them # creates train$n, train$x, train$y and test$n, test$x, test$y # e.g. train$x is a 60000 x 784 matrix, each row is one digit (28x28) # call: show_digit(train$x[5,]) to see a dig...
testlist <- list(a = 0L, b = 4063205L, x = integer(0)) result <- do.call(grattan:::anyOutside,testlist) str(result)
/grattan/inst/testfiles/anyOutside/libFuzzer_anyOutside/anyOutside_valgrind_files/1610387564-test.R
no_license
akhikolla/updated-only-Issues
R
false
false
115
r
testlist <- list(a = 0L, b = 4063205L, x = integer(0)) result <- do.call(grattan:::anyOutside,testlist) str(result)
testlist <- list(A = structure(c(1.38999312085509e-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/1615951700-test.R
no_license
akhikolla/updatedatatype-list3
R
false
false
292
r
testlist <- list(A = structure(c(1.38999312085509e-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)
library(shiny) library(DT) library(shinydashboard) library(shinyWidgets) library(shinyjs) ui <- dashboardPage(skin = "black", dashboardHeader(titleWidth = 200, title = "Spine Pubs" ), #s...
/ui.R
no_license
kristenjn/spine_pubs
R
false
false
4,318
r
library(shiny) library(DT) library(shinydashboard) library(shinyWidgets) library(shinyjs) ui <- dashboardPage(skin = "black", dashboardHeader(titleWidth = 200, title = "Spine Pubs" ), #s...
##### Least cost path between resignts based on elevation and bathymetry #read in packages library(here) library(tidyverse) library(sf) library(rgdal) library(raster) library(forcats) library(lemon) library(lubridate) # add plotting theme themeo <-theme_classic()+ theme(strip.background = element_blank(), ...
/scripts/exploratory/least_cost_path.R
no_license
vanhoutan/seaotter_dispersal
R
false
false
24,512
r
##### Least cost path between resignts based on elevation and bathymetry #read in packages library(here) library(tidyverse) library(sf) library(rgdal) library(raster) library(forcats) library(lemon) library(lubridate) # add plotting theme themeo <-theme_classic()+ theme(strip.background = element_blank(), ...
library(sergeant) ### Name: drill_active ### Title: Test whether Drill HTTP REST API server is up ### Aliases: drill_active ### ** Examples ## Not run: ##D drill_connection() %>% drill_active() ## End(Not run)
/data/genthat_extracted_code/sergeant/examples/drill_active.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
218
r
library(sergeant) ### Name: drill_active ### Title: Test whether Drill HTTP REST API server is up ### Aliases: drill_active ### ** Examples ## Not run: ##D drill_connection() %>% drill_active() ## End(Not run)
#=========================================================================================== # Evaluation of the Type I Error of the Vrd test (Vatavu & Wobbrock, 2015) # Zipfian distributions # Author: Theophanis Tsandilas #====================================================================================== rm...
/section6.within.vatavu2015.Vrd.evaluation.zipf.R
no_license
raduvro/TOCHI-supplementary
R
false
false
3,594
r
#=========================================================================================== # Evaluation of the Type I Error of the Vrd test (Vatavu & Wobbrock, 2015) # Zipfian distributions # Author: Theophanis Tsandilas #====================================================================================== rm...
uiTab <- dashboardPage(skin="blue" ## "blue", "black", "purple", "green", "red", "yellow" ,title="Accenter" # fluidPage(title="Flipper - design and review" ,dashboardHeader(title=paste("Accenter: Geospatial analysis tools for querying" ,c("ArcNet's PACs and")[i...
/resources/uiTab.R
permissive
nplatonov/accenter
R
false
false
10,696
r
uiTab <- dashboardPage(skin="blue" ## "blue", "black", "purple", "green", "red", "yellow" ,title="Accenter" # fluidPage(title="Flipper - design and review" ,dashboardHeader(title=paste("Accenter: Geospatial analysis tools for querying" ,c("ArcNet's PACs and")[i...
\name{wombat} \alias{wombat} \docType{data} \title{ Wombat Capture Count Data } \description{ This is a data set consisting of capture count data published in Banks et al. 2003 from northern hairy-nosed wombats (Lasiorhinus kretii). It is used as an example in the \code{capwire} tutorial. } \usage{ data(wombat) } \form...
/man/wombat.Rd
no_license
cran/capwire
R
false
false
989
rd
\name{wombat} \alias{wombat} \docType{data} \title{ Wombat Capture Count Data } \description{ This is a data set consisting of capture count data published in Banks et al. 2003 from northern hairy-nosed wombats (Lasiorhinus kretii). It is used as an example in the \code{capwire} tutorial. } \usage{ data(wombat) } \form...
#' Sanitize for DiagrammeR #' #' Basically a wrapper for [gsub()] to sanitize a string for #' DiagrammeR #' #' @param x The string or vector #' @param regExReplacements A list of two-element character vectors; first element #' should be the element to search, and the second element, the replacement. #' #' @ret...
/R/sanitize_for_DiagrammeR.R
no_license
cran/justifier
R
false
false
747
r
#' Sanitize for DiagrammeR #' #' Basically a wrapper for [gsub()] to sanitize a string for #' DiagrammeR #' #' @param x The string or vector #' @param regExReplacements A list of two-element character vectors; first element #' should be the element to search, and the second element, the replacement. #' #' @ret...
chuva <- read.csv2("Climatologicos_MM.csv") chuva <- transform(chuva, MES = factor(MES, levels = c("JAN", "FEV", "MAR", "ABR", "MAI","JUN", "JUL", "AGO", "SET", ...
/18/app.R
no_license
clobos/Renata_Cristian_Clarice
R
false
false
3,364
r
chuva <- read.csv2("Climatologicos_MM.csv") chuva <- transform(chuva, MES = factor(MES, levels = c("JAN", "FEV", "MAR", "ABR", "MAI","JUN", "JUL", "AGO", "SET", ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/missing.r \name{check_missing} \alias{check_missing} \title{Check for Missing Values} \usage{ check_missing( recipe, ..., role = NA, trained = FALSE, columns = NULL, skip = FALSE, id = rand_id("missing") ) } \arguments{ \item{re...
/man/check_missing.Rd
permissive
jonthegeek/recipes
R
false
true
2,667
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/missing.r \name{check_missing} \alias{check_missing} \title{Check for Missing Values} \usage{ check_missing( recipe, ..., role = NA, trained = FALSE, columns = NULL, skip = FALSE, id = rand_id("missing") ) } \arguments{ \item{re...
rm( list=ls() ) sig2hets <- c( 0, .01, .03, .1, .3 ) types <- c( 'N1e3','N3e3','base','N3e4','N1e5') names(sig2hets) <- types sig2homs <- c( .04, .004 ) S <- 12 P <- 30 P_bin <- 3 maxit <- 300 methods <- c( 'mfmr_fast', 'cca-Y', 'oracle', 'mvgmmq' ) mfmrmeth <- methods[1] Me <- length( methods ) meths = c(...
/sims/vary_sig2het/setup.R
no_license
andywdahl/rgwas-scripts
R
false
false
514
r
rm( list=ls() ) sig2hets <- c( 0, .01, .03, .1, .3 ) types <- c( 'N1e3','N3e3','base','N3e4','N1e5') names(sig2hets) <- types sig2homs <- c( .04, .004 ) S <- 12 P <- 30 P_bin <- 3 maxit <- 300 methods <- c( 'mfmr_fast', 'cca-Y', 'oracle', 'mvgmmq' ) mfmrmeth <- methods[1] Me <- length( methods ) meths = c(...
library(AnalyzeTS) ### Name: Dgroup ### Title: Discriptives Follow Groups ### Aliases: Dgroup ### ** Examples #Factor date date<-as.factor(c("Tue","Wed","Thu","Fri","Mon","Tue","Wed","Thu","Fri","Mon", "Tue","Wed","Thu","Fri","Mon","Tue","Wed","Thu","Fri","Mon","Tue","Wed","Thu", "Fri","Mon","Tue","Wed","Thu","Fri"...
/data/genthat_extracted_code/AnalyzeTS/examples/Dgroup.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
1,075
r
library(AnalyzeTS) ### Name: Dgroup ### Title: Discriptives Follow Groups ### Aliases: Dgroup ### ** Examples #Factor date date<-as.factor(c("Tue","Wed","Thu","Fri","Mon","Tue","Wed","Thu","Fri","Mon", "Tue","Wed","Thu","Fri","Mon","Tue","Wed","Thu","Fri","Mon","Tue","Wed","Thu", "Fri","Mon","Tue","Wed","Thu","Fri"...
# Rfacebook package required install_github("Rfacebook", "pablobarbera", subdir="Rfacebook") # Dependency for Rfacebook library(devtools) library(Rfacebook) # Copy and paste the token generated and pass it to the token variable token<- "paste your token here" # Pass your user ID to the function "getUsers"...
/book/packt/Mastering.Social.Media.Mining.with.R/Chapter3/B03973_Chapter3_RCode.R
no_license
xenron/sandbox-da-r
R
false
false
10,116
r
# Rfacebook package required install_github("Rfacebook", "pablobarbera", subdir="Rfacebook") # Dependency for Rfacebook library(devtools) library(Rfacebook) # Copy and paste the token generated and pass it to the token variable token<- "paste your token here" # Pass your user ID to the function "getUsers"...
# regression with 2 predictor variables library(tidyverse) library(plotly) # make some random data for the heiught (t) of people based on their age (x1) and weight(x2) x1_min <- 5 x1_max <- 30 x2_min <- 40 x2_max <- 75 x_n <- 20 # expand the model to predict height (t) from age (x1) and weight (x2) # make some d...
/regression with 2 predictors.R
no_license
matsutakehoyo/machine-learning
R
false
false
4,545
r
# regression with 2 predictor variables library(tidyverse) library(plotly) # make some random data for the heiught (t) of people based on their age (x1) and weight(x2) x1_min <- 5 x1_max <- 30 x2_min <- 40 x2_max <- 75 x_n <- 20 # expand the model to predict height (t) from age (x1) and weight (x2) # make some d...
library(readr) library(ROCR) library(xgboost) library(parallel) library(Matrix) set.seed(123) d_train <- read_csv("train-0.1m.csv") d_valid <- read_csv("valid.csv") d_test <- read_csv("test.csv") for (k in c("Month","DayofMonth","DayOfWeek","UniqueCarrier","Origin","Dest","dep_delayed_15min")) { d_train[[k]] <- as...
/3-boosting/0-xgboost-init-grid.R
no_license
xuanhan863/benchm-ml
R
false
false
1,889
r
library(readr) library(ROCR) library(xgboost) library(parallel) library(Matrix) set.seed(123) d_train <- read_csv("train-0.1m.csv") d_valid <- read_csv("valid.csv") d_test <- read_csv("test.csv") for (k in c("Month","DayofMonth","DayOfWeek","UniqueCarrier","Origin","Dest","dep_delayed_15min")) { d_train[[k]] <- as...
#' write_pao #' #' Write occupancy and climate data for program Presence #' @param alpha Four letter alpha code for the species of interest #' @return A .pao file containing the detection histories, covariates, and summary information to input into Presence #' @export write_pao <- function(alpha){ dat <- readRDS(p...
/R/write_pao.R
no_license
crushing05/BayesCorrOcc
R
false
false
1,815
r
#' write_pao #' #' Write occupancy and climate data for program Presence #' @param alpha Four letter alpha code for the species of interest #' @return A .pao file containing the detection histories, covariates, and summary information to input into Presence #' @export write_pao <- function(alpha){ dat <- readRDS(p...
#' Calculate the sums if squares of a sample #' #' Returns the sum of the squared deviations #' from mean, SS(x) of a numeric vector #' #' @param value numeric vector #' #' @return number #' @export #' #' @examples #' sum_squares(rnorm(50)) sum_squares <- function(value) { sum((value - mean(value))^2) }
/R/sum_squares.R
permissive
euweiss/mypackage
R
false
false
307
r
#' Calculate the sums if squares of a sample #' #' Returns the sum of the squared deviations #' from mean, SS(x) of a numeric vector #' #' @param value numeric vector #' #' @return number #' @export #' #' @examples #' sum_squares(rnorm(50)) sum_squares <- function(value) { sum((value - mean(value))^2) }
#Create correlation maps for PCs and 500mb heights library(maps) #library(akima) #library(fields) #Correlate a principal component with 1 value for each year (restrict to final 69 values) # to 500mb at each ocean gridpoint containing SST data (69 values) #See Import_NCEI_T_data.R, Import_NCEI_precip_data.R, P...
/PCA_500mb_cor_map.R
no_license
bendabel/SEPPR_hydroclimate_variability
R
false
false
4,980
r
#Create correlation maps for PCs and 500mb heights library(maps) #library(akima) #library(fields) #Correlate a principal component with 1 value for each year (restrict to final 69 values) # to 500mb at each ocean gridpoint containing SST data (69 values) #See Import_NCEI_T_data.R, Import_NCEI_precip_data.R, P...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/sigpro.R \name{install} \alias{install} \title{Title} \usage{ install(genome, custom = F, rsync = F, bash = T, ftp = T) } \arguments{ \item{ftp}{} } \description{ Title }
/man/install.Rd
permissive
AlexandrovLab/SigProfilerExtractorR
R
false
true
249
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/sigpro.R \name{install} \alias{install} \title{Title} \usage{ install(genome, custom = F, rsync = F, bash = T, ftp = T) } \arguments{ \item{ftp}{} } \description{ Title }
# ------------------------------------------------------------------ # The Computer Language Shootout # http://shootout.alioth.debian.org/ # # Contributed by Leo Osvald # # Original Loc: https://github.com/allr/fastr/blob/master/test/r/shootout/spectralnorm/ # Modified to be compatible with rbenchmark interface # -----...
/shootout/spectral-norm/spectral-norm-native.R
permissive
o-/benchmarks
R
false
false
1,383
r
# ------------------------------------------------------------------ # The Computer Language Shootout # http://shootout.alioth.debian.org/ # # Contributed by Leo Osvald # # Original Loc: https://github.com/allr/fastr/blob/master/test/r/shootout/spectralnorm/ # Modified to be compatible with rbenchmark interface # -----...
# install.packages('keras') # install.packages('purrr') # install.packages('functional') library(MASS) library(caret) library(fGarch) library(fitdistrplus) library(pracma) library(BBmisc) library(functional) library(dplyr) library(keras) library(lubridate) library(tensorflow) Sys.sleep(5) install_tensorflow(restart_se...
/code0.1_1000/Model2_helpdesk.R
no_license
jonghyeonk/OnlineAnomalyDetection_Extended
R
false
false
50,484
r
# install.packages('keras') # install.packages('purrr') # install.packages('functional') library(MASS) library(caret) library(fGarch) library(fitdistrplus) library(pracma) library(BBmisc) library(functional) library(dplyr) library(keras) library(lubridate) library(tensorflow) Sys.sleep(5) install_tensorflow(restart_se...
## A critical look at bulk density changes setwd('C:\\Users\\Devin\\Documents\\Soil data') # Bulk density: #BD=read.csv('revised_BD_8-16-17.csv') BD=read.csv('revised_BD_7-19-18.csv') head(BD) BD$ID=paste(BD$Sample,'16',sep='.') # note that this column will not be accurate in the final dataset BD=strfun(BD) BD=eltfu...
/BD_revisit_9-18.R
no_license
devinemcmahon/soil_analysis
R
false
false
4,742
r
## A critical look at bulk density changes setwd('C:\\Users\\Devin\\Documents\\Soil data') # Bulk density: #BD=read.csv('revised_BD_8-16-17.csv') BD=read.csv('revised_BD_7-19-18.csv') head(BD) BD$ID=paste(BD$Sample,'16',sep='.') # note that this column will not be accurate in the final dataset BD=strfun(BD) BD=eltfu...