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
setwd("/100/AD/AD_Seq_Data/05.-Analyses/06-Aquilla_202101/06-Aquilla_202101-a/01-Aquilla-preQC/03-PLINK-QC-files4/ADMIXTURE") df <- read.table("cv_error.txt", header = T) library(ggplot2) ggplot(data=df, aes(x=K, y=Error)) + geom_line() ggsave("ADMIXTURE-CV-FASE.jpg", plot = last_plot(), device = NULL, scale = 1, widt...
/WashU_codes/ADMIXTURE.r
no_license
achalneupane/rcodes
R
false
false
2,439
r
setwd("/100/AD/AD_Seq_Data/05.-Analyses/06-Aquilla_202101/06-Aquilla_202101-a/01-Aquilla-preQC/03-PLINK-QC-files4/ADMIXTURE") df <- read.table("cv_error.txt", header = T) library(ggplot2) ggplot(data=df, aes(x=K, y=Error)) + geom_line() ggsave("ADMIXTURE-CV-FASE.jpg", plot = last_plot(), device = NULL, scale = 1, widt...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/BSDA-package.R \docType{data} \name{Entrance} \alias{Entrance} \title{College entrance exam scores for 24 high school seniors} \format{A data frame/tibble with 24 observations on one variable \describe{ \item{score}{college entrance exam sco...
/man/Entrance.Rd
no_license
nebsnave/BSDA
R
false
true
560
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/BSDA-package.R \docType{data} \name{Entrance} \alias{Entrance} \title{College entrance exam scores for 24 high school seniors} \format{A data frame/tibble with 24 observations on one variable \describe{ \item{score}{college entrance exam sco...
library(kwai) source("../R/compile.R") source("../R/inferType.R") source("../R/createIR2.R") source("../R/visitStackMachine3.R") source("../R/llvm_native_helper.R") source("../R/discoverBlocks.R") myfunction2 <-function(a) { qq=if (a>2) { -1 } else { a } return(qq) } #debug(inferType2) llvmFunc=byte2llv...
/test/test3.R
no_license
doktorschiwago/kwai
R
false
false
396
r
library(kwai) source("../R/compile.R") source("../R/inferType.R") source("../R/createIR2.R") source("../R/visitStackMachine3.R") source("../R/llvm_native_helper.R") source("../R/discoverBlocks.R") myfunction2 <-function(a) { qq=if (a>2) { -1 } else { a } return(qq) } #debug(inferType2) llvmFunc=byte2llv...
\name{box_plot} \alias{box plot} \title{Box plot of the data} \usage{ box_plot(x,...) } \description{ Visulaising the data as a box plot, with customised colour with orange colour gradient and horizontal arrangement. } \arguments{ \item{x}{ data that has been imported as matrix. } } \note{ The data to be imported...
/man/box_plot.Rd
no_license
SanthoshKumarKarthikeyan/skkr
R
false
false
405
rd
\name{box_plot} \alias{box plot} \title{Box plot of the data} \usage{ box_plot(x,...) } \description{ Visulaising the data as a box plot, with customised colour with orange colour gradient and horizontal arrangement. } \arguments{ \item{x}{ data that has been imported as matrix. } } \note{ The data to be imported...
#Lista di tutti gli stem datahere = "C:/Users/Marco/Desktop/IR3" setwd(datahere) path="output.txt" pesi=read.table(text=readLines(path)) #Assegnazione del nome delle variabili names(pesi)=c("stem","doc","peso") #Vettore con tutti gli stems (unici e mai ripetuti) listastems=unique(pesi[, "stem"]) #Matrice con tutti I p...
/IR3/Prova.r
no_license
mabarich/Information-Retrieval
R
false
false
2,205
r
#Lista di tutti gli stem datahere = "C:/Users/Marco/Desktop/IR3" setwd(datahere) path="output.txt" pesi=read.table(text=readLines(path)) #Assegnazione del nome delle variabili names(pesi)=c("stem","doc","peso") #Vettore con tutti gli stems (unici e mai ripetuti) listastems=unique(pesi[, "stem"]) #Matrice con tutti I p...
library(glmnet) mydata = read.table("../../../../TrainingSet/FullSet/Correlation/stomach.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.95,family="gaussian",standardize=FALSE) sink('./stomach_094.txt',append=TR...
/Model/EN/Correlation/stomach/stomach_094.R
no_license
esbgkannan/QSMART
R
false
false
353
r
library(glmnet) mydata = read.table("../../../../TrainingSet/FullSet/Correlation/stomach.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.95,family="gaussian",standardize=FALSE) sink('./stomach_094.txt',append=TR...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/fipe.R \name{fipe_vehicle} \alias{fipe_vehicle} \title{Access to the Fipe Database} \usage{ fipe_vehicle(model, make = NULL, year = NULL, date = Sys.Date(), progress = FALSE, parallel = FALSE) } \arguments{ \item{model}{a characte...
/man/fipe_vehicle.Rd
no_license
cran/fipe
R
false
true
1,630
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/fipe.R \name{fipe_vehicle} \alias{fipe_vehicle} \title{Access to the Fipe Database} \usage{ fipe_vehicle(model, make = NULL, year = NULL, date = Sys.Date(), progress = FALSE, parallel = FALSE) } \arguments{ \item{model}{a characte...
# Cleaning library(here) library(tidyverse) # read raw data gva1 <- read_csv(here("data", "2013-02-11 - 2017-03-18.csv"), col_types = list("Incident Date" = col_datetime(format = "%B %d, %Y"))) gva2 <- read_csv(here("data", "2017-03-12 - 2021-10-27.csv"), col_types = list("Incident Da...
/r/clean.R
permissive
de-data-lab/delaware-gun-violence
R
false
false
1,447
r
# Cleaning library(here) library(tidyverse) # read raw data gva1 <- read_csv(here("data", "2013-02-11 - 2017-03-18.csv"), col_types = list("Incident Date" = col_datetime(format = "%B %d, %Y"))) gva2 <- read_csv(here("data", "2017-03-12 - 2021-10-27.csv"), col_types = list("Incident Da...
### Function tidyContrasts ### #' Function tidyContrasts #' #' Takes a DGEobj or contrast list as input and merges them into one tidy dataframe. #' A contrast list is simply a list of topTable contrast dataframes. For #' example, DGEobj::getType(mydgeobj, "topTable") would retrieve a list of #' contrasts from a DGEobj...
/R/tidyContrasts.R
no_license
jrthompson54/DGE.Tools2
R
false
false
3,523
r
### Function tidyContrasts ### #' Function tidyContrasts #' #' Takes a DGEobj or contrast list as input and merges them into one tidy dataframe. #' A contrast list is simply a list of topTable contrast dataframes. For #' example, DGEobj::getType(mydgeobj, "topTable") would retrieve a list of #' contrasts from a DGEobj...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/readingandfes.R \name{summary.hillsfile3d} \alias{summary.hillsfile3d} \title{Print summary for hillsfile3d} \usage{ \method{summary}{hillsfile3d}(object, ...) } \arguments{ \item{object}{hillsfile3d object.} \item{...}{further arguments pas...
/metadynminer3d/man/summary.hillsfile3d.Rd
no_license
akhikolla/InformationHouse
R
false
true
509
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/readingandfes.R \name{summary.hillsfile3d} \alias{summary.hillsfile3d} \title{Print summary for hillsfile3d} \usage{ \method{summary}{hillsfile3d}(object, ...) } \arguments{ \item{object}{hillsfile3d object.} \item{...}{further arguments pas...
#' Calculates Individual Variable Profiles aka Ceteris Paribus Profiles #' #' This explainer works for individual observations. #' For each observation it calculates Individual Variable Profiles for selected variables. #' For this reason it is also called 'Local Profile Plot'. #' #' @param x a model to be explained, or...
/R/ceteris_paribus.R
no_license
ModelOriented/ceterisParibus2
R
false
false
6,432
r
#' Calculates Individual Variable Profiles aka Ceteris Paribus Profiles #' #' This explainer works for individual observations. #' For each observation it calculates Individual Variable Profiles for selected variables. #' For this reason it is also called 'Local Profile Plot'. #' #' @param x a model to be explained, or...
.onLoad <- function(libname, pkgname) { modules <- paste0("stan_fit4", names(stanmodels), "_mod") for (m in modules) loadModule(m, what=TRUE) }
/fuzzedpackages/bayes4psy/R/zzz.R
no_license
akhikolla/testpackages
R
false
false
152
r
.onLoad <- function(libname, pkgname) { modules <- paste0("stan_fit4", names(stanmodels), "_mod") for (m in modules) loadModule(m, what=TRUE) }
Synthetic_data_MT <- function(k) { ### Load MARKERS ### MARKERS <- read.csv('data_csv/synthetic/markers_synthetic.csv') rownames(MARKERS) <- MARKERS[,1] MARKERS <- MARKERS[,-1] ### Load PHENO ### PHENO <- read.csv(paste0('data_csv/synthetic/pheno_synthetic_mt_', k, '.csv')) PHENO <- PHENO[,-1] row...
/BDE_data/Synthetic_data_MT.R
no_license
aho25/GS_BDE
R
false
false
988
r
Synthetic_data_MT <- function(k) { ### Load MARKERS ### MARKERS <- read.csv('data_csv/synthetic/markers_synthetic.csv') rownames(MARKERS) <- MARKERS[,1] MARKERS <- MARKERS[,-1] ### Load PHENO ### PHENO <- read.csv(paste0('data_csv/synthetic/pheno_synthetic_mt_', k, '.csv')) PHENO <- PHENO[,-1] row...
#Spp Machine Learning in R - Project 2 #Predicting whether a loan application is SUCCESS OR NOT #-------------------------------------------------------- loan.df <- read.csv("D:\\001_Data\\Not Completed\\1R -Loan Prediction Dataset\\Loan Prediction Dataset.csv") loan.df <- loan.df[-1] #Dropping the loanID column ...
/SPP_ML_2_Loan Outcome Predictions.R
no_license
drdataSpp/Spp-Machine-Learning-using-R
R
false
false
4,995
r
#Spp Machine Learning in R - Project 2 #Predicting whether a loan application is SUCCESS OR NOT #-------------------------------------------------------- loan.df <- read.csv("D:\\001_Data\\Not Completed\\1R -Loan Prediction Dataset\\Loan Prediction Dataset.csv") loan.df <- loan.df[-1] #Dropping the loanID column ...
termMeans <- function(mod, term, label.factors=FALSE, abbrev.levels=FALSE){ data <- model.frame(mod) Y <- model.response(data) factors <- data[, sapply(data, is.factor), drop=FALSE] if (missing(term)) stop("a term must be supplied") term.factors <- unlist(strsplit(term, ":")) if (any(which <- !term.factors ...
/R/termMeans.R
no_license
friendly/heplots
R
false
false
1,100
r
termMeans <- function(mod, term, label.factors=FALSE, abbrev.levels=FALSE){ data <- model.frame(mod) Y <- model.response(data) factors <- data[, sapply(data, is.factor), drop=FALSE] if (missing(term)) stop("a term must be supplied") term.factors <- unlist(strsplit(term, ":")) if (any(which <- !term.factors ...
library(tidyverse) library(fantasypros) df <- read_csv('data-raw/2020-draft-results.csv') %>% group_by(pos) %>% mutate( draft_as_rank = min_rank(desc(draft_amount)), rank_diff = pos_rank - draft_as_rank ) %>% transmute( draft_pick, draft_team, player, team, pos, tier, ranked_as = paste0(po...
/R/01-draft-values.R
no_license
jpiburn/tsu
R
false
false
1,453
r
library(tidyverse) library(fantasypros) df <- read_csv('data-raw/2020-draft-results.csv') %>% group_by(pos) %>% mutate( draft_as_rank = min_rank(desc(draft_amount)), rank_diff = pos_rank - draft_as_rank ) %>% transmute( draft_pick, draft_team, player, team, pos, tier, ranked_as = paste0(po...
# Find similar players ------------------------------ # # Using t-sne algorithm, find players that have similar characteristics to a given player. # The objective is to predict his performance in a given year based on the historical performance # of similar players (see: Nate Silver's CARMELO or PECOTA systems) # # Ex:...
/helper_functions/similarityFunctionsRookies.R
no_license
asRodelgo/NBA
R
false
false
9,600
r
# Find similar players ------------------------------ # # Using t-sne algorithm, find players that have similar characteristics to a given player. # The objective is to predict his performance in a given year based on the historical performance # of similar players (see: Nate Silver's CARMELO or PECOTA systems) # # Ex:...
rm(list = ls()) #Removes all objects from the current workspace (R memory) mypath <- rprojroot::find_package_root_file ##------------------------------------ ##LOADING PACKAGES, FUNCTIONS AND DATA ##------------------------------------ ##PACKAGES## library(mgcv) library(stringi) library(dplyr) library(purrr) ##FUNC...
/rscripts/SI_GAM_analysis_individual_metrics_step2.R
permissive
CamilleLeclerc/FoodWebs-EnvironmentalVariables
R
false
false
4,416
r
rm(list = ls()) #Removes all objects from the current workspace (R memory) mypath <- rprojroot::find_package_root_file ##------------------------------------ ##LOADING PACKAGES, FUNCTIONS AND DATA ##------------------------------------ ##PACKAGES## library(mgcv) library(stringi) library(dplyr) library(purrr) ##FUNC...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/cum_downloads.R \name{cum_downloads} \alias{cum_downloads} \title{Cummulative downloads plot} \usage{ cum_downloads(x = NULL, top_n = 10) } \arguments{ \item{x}{File name, e.g., cran_downloads_2016-05-19.csv. Default is \code{NULL}, and if so...
/man/cum_downloads.Rd
no_license
ropensci/rostats
R
false
true
636
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/cum_downloads.R \name{cum_downloads} \alias{cum_downloads} \title{Cummulative downloads plot} \usage{ cum_downloads(x = NULL, top_n = 10) } \arguments{ \item{x}{File name, e.g., cran_downloads_2016-05-19.csv. Default is \code{NULL}, and if so...
#### Load packages and settings #### # Load require packages library(shiny) # Framework for web apps library(tidyverse) # Colletion of multiple plugins for various applications library(lubridate) # Plugin to manipulate "date" data library(readr) # Plugin to load CSV files library(shinyWidgets) # Plugin for web applicat...
/Manual_Metrics/app.R
no_license
FrixosL/FEI_Manual_Metrics
R
false
false
17,364
r
#### Load packages and settings #### # Load require packages library(shiny) # Framework for web apps library(tidyverse) # Colletion of multiple plugins for various applications library(lubridate) # Plugin to manipulate "date" data library(readr) # Plugin to load CSV files library(shinyWidgets) # Plugin for web applicat...
# DO THI install.packages('igraph') library(igraph) # Vo Huong help(graph) vo_huong <- make_graph( ~ A-B-C-D-A, E-A:B:C:D, directed = FALSE) plot(vo_huong) #Co huong help(make_directed_graph) a = make_graph(c(1, 2, 2, 3, 3, 4, 5, 6, 4,1, 2,4, 4,5, 6,1), directed = TRUE) plot(a)
/CTDLGT_R/BT12_BT13_DoThiCoHuong_DoThiVoHuong.R
no_license
thanhlamnguyen/CTDL_GT_DoAN
R
false
false
298
r
# DO THI install.packages('igraph') library(igraph) # Vo Huong help(graph) vo_huong <- make_graph( ~ A-B-C-D-A, E-A:B:C:D, directed = FALSE) plot(vo_huong) #Co huong help(make_directed_graph) a = make_graph(c(1, 2, 2, 3, 3, 4, 5, 6, 4,1, 2,4, 4,5, 6,1), directed = TRUE) plot(a)
\name{ustemp} \alias{ustemp} \non_function{} \title{U.S. temperature data} \usage{data(ustemp)} \description{ The \code{ustemp} data frame has 56 observations on the temperature and location of 56 U.S. cities. } \format{ This data frame contains the following columns: \describe{ \item{city}{character string giv...
/man/ustemp.Rd
no_license
cran/SemiPar
R
false
false
1,180
rd
\name{ustemp} \alias{ustemp} \non_function{} \title{U.S. temperature data} \usage{data(ustemp)} \description{ The \code{ustemp} data frame has 56 observations on the temperature and location of 56 U.S. cities. } \format{ This data frame contains the following columns: \describe{ \item{city}{character string giv...
#!/usr/bin/env Rscript update.packages(ask = FALSE, checkBuilt = TRUE, Ncpus = parallel::detectCores()) ## args <- commandArgs(trailingOnly = TRUE)[1] args <- "test" if (length(args) > 0 && args == "test") { if (!requireNamespace("callr", quietly = TRUE)) { install.packages("callr") } # Compiled packages o...
/utils-r/.local/bin/rupdate2
no_license
ashiklom/dotfiles
R
false
false
2,090
#!/usr/bin/env Rscript update.packages(ask = FALSE, checkBuilt = TRUE, Ncpus = parallel::detectCores()) ## args <- commandArgs(trailingOnly = TRUE)[1] args <- "test" if (length(args) > 0 && args == "test") { if (!requireNamespace("callr", quietly = TRUE)) { install.packages("callr") } # Compiled packages o...
#finds file filename <- "household_power_consumption.txt" # Sets date range for the time need data <- read.table(filename, header = TRUE, sep = ";") data <- data[ data$Date %in% c( "1/2/2007", "2/2/2007" ), ] #Makes sure correct data type is used data$Global_active_power <- as.numeric( as.character( data$Global_active_...
/plot3.R
no_license
perlichman/ExData_Plotting1
R
false
false
1,423
r
#finds file filename <- "household_power_consumption.txt" # Sets date range for the time need data <- read.table(filename, header = TRUE, sep = ";") data <- data[ data$Date %in% c( "1/2/2007", "2/2/2007" ), ] #Makes sure correct data type is used data$Global_active_power <- as.numeric( as.character( data$Global_active_...
# boxplot with facet_grid generateTFPlot<-function(a,b,c,d,e,f){ numService<-c(a,b,c,d,e) nameService<-c(rep("Total",1549),rep("Housing",1549),rep("Behavior",1549),rep("Nutrition",1549),rep("Mental",1549)) placed<-rep(f,5) datPlot<-data.frame(numService,services=as.factor(nameService),placed) p<-ggplot(datPl...
/Graph/TFplot.R
no_license
nicolethegrape/DHSTeam1-Ziyi-Shuning-Xiaoying
R
false
false
542
r
# boxplot with facet_grid generateTFPlot<-function(a,b,c,d,e,f){ numService<-c(a,b,c,d,e) nameService<-c(rep("Total",1549),rep("Housing",1549),rep("Behavior",1549),rep("Nutrition",1549),rep("Mental",1549)) placed<-rep(f,5) datPlot<-data.frame(numService,services=as.factor(nameService),placed) p<-ggplot(datPl...
% Generated by roxygen2 (4.1.0): do not edit by hand % Please edit documentation in R/RcppExports.R \name{cpp_compute_occ_exp} \alias{cpp_compute_occ_exp} \title{cpp_compute_occ_exp} \usage{ cpp_compute_occ_exp(lambda, alpha, alpha_offset, tau) } \arguments{ \item{lambda}{a matrix of lifelines whose rows are units of o...
/man/cpp_compute_occ_exp.Rd
no_license
dfeehan/dhstools
R
false
false
1,228
rd
% Generated by roxygen2 (4.1.0): do not edit by hand % Please edit documentation in R/RcppExports.R \name{cpp_compute_occ_exp} \alias{cpp_compute_occ_exp} \title{cpp_compute_occ_exp} \usage{ cpp_compute_occ_exp(lambda, alpha, alpha_offset, tau) } \arguments{ \item{lambda}{a matrix of lifelines whose rows are units of o...
testlist <- list(A = structure(c(2.31584332411508e+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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), .Dim = c(5L, 7L)), B = structure(0, .Dim = c(1L, 1L))) result <- do.call(multivariance:::match_row...
/multivariance/inst/testfiles/match_rows/AFL_match_rows/match_rows_valgrind_files/1613099932-test.R
no_license
akhikolla/updatedatatype-list3
R
false
false
343
r
testlist <- list(A = structure(c(2.31584332411508e+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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), .Dim = c(5L, 7L)), B = structure(0, .Dim = c(1L, 1L))) result <- do.call(multivariance:::match_row...
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Do not modify this file since it was automatically generated from: % % % % on Wed Feb 08 14:38:05 2006. % % Generator was the Rdoc class, which is part of the R.oo package written % by Henrik Bengtsson, 2001-2004. %%%%%%%%%%%%%%%%%%%%%%%%...
/man/addCount.BigBang.Rd
no_license
cran/galgo
R
false
false
1,060
rd
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Do not modify this file since it was automatically generated from: % % % % on Wed Feb 08 14:38:05 2006. % % Generator was the Rdoc class, which is part of the R.oo package written % by Henrik Bengtsson, 2001-2004. %%%%%%%%%%%%%%%%%%%%%%%%...
require("tidyverse") require("BiocParallel") #input_folder="~/Projects/nobackup/181022_time_test/output/mutation_count/" #sample_ID="~/Projects/nobackup/181022_time_test/output/barcode_samples.txt" #output_folder = "~/Projects/nobackup/181022_time_test/output/new_synthesised_reads" #core = 10 #SNP_VCF = "~/Projects/n...
/script/check_mutation_num_read.R
no_license
JunyueC/scifate
R
false
false
4,165
r
require("tidyverse") require("BiocParallel") #input_folder="~/Projects/nobackup/181022_time_test/output/mutation_count/" #sample_ID="~/Projects/nobackup/181022_time_test/output/barcode_samples.txt" #output_folder = "~/Projects/nobackup/181022_time_test/output/new_synthesised_reads" #core = 10 #SNP_VCF = "~/Projects/n...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/get_boundary.R \name{get_boundary} \alias{get_boundary} \title{Get boundary boxes from Atlantis box information.} \usage{ get_boundary(boxinfo) } \arguments{ \item{boxinfo}{A \code{list} as returned from \code{\link{load_box}}.} } \value{ A \...
/man/get_boundary.Rd
no_license
hmorzaria/atlantisom
R
false
true
625
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/get_boundary.R \name{get_boundary} \alias{get_boundary} \title{Get boundary boxes from Atlantis box information.} \usage{ get_boundary(boxinfo) } \arguments{ \item{boxinfo}{A \code{list} as returned from \code{\link{load_box}}.} } \value{ A \...
% Generated by roxygen2 (4.1.0): do not edit by hand % Please edit documentation in R/similarity.r \name{sokal_sneath} \alias{sokal_sneath} \title{Computes the Sokal-Sneath similarity of two clusterings of the same data set.} \usage{ sokal_sneath(labels1, labels2) } \arguments{ \item{labels1}{a vector of \code{n} clust...
/man/sokal_sneath.Rd
no_license
khughitt/clusteval
R
false
false
2,242
rd
% Generated by roxygen2 (4.1.0): do not edit by hand % Please edit documentation in R/similarity.r \name{sokal_sneath} \alias{sokal_sneath} \title{Computes the Sokal-Sneath similarity of two clusterings of the same data set.} \usage{ sokal_sneath(labels1, labels2) } \arguments{ \item{labels1}{a vector of \code{n} clust...
a=round(1/3*sum(titanic.raw$Survived=="Yes")) b=round(1/3*sum(titanic.raw$Survived=="No")) a;b set.seed(1) sub=strata(titanic.raw,stratanames="Survived",size=c(b,a),method="srswor") table(sub$AgeGroup) Train_titanic=titanic.raw[-sub$ID_unit,] Test_titanic=titanic.raw[sub$ID_unit,] nrow(Train_titanic);nrow(Test_titanic)...
/bak/1481468760.R
no_license
sulaxd/data4course
R
false
false
321
r
a=round(1/3*sum(titanic.raw$Survived=="Yes")) b=round(1/3*sum(titanic.raw$Survived=="No")) a;b set.seed(1) sub=strata(titanic.raw,stratanames="Survived",size=c(b,a),method="srswor") table(sub$AgeGroup) Train_titanic=titanic.raw[-sub$ID_unit,] Test_titanic=titanic.raw[sub$ID_unit,] nrow(Train_titanic);nrow(Test_titanic)...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/qc_main.R \name{qc_md_results_table} \alias{qc_md_results_table} \title{Main function to resume Metadata QC in one data frame} \usage{ qc_md_results_table(md_cols, factor_values, email_check, site_md_coordfix, species_md, plant_md, species_...
/man/qc_md_results_table.Rd
no_license
sapfluxnet/sapfluxnetQC1
R
false
true
2,180
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/qc_main.R \name{qc_md_results_table} \alias{qc_md_results_table} \title{Main function to resume Metadata QC in one data frame} \usage{ qc_md_results_table(md_cols, factor_values, email_check, site_md_coordfix, species_md, plant_md, species_...
cv_GIC_indexed <- function(X, y, nfolds, model_function, ...) { family = list(...)$family if (family == "gaussian"){ n <- length(y) real_n <- 0 #recount of test instances foldid <- sample(rep(1:nfolds,length.out=n)) #PP replaces cvfolds by a si...
/R/cv_GIC_indexed.R
no_license
cran/DMRnet
R
false
false
9,441
r
cv_GIC_indexed <- function(X, y, nfolds, model_function, ...) { family = list(...)$family if (family == "gaussian"){ n <- length(y) real_n <- 0 #recount of test instances foldid <- sample(rep(1:nfolds,length.out=n)) #PP replaces cvfolds by a si...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/chart_amDataset.R \name{amStockMultiSet} \alias{amStockMultiSet} \title{Plotting multi data-sets} \usage{ amStockMultiSet(data, panelColumn = NULL, ZoomButtonPosition = "bottom", ZoomButton = data.frame(Unit = "MAX", multiple = 1, label = "...
/man/amStockMultiSet.Rd
no_license
msabr027/rAmCharts
R
false
true
2,764
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/chart_amDataset.R \name{amStockMultiSet} \alias{amStockMultiSet} \title{Plotting multi data-sets} \usage{ amStockMultiSet(data, panelColumn = NULL, ZoomButtonPosition = "bottom", ZoomButton = data.frame(Unit = "MAX", multiple = 1, label = "...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/Fires2011.R \docType{data} \name{Fires2011} \alias{Fires2011} \title{Data for Fires for year 2011 from La Tigra National Park, Honduras} \format{ Simple feature collection with 36 features and 2 fields \itemize{ \item{id} {} \item...
/man/Fires2011.Rd
permissive
klauswiese/pnlt
R
false
true
792
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/Fires2011.R \docType{data} \name{Fires2011} \alias{Fires2011} \title{Data for Fires for year 2011 from La Tigra National Park, Honduras} \format{ Simple feature collection with 36 features and 2 fields \itemize{ \item{id} {} \item...
plot3 <- function(){ ## Aim of this function is to ## 1. read the household_power_consumption.txt file ## 2. subset for data taken from 2 days: 2007-02-01 and 2007-02-02 ## 3. generate a plot of different submetering vs time dataFile <- "./data/household_power_consumpti...
/plot3.R
no_license
banerjeerdb/ExData_Plotting1
R
false
false
1,194
r
plot3 <- function(){ ## Aim of this function is to ## 1. read the household_power_consumption.txt file ## 2. subset for data taken from 2 days: 2007-02-01 and 2007-02-02 ## 3. generate a plot of different submetering vs time dataFile <- "./data/household_power_consumpti...
ReadTransactionsSubset1Train <- function(path) { # return transactions.al.sfr.subset1 object train <- NULL loaded <- load(path) stopifnot(!is.null(train)) train }
/ReadTransactionsSubset1Train.R
permissive
rlowrance/re-local-linear
R
false
false
183
r
ReadTransactionsSubset1Train <- function(path) { # return transactions.al.sfr.subset1 object train <- NULL loaded <- load(path) stopifnot(!is.null(train)) train }
# create_directory.r # # Copyright (c) 2020 VIB (Belgium) & Babraham Institute (United Kingdom) # # Software written by Carlos P. Roca, as research funded by the European Union. # # This software may be modified and distributed under the terms of the MIT # license. See the LICENSE file for details. # Creates figure a...
/R/create_directory.r
permissive
hally166/autospill
R
false
false
1,347
r
# create_directory.r # # Copyright (c) 2020 VIB (Belgium) & Babraham Institute (United Kingdom) # # Software written by Carlos P. Roca, as research funded by the European Union. # # This software may be modified and distributed under the terms of the MIT # license. See the LICENSE file for details. # Creates figure a...
context('binomtest') test_that('output from binom_calc matches the expected output', { k <- binom_calc(32, 8) expect_equal(k$n, 32) expect_equal(k$k, 8) expect_equal(k$exp_k, 16) expect_equal(k$obs_p, 0.25) expect_equal(k$exp_p, 0.5) expect_equal(k$ik, 24) expect_equal(k$lower, 0.0035)...
/tests/testthat/test-binom.R
no_license
raghubhatt/inferr
R
false
false
1,911
r
context('binomtest') test_that('output from binom_calc matches the expected output', { k <- binom_calc(32, 8) expect_equal(k$n, 32) expect_equal(k$k, 8) expect_equal(k$exp_k, 16) expect_equal(k$obs_p, 0.25) expect_equal(k$exp_p, 0.5) expect_equal(k$ik, 24) expect_equal(k$lower, 0.0035)...
library(mlbench) library (Boruta) setwd("C:/Users/Arafat Habib/Desktop/R") Data1 <- read.csv(file = 'AEFeat.csv') head(Data1) set.seed(1) Boruta.Data1<-Boruta(Outcome~.,data=Data1,doTrace=5,ntree=1000) Boruta.Data1 plot(Boruta.Data1) getConfirmedFormula(Boruta.Data1) a<-attStats(Boruta.Data1) print(a)
/Boruta_implR.R
permissive
ArafatHabib/Concrete-detection-using-AE-features-K-NN-and-Boruta
R
false
false
317
r
library(mlbench) library (Boruta) setwd("C:/Users/Arafat Habib/Desktop/R") Data1 <- read.csv(file = 'AEFeat.csv') head(Data1) set.seed(1) Boruta.Data1<-Boruta(Outcome~.,data=Data1,doTrace=5,ntree=1000) Boruta.Data1 plot(Boruta.Data1) getConfirmedFormula(Boruta.Data1) a<-attStats(Boruta.Data1) print(a)
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/cnd-restarts.R \name{with_restarts} \alias{with_restarts} \title{Establish a restart point on the stack} \usage{ with_restarts(.expr, ...) } \arguments{ \item{.expr}{An expression to execute with new restarts established on the stack. This ar...
/man/with_restarts.Rd
no_license
shizidushu/rlang
R
false
true
4,025
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/cnd-restarts.R \name{with_restarts} \alias{with_restarts} \title{Establish a restart point on the stack} \usage{ with_restarts(.expr, ...) } \arguments{ \item{.expr}{An expression to execute with new restarts established on the stack. This ar...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/eubon.R \name{eubon_search} \alias{eubon_search} \title{EUBON taxonomy search} \usage{ eubon_search( query, providers = "pesi", searchMode = "scientificNameExact", addSynonymy = FALSE, addParentTaxon = FALSE, timeout = 0, dedup ...
/man/eubon_search.Rd
permissive
ropensci/taxize
R
false
true
3,860
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/eubon.R \name{eubon_search} \alias{eubon_search} \title{EUBON taxonomy search} \usage{ eubon_search( query, providers = "pesi", searchMode = "scientificNameExact", addSynonymy = FALSE, addParentTaxon = FALSE, timeout = 0, dedup ...
testlist <- list(testX = c(191493125665849920, 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, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), trainX ...
/dann/inst/testfiles/calc_distance_C/AFL_calc_distance_C/calc_distance_C_valgrind_files/1609868474-test.R
no_license
akhikolla/updated-only-Issues
R
false
false
1,199
r
testlist <- list(testX = c(191493125665849920, 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, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), trainX ...
#' Local biplot at input data points #' #' @param mds_matrices The output from make_mds_matrices. #' @param dist_fns The output from make_dist_fns. #' @param k The number of embedding dimensions for multi-dimensional scaling. Defaults to 2. #' @param samples Which of the points to compute sensitivities for. #' #' @retu...
/R/mdessence-functions.R
no_license
jfukuyama/localBiplots
R
false
false
14,927
r
#' Local biplot at input data points #' #' @param mds_matrices The output from make_mds_matrices. #' @param dist_fns The output from make_dist_fns. #' @param k The number of embedding dimensions for multi-dimensional scaling. Defaults to 2. #' @param samples Which of the points to compute sensitivities for. #' #' @retu...
#' Sliced Latin Hypercube Design (SLHD) #' #' \code{SLHD} returns a \code{n} by \code{k} LHD matrix generated by improved two-stage algorithm #' #' @param n A positive integer, which stands for the number of rows (or run size). #' @param k A positive integer, which stands for the number of columns (or factor size)...
/R/SLHD.R
no_license
cran/LHD
R
false
false
31,028
r
#' Sliced Latin Hypercube Design (SLHD) #' #' \code{SLHD} returns a \code{n} by \code{k} LHD matrix generated by improved two-stage algorithm #' #' @param n A positive integer, which stands for the number of rows (or run size). #' @param k A positive integer, which stands for the number of columns (or factor size)...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/viz.R \name{drawPriorGamma} \alias{drawPriorGamma} \title{Draw prior distributions of location parameters (gamma estimates)} \usage{ drawPriorGamma(combat.estimates, col = NULL, xlim = c(-3, 1.5), ylim = c(0, 3)) } \arguments{ \item{combat.es...
/man/drawPriorGamma.Rd
no_license
Tibetan-eagle/neuroCombat_Rpackage
R
false
true
674
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/viz.R \name{drawPriorGamma} \alias{drawPriorGamma} \title{Draw prior distributions of location parameters (gamma estimates)} \usage{ drawPriorGamma(combat.estimates, col = NULL, xlim = c(-3, 1.5), ylim = c(0, 3)) } \arguments{ \item{combat.es...
# source("http://bioconductor.org/biocLite.R") # source("https://bioconductor.org/biocLite.R") # biocLite("Biostrings") # install.packages(c("R.oo","compoisson","R.methodsS3")) # install.packages("/Users/arives/Downloads/phylosim_2.1.1.tar.gz") library(readr) library(phylosim) library(ape) library(Biostrings) library(...
/obsolete/TI_score_tests_18Sep15_4scoringcomparison.R
no_license
fanhuan/AAF-GWAS
R
false
false
8,828
r
# source("http://bioconductor.org/biocLite.R") # source("https://bioconductor.org/biocLite.R") # biocLite("Biostrings") # install.packages(c("R.oo","compoisson","R.methodsS3")) # install.packages("/Users/arives/Downloads/phylosim_2.1.1.tar.gz") library(readr) library(phylosim) library(ape) library(Biostrings) library(...
## 21st Dec 2016 ## BISCUIT R implementation ## Start_file with user inputs ## ## Code author SP ### ### ############## packages required ############## library(MCMCpack) library(mvtnorm) library(ellipse) library(coda) library(Matrix) library(Rtsne) library(gtools) library(foreach) library(doParallel) library(doSN...
/AlgorithmWeb/upload/BISCUIT/start_file.R
no_license
TJZhiyeWang/ScClusterWebsite
R
false
false
1,824
r
## 21st Dec 2016 ## BISCUIT R implementation ## Start_file with user inputs ## ## Code author SP ### ### ############## packages required ############## library(MCMCpack) library(mvtnorm) library(ellipse) library(coda) library(Matrix) library(Rtsne) library(gtools) library(foreach) library(doParallel) library(doSN...
/data/scr_12/chap7/chap7.R
no_license
yugitti/bayze
R
false
false
2,898
r
# cleaning data in r library(dplyr) df <- ... class() dim() names() str() glimplse(df) summary(df) head() tail() # print() # na ---------------- is.na(df) any(is.na(df)) # rows with so missing vaules complete.cases(df) df[complete.cases(df), ] na.omit(df) # outliers --------------
/datacamp/eda.r
no_license
felix-ha/r_ds
R
false
false
292
r
# cleaning data in r library(dplyr) df <- ... class() dim() names() str() glimplse(df) summary(df) head() tail() # print() # na ---------------- is.na(df) any(is.na(df)) # rows with so missing vaules complete.cases(df) df[complete.cases(df), ] na.omit(df) # outliers --------------
err_return <- function(api_content){ list( error_code = api_content$errors[[1]]$code, error_message = api_content$errors[[1]]$message ) } null_to_na <- function(results){ for (i in 1:vec_depth(results) - 1){ results <- modify_depth( results, i, function(x){ if (is.null(x)){ NA...
/R/api_result_parsing.R
permissive
gregleleu/neo4r
R
false
false
5,700
r
err_return <- function(api_content){ list( error_code = api_content$errors[[1]]$code, error_message = api_content$errors[[1]]$message ) } null_to_na <- function(results){ for (i in 1:vec_depth(results) - 1){ results <- modify_depth( results, i, function(x){ if (is.null(x)){ NA...
# Build factor_survey_vector with clean levels survey_vector <- c("M", "F", "F", "M", "M") factor_survey_vector <- factor(survey_vector) levels(factor_survey_vector) <- c("Female", "Male") # Male male <- factor_survey_vector[1] male # Female female <- factor_survey_vector[2] # Battle of the sexes: Male 'larger' than ...
/test/.Rproj.user/2C42C49F/sources/per/t/8A249A64-contents
no_license
li42125msa/R-projects
R
false
false
575
# Build factor_survey_vector with clean levels survey_vector <- c("M", "F", "F", "M", "M") factor_survey_vector <- factor(survey_vector) levels(factor_survey_vector) <- c("Female", "Male") # Male male <- factor_survey_vector[1] male # Female female <- factor_survey_vector[2] # Battle of the sexes: Male 'larger' than ...
################################################################################ ######### 04: Creating saliva.cortisol datasets ######## ################################################################################ ###################################################################### ##### 1.0 Loading data ##### ...
/04.saliva_hormones.R
no_license
tracymont/hyena_saliva_cortisol
R
false
false
14,012
r
################################################################################ ######### 04: Creating saliva.cortisol datasets ######## ################################################################################ ###################################################################### ##### 1.0 Loading data ##### ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/db.R \name{get.vct.table} \alias{get.vct.table} \title{Return a data frame for the vct table.} \usage{ get.vct.table(db) } \arguments{ \item{db}{SQLite3 database file path.} } \value{ Data frame of vct table. } \description{ Return a data fra...
/man/get.vct.table.Rd
no_license
strategist922/popcycle
R
false
true
401
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/db.R \name{get.vct.table} \alias{get.vct.table} \title{Return a data frame for the vct table.} \usage{ get.vct.table(db) } \arguments{ \item{db}{SQLite3 database file path.} } \value{ Data frame of vct table. } \description{ Return a data fra...
#This script makes a plot for the first part of assignment for exploratory data analysis ob coursera data <- read.csv2 ("household_power_consumption.txt", , stringsAsFactor=F) data$Date <- as.Date(data$Date,"%d/%m/%Y") data$Global_active_power <- as.numeric(data$Global_active_power) #subsetting to the data needed libra...
/plot1.R
no_license
taonick/ExData_Plotting1
R
false
false
573
r
#This script makes a plot for the first part of assignment for exploratory data analysis ob coursera data <- read.csv2 ("household_power_consumption.txt", , stringsAsFactor=F) data$Date <- as.Date(data$Date,"%d/%m/%Y") data$Global_active_power <- as.numeric(data$Global_active_power) #subsetting to the data needed libra...
### Load libraries ### ################################################################################################################# library(tidyverse) library(data.table) library(readxl) library(DESeq2) library(GO.db) library(topGO) ### Load data ### ###############################################################...
/scripts/figure_02.R
no_license
rak16128/maize_silk_spatio_temporal_gene_expression
R
false
false
12,163
r
### Load libraries ### ################################################################################################################# library(tidyverse) library(data.table) library(readxl) library(DESeq2) library(GO.db) library(topGO) ### Load data ### ###############################################################...
#this snippet useis to make TSNE and PCA plots for initial cell types # #it requires to run first seuratNorm.r, which among others sets the appropriate experimentType ( allCells, WT, WT_sox10) #in ipmc@project.name makePCAInitTypesPlots <- function(ipmc, comps){ source("R/getClusterTypes.r") source("R/calcTSNE_PCASpa...
/R_work/makePCAInitTypesPlots.r
no_license
SevaVigg/scNCCnano
R
false
false
2,815
r
#this snippet useis to make TSNE and PCA plots for initial cell types # #it requires to run first seuratNorm.r, which among others sets the appropriate experimentType ( allCells, WT, WT_sox10) #in ipmc@project.name makePCAInitTypesPlots <- function(ipmc, comps){ source("R/getClusterTypes.r") source("R/calcTSNE_PCASpa...
# import libraries library(tidyverse) library(grid) library(gridExtra) library(reshape2) rm(list = ls()) ########################################################################## # enter parameters frame_pre <- 10; # final frame before ligand addition time_ligand <- 9; # ligand added after this time point #########...
/Fig1_CD3_ITAM_validation/2022_06_21_CD3_validation.R
no_license
toettchlab/Farahani2022
R
false
false
6,282
r
# import libraries library(tidyverse) library(grid) library(gridExtra) library(reshape2) rm(list = ls()) ########################################################################## # enter parameters frame_pre <- 10; # final frame before ligand addition time_ligand <- 9; # ligand added after this time point #########...
% Generated by roxygen2 (4.1.1): do not edit by hand % Please edit documentation in R/compareProportion.R \name{compareProportion} \alias{compareProportion} \title{Compare proportions between 2 groups} \usage{ compareProportion(formula, data = NULL, ...) } \arguments{ \item{formula}{a formula} \item{data}{a data frame...
/man/compareProportion.Rd
no_license
mpetruc/mosaic
R
false
false
1,134
rd
% Generated by roxygen2 (4.1.1): do not edit by hand % Please edit documentation in R/compareProportion.R \name{compareProportion} \alias{compareProportion} \title{Compare proportions between 2 groups} \usage{ compareProportion(formula, data = NULL, ...) } \arguments{ \item{formula}{a formula} \item{data}{a data frame...
########################################################################## # DEFINITION OF MIGRATORY SEASONS FOR SATELLITE-TRACKED EGYPTIAN VULTURES # original script written by Steffen Oppel in September 2014 # modified in February 2016 # re-written on 9 February 2019 to include Evan Buechley's NSD model approach ####...
/EGVU_migration_season_MANUAL_definition.R
no_license
steffenoppel/EGVUmigration
R
false
false
22,180
r
########################################################################## # DEFINITION OF MIGRATORY SEASONS FOR SATELLITE-TRACKED EGYPTIAN VULTURES # original script written by Steffen Oppel in September 2014 # modified in February 2016 # re-written on 9 February 2019 to include Evan Buechley's NSD model approach ####...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/ShroutFleissICC1k.R \name{ShroutFleissICC1} \alias{ShroutFleissICC1} \alias{ShroutFleissICC11} \alias{ShroutFleissICC1k} \title{Shrout and Fleiss intra-class correlation functions} \usage{ ShroutFleissICC1(dta, clustercol, cols) } \arguments{...
/man/ShroutFleissICC1.Rd
no_license
humanfactors/superb
R
false
true
1,651
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/ShroutFleissICC1k.R \name{ShroutFleissICC1} \alias{ShroutFleissICC1} \alias{ShroutFleissICC11} \alias{ShroutFleissICC1k} \title{Shrout and Fleiss intra-class correlation functions} \usage{ ShroutFleissICC1(dta, clustercol, cols) } \arguments{...
# find a starting point to generate # silluett: # clv: # clValid # clusterSim # indexS # cosine similarity data <- read.csv("data/classes.csv", header=TRUE) cols <- dim(data)[2] rows <- dim(data)[1] train_data <- data[ 1:(0.75*rows), ] test_data <- data[ (0.75*rows):rows, ] k <- 4 clusters <- matrix(0, k...
/classes.kmeans.r
no_license
GustavoKatel/datamining-algorithms
R
false
false
1,619
r
# find a starting point to generate # silluett: # clv: # clValid # clusterSim # indexS # cosine similarity data <- read.csv("data/classes.csv", header=TRUE) cols <- dim(data)[2] rows <- dim(data)[1] train_data <- data[ 1:(0.75*rows), ] test_data <- data[ (0.75*rows):rows, ] k <- 4 clusters <- matrix(0, k...
# Used in case we need to special-case packages what packages are cached isCacheable <- function(package) { TRUE } isUsingCache <- function(project) { isTRUE(get_opts("use.cache", project = project)) } installedDescLookup <- function(pkgName) { system.file("DESCRIPTION", package = pkgName) } # We assume 'path'...
/packrat/src/packrat/packrat/R/cache.R
permissive
rachjone/iapsr
R
false
false
9,912
r
# Used in case we need to special-case packages what packages are cached isCacheable <- function(package) { TRUE } isUsingCache <- function(project) { isTRUE(get_opts("use.cache", project = project)) } installedDescLookup <- function(pkgName) { system.file("DESCRIPTION", package = pkgName) } # We assume 'path'...
# --- # title: "Accuracy as number of samples grows" # author: "James Browne" # date: "May 16 2017" #output: html_document # --- library(ggplot2) leg <- theme(legend.text = element_text(size = 12), legend.title=element_blank(), plot.title = element_text(size = 16, face="bold"), plot.subtitle = element_text(size = 12...
/accSpeedTest/printResults.R
no_license
jbrowne6/fpExperiments
R
false
false
1,569
r
# --- # title: "Accuracy as number of samples grows" # author: "James Browne" # date: "May 16 2017" #output: html_document # --- library(ggplot2) leg <- theme(legend.text = element_text(size = 12), legend.title=element_blank(), plot.title = element_text(size = 16, face="bold"), plot.subtitle = element_text(size = 12...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/BinaryS3.R \name{is.binary} \alias{is.binary} \title{is Binary Vector} \usage{ is.binary(x) } \arguments{ \item{x}{object to test.} } \value{ TRUE or FALSE. } \description{ test for object "binary". } \seealso{ \link{as.binary} and \link{bina...
/man/is.binary.Rd
no_license
tanho63/binaryLogic
R
false
true
327
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/BinaryS3.R \name{is.binary} \alias{is.binary} \title{is Binary Vector} \usage{ is.binary(x) } \arguments{ \item{x}{object to test.} } \value{ TRUE or FALSE. } \description{ test for object "binary". } \seealso{ \link{as.binary} and \link{bina...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/SimDesign.R \docType{package} \name{SimDesign} \alias{SimDesign} \title{Structure for Organizing Monte Carlo Simulation Designs} \description{ Structure for Organizing Monte Carlo Simulation Designs } \details{ Provides tools to help organize...
/man/SimDesign.Rd
no_license
GloriaColmenares/SimDesign
R
false
true
1,455
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/SimDesign.R \docType{package} \name{SimDesign} \alias{SimDesign} \title{Structure for Organizing Monte Carlo Simulation Designs} \description{ Structure for Organizing Monte Carlo Simulation Designs } \details{ Provides tools to help organize...
test <- function(){success('Excellent! Machine learning models trained with 10-fold cross-validation repeated 5 times often have optimal performance.')}
/exercises/test_03_12_2.R
permissive
flor14/supervised-ML-case-studies-course-1
R
false
false
156
r
test <- function(){success('Excellent! Machine learning models trained with 10-fold cross-validation repeated 5 times often have optimal performance.')}
library(tidyverse) library(outliers) library(ggplot2) library(cowplot) library(magrittr) library(multipanelfigure) library(stats) library(reshape) # KPIS_Processes <- list(ALL, ALL_totals, ALL_avg, ALL_perc, ALL_quarterly_totals, ALL_quarterly_avg, ALL_quarterly_perc, # ALL_monthly_totals, ALL_m...
/dev_perticket.R
no_license
RichardCurran/R-scripts-Jira-tickets
R
false
false
5,659
r
library(tidyverse) library(outliers) library(ggplot2) library(cowplot) library(magrittr) library(multipanelfigure) library(stats) library(reshape) # KPIS_Processes <- list(ALL, ALL_totals, ALL_avg, ALL_perc, ALL_quarterly_totals, ALL_quarterly_avg, ALL_quarterly_perc, # ALL_monthly_totals, ALL_m...
# Q4: # Across the United States, how have emissions from coal combustion-related sources changed from 1999–2008? # Load data ################################################################################# NEI <- readRDS('../data/exdata-data-NEI_data/summarySCC_PM25.rds') SCC <- readRDS('../data/exdata-data-NEI_data...
/plot4.R
permissive
cniedotus/ExData_Plotting2
R
false
false
948
r
# Q4: # Across the United States, how have emissions from coal combustion-related sources changed from 1999–2008? # Load data ################################################################################# NEI <- readRDS('../data/exdata-data-NEI_data/summarySCC_PM25.rds') SCC <- readRDS('../data/exdata-data-NEI_data...
# this code was used to check whether the distribnution of MHL would change for WGBS dataset with the regions of RRBS bedwithgap<-function(bed,gap){ bed<-as.matrix(bed) bed[,2]=as.numeric(bed[,2])-gap bed[,3]=as.numeric(bed[,3])+gap bed<-data.frame(bed) bed } Rbedtools<-function(functionstring="in...
/monod/analysis/code/WGBS.RRBS.ShareRegion.Distrubntion.R
no_license
Shicheng-Guo/methylation2020
R
false
false
2,870
r
# this code was used to check whether the distribnution of MHL would change for WGBS dataset with the regions of RRBS bedwithgap<-function(bed,gap){ bed<-as.matrix(bed) bed[,2]=as.numeric(bed[,2])-gap bed[,3]=as.numeric(bed[,3])+gap bed<-data.frame(bed) bed } Rbedtools<-function(functionstring="in...
#### Data collection and Creation of Variables #### dataFile <- "household_power_consumption.txt" power <- read.table(dataFile, header=TRUE, sep=";") power$Date <- as.Date(power$Date, format="%d/%m/%Y") df <- power[(power$Date=="2007-02-01") | (power$Date=="2007-02-02"),] df$Global_active_power <- as.numeric(as.ch...
/plot1.R
no_license
r1n0sh/ExData_Plotting1
R
false
false
660
r
#### Data collection and Creation of Variables #### dataFile <- "household_power_consumption.txt" power <- read.table(dataFile, header=TRUE, sep=";") power$Date <- as.Date(power$Date, format="%d/%m/%Y") df <- power[(power$Date=="2007-02-01") | (power$Date=="2007-02-02"),] df$Global_active_power <- as.numeric(as.ch...
library(ggmap) data1 <- read.csv("/home/eduardo/Doutorado/vagas.csv", header=FALSE, sep = ";", colClasses= c("character","character","numeric","numeric"), col.names=c("time","event","lat","long")) tartu_map <- get_map(location = "são paulo", maptype = "roadmap"...
/simulator_analyses/platform/estacionamento.R
no_license
ezambomsantana/doutorado
R
false
false
898
r
library(ggmap) data1 <- read.csv("/home/eduardo/Doutorado/vagas.csv", header=FALSE, sep = ";", colClasses= c("character","character","numeric","numeric"), col.names=c("time","event","lat","long")) tartu_map <- get_map(location = "são paulo", maptype = "roadmap"...
### --- Test Setup --- ### if(TRUE) { ## Not really needed, but can be handy ## when writing tests library("RUnit") library("finmix") } ".setUp.y" <- function() { ## Get path ## pkg <- "finmix" if (Sys.getenv("RCMDCHECK") == FALSE) { data.path <- file.path(getwd(), "..", ...
/inst/unitTests/runit.fdata.R
no_license
gaborcsardi/finmix
R
false
false
13,761
r
### --- Test Setup --- ### if(TRUE) { ## Not really needed, but can be handy ## when writing tests library("RUnit") library("finmix") } ".setUp.y" <- function() { ## Get path ## pkg <- "finmix" if (Sys.getenv("RCMDCHECK") == FALSE) { data.path <- file.path(getwd(), "..", ...
rm(list = ls()) source("./call_NN.R") source("./call_LM.R") start.time = Sys.time() list_model = list( GPMP, LGMP, EPMP, DCMP, EPMN, LGMN, DCMN, GPMN ) iter <- 10 # RunLM(PRE_OR_NOT = "not", problem = "bbob", list.model = list_mode...
/run.R
no_license
qiqi-helloworld/Numeric-Represents-on-Evolutionary-Fitness-Results
R
false
false
497
r
rm(list = ls()) source("./call_NN.R") source("./call_LM.R") start.time = Sys.time() list_model = list( GPMP, LGMP, EPMP, DCMP, EPMN, LGMN, DCMN, GPMN ) iter <- 10 # RunLM(PRE_OR_NOT = "not", problem = "bbob", list.model = list_mode...
library(GPareto) design.init <- matrix(seq(0, 1, length.out = 6), ncol = 1) response.init <- MOP2(design.init) mf1 <- km(~1, design = design.init, response = response.init[, 1]) mf2 <- km(~1, design = design.init, response = response.init[, 2]) model <- list(mf1, mf2) res <- GParetoptim(model = model, fn = MOP2, crit...
/GPareto.R
no_license
misteliy/Rscripts
R
false
false
1,058
r
library(GPareto) design.init <- matrix(seq(0, 1, length.out = 6), ncol = 1) response.init <- MOP2(design.init) mf1 <- km(~1, design = design.init, response = response.init[, 1]) mf2 <- km(~1, design = design.init, response = response.init[, 2]) model <- list(mf1, mf2) res <- GParetoptim(model = model, fn = MOP2, crit...
# para is the variance prior for the random position d # choose is choosing which one as the focal to let it's d value be 0 as standard # dist can be 1 or 2 # 1 is normal distribution and 2 is student t distribution # If you use t-distribution,the degree of freedom will be n-2, n is the total amount of species # Inst...
/R/bay_isi.R
no_license
KayShen/compete
R
false
false
2,077
r
# para is the variance prior for the random position d # choose is choosing which one as the focal to let it's d value be 0 as standard # dist can be 1 or 2 # 1 is normal distribution and 2 is student t distribution # If you use t-distribution,the degree of freedom will be n-2, n is the total amount of species # Inst...
library(vcdExtra) library(MASS) data("UCBAdmissions") structable(Dept ~ Admit+Gender,UCBAdmissions) berk.loglm0 <- loglm(~ Admit + Dept + Gender, data=UCBAdmissions, param=TRUE, fitted=TRUE) berk.loglm0 names(berk.loglm0) # show parameters coef(berk.loglm0) # fitted frequencies structable(Dept ~ Admit+Gender, fitte...
/ch08/R/berkeley-glm.R
no_license
friendly/VCDR
R
false
false
2,535
r
library(vcdExtra) library(MASS) data("UCBAdmissions") structable(Dept ~ Admit+Gender,UCBAdmissions) berk.loglm0 <- loglm(~ Admit + Dept + Gender, data=UCBAdmissions, param=TRUE, fitted=TRUE) berk.loglm0 names(berk.loglm0) # show parameters coef(berk.loglm0) # fitted frequencies structable(Dept ~ Admit+Gender, fitte...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/misc-doc.R \docType{data} \name{Tcomp_reproduction} \alias{Tcomp_reproduction} \title{Reproduction of selected tourism competition results} \format{{A list of three elements named \code{monthly}, \code{quarterly} and \code{yearly}. ...
/man/Tcomp_reproduction.Rd
no_license
cran/Tcomp
R
false
true
1,231
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/misc-doc.R \docType{data} \name{Tcomp_reproduction} \alias{Tcomp_reproduction} \title{Reproduction of selected tourism competition results} \format{{A list of three elements named \code{monthly}, \code{quarterly} and \code{yearly}. ...
# keyboard shortcuts for R command line # to be used only in R interactive mode # executed automatically upon loading the packge ksInit <- function() { # set up a general prototype, and S3 object lst <<- list(f = function() NA,prnt=TRUE) class(lst) <<- 'ksr' ksProto <<- lst print.ksr <<- function(...
/R/ksREPL.R
no_license
matloff/ksREPL
R
false
false
1,716
r
# keyboard shortcuts for R command line # to be used only in R interactive mode # executed automatically upon loading the packge ksInit <- function() { # set up a general prototype, and S3 object lst <<- list(f = function() NA,prnt=TRUE) class(lst) <<- 'ksr' ksProto <<- lst print.ksr <<- function(...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/upsert.R \name{sf_upsert} \alias{sf_upsert} \title{Upsert Records} \usage{ sf_upsert(input_data, object_name, external_id_fieldname, api_type = c("SOAP", "REST", "Bulk 1.0", "Bulk 2.0"), control = list(...), ..., verbose = FALSE) } \argum...
/man/sf_upsert.Rd
permissive
TonyWhiteSMS/salesforcer
R
false
true
2,415
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/upsert.R \name{sf_upsert} \alias{sf_upsert} \title{Upsert Records} \usage{ sf_upsert(input_data, object_name, external_id_fieldname, api_type = c("SOAP", "REST", "Bulk 1.0", "Bulk 2.0"), control = list(...), ..., verbose = FALSE) } \argum...
#plot a heatmap of core genes #May, 8th, 2017 #Joo Hyun Im (ji72) #heatmap_core_genes.R was adjusted and saved here rm(list=ls(all=TRUE)) #delete any previous entry setwd("/Users/JooHyun/Dropbox/Cornell/Lab/Projects/Mega_RNA-seq/") #Check which core genes are regulated only in live infections: core = read.table("fi...
/heatmap_core_genes_final.R
no_license
imjoohyu/R.scripts.for.RNA-seq
R
false
false
13,364
r
#plot a heatmap of core genes #May, 8th, 2017 #Joo Hyun Im (ji72) #heatmap_core_genes.R was adjusted and saved here rm(list=ls(all=TRUE)) #delete any previous entry setwd("/Users/JooHyun/Dropbox/Cornell/Lab/Projects/Mega_RNA-seq/") #Check which core genes are regulated only in live infections: core = read.table("fi...
#' Example dataset 3 for HIMA: Survival data outcome #' #' A \code{list} dataset containing a phenotype dataset and a mediator #' dataset (n=200 participants, p=200 biomarkers). The variables in the phenotype are as follows: #' #' \itemize{ #' \item Treatment: treated (value = 1) or not treated (value = 0) #' ...
/R/example3.R
no_license
cran/HIMA
R
false
false
798
r
#' Example dataset 3 for HIMA: Survival data outcome #' #' A \code{list} dataset containing a phenotype dataset and a mediator #' dataset (n=200 participants, p=200 biomarkers). The variables in the phenotype are as follows: #' #' \itemize{ #' \item Treatment: treated (value = 1) or not treated (value = 0) #' ...
Sampling <- function(data, num.of.plots, expert, volunteer, num.experts, frequency.year, frequency.month, frequency.day, outputall) { CheckingInputs (data, num.of.plots, expert, volunteer, num.experts, frequency.year, frequency.month, frequency.day) ...
/R/sampling_r_code.R
permissive
fschirr/sampling_r_package
R
false
false
3,699
r
Sampling <- function(data, num.of.plots, expert, volunteer, num.experts, frequency.year, frequency.month, frequency.day, outputall) { CheckingInputs (data, num.of.plots, expert, volunteer, num.experts, frequency.year, frequency.month, frequency.day) ...
LOFCraft <- function(data=iris[,-5],threshold=2.0,outlier.scores) { #threshold=3.1 #data=iris[,-5] #k=c(5:10) #outlier.scores <- lof(data, k= kk) mean <- rowMeans(outlier.scores) #Calculating the mean of every execution outlier.scores <- data.frame(outlier.scores, mean) #adding mean to data frame #library("Regr...
/funciones/LOF.R
no_license
lilianabarrosc/Shiny
R
false
false
3,105
r
LOFCraft <- function(data=iris[,-5],threshold=2.0,outlier.scores) { #threshold=3.1 #data=iris[,-5] #k=c(5:10) #outlier.scores <- lof(data, k= kk) mean <- rowMeans(outlier.scores) #Calculating the mean of every execution outlier.scores <- data.frame(outlier.scores, mean) #adding mean to data frame #library("Regr...
\name{grad_ns_bonds_grid} \alias{grad_ns_bonds_grid} \title{Nelson/Siegel Gradient Function for the Grid Search } \description{ Calculates the gradient of the objective function for the grid search. The objective function minimizes the sum of the weighted squared price errors. The spot rate function is based on Nelson...
/man/grad_ns_bonds_grid.Rd
no_license
gcamilo/termstrc
R
false
false
628
rd
\name{grad_ns_bonds_grid} \alias{grad_ns_bonds_grid} \title{Nelson/Siegel Gradient Function for the Grid Search } \description{ Calculates the gradient of the objective function for the grid search. The objective function minimizes the sum of the weighted squared price errors. The spot rate function is based on Nelson...
## Put comments here that give an overall description of what your ## functions do ## Write a short comment describing this function makeCacheMatrix <- function(x = matrix()) { m <- NULL set <- function(y) { x <<- y m <<- NULL } get <- function() x setsolve <- function(solve) m <<- solve getsolve ...
/cachematrix.R
no_license
uxana-lab/ProgrammingAssignment2
R
false
false
725
r
## Put comments here that give an overall description of what your ## functions do ## Write a short comment describing this function makeCacheMatrix <- function(x = matrix()) { m <- NULL set <- function(y) { x <<- y m <<- NULL } get <- function() x setsolve <- function(solve) m <<- solve getsolve ...
testlist <- list(DAT = structure(c(3.10045080631114e-140, 5.64837120621297e+125, 4.06956751982026e+95, 6.59400621480488e+135, 1.18393360738069e-272, 5.35892842952669e-173, 2.86977581121643e-15, 2.2386738721768e+270, 2.98853116521547e+143, 3.08420528117937e+276, 3.33889424831818e-239, 2.00058425814441e-113, 2.465620...
/issuestests/CDM/inst/testfiles/cdm_rcpp_din_deterministic_devcrit/cdm_rcpp_din_deterministic_devcrit_output/log_24315dd461a6552998ee96cbc071755998af683c/cdm_rcpp_din_deterministic_devcrit-test.R
no_license
akhikolla/RcppDeepStateTest
R
false
false
4,024
r
testlist <- list(DAT = structure(c(3.10045080631114e-140, 5.64837120621297e+125, 4.06956751982026e+95, 6.59400621480488e+135, 1.18393360738069e-272, 5.35892842952669e-173, 2.86977581121643e-15, 2.2386738721768e+270, 2.98853116521547e+143, 3.08420528117937e+276, 3.33889424831818e-239, 2.00058425814441e-113, 2.465620...
################################################################################################### getGlobalActivePowerWithTime <- function() { ################################################################################################### # import local data importdata <- read.table("data/household_power_cons...
/plot2.R
no_license
SeanPlusPlus/ExData_Plotting1
R
false
false
1,409
r
################################################################################################### getGlobalActivePowerWithTime <- function() { ################################################################################################### # import local data importdata <- read.table("data/household_power_cons...
#************************************************************************************************************ #* plot4.R * #* Date 04-09-2014 ...
/plot4.R
no_license
ignaciolabella/ExData_Plotting1
R
false
false
3,404
r
#************************************************************************************************************ #* plot4.R * #* Date 04-09-2014 ...
% Generated by roxygen2 (4.0.1): do not edit by hand \name{input_select} \alias{input_checkboxgroup} \alias{input_radiobuttons} \alias{input_select} \title{Create interactive control to select one (or more options) from a list.} \usage{ input_select(choices, selected = NULL, multiple = FALSE, label = "", id = rand_id...
/man/input_select.Rd
no_license
jjallaire/ggvis
R
false
false
2,867
rd
% Generated by roxygen2 (4.0.1): do not edit by hand \name{input_select} \alias{input_checkboxgroup} \alias{input_radiobuttons} \alias{input_select} \title{Create interactive control to select one (or more options) from a list.} \usage{ input_select(choices, selected = NULL, multiple = FALSE, label = "", id = rand_id...
corr <- function(directory, threshold = 0){ findComplete <- complete("specdata", 1:332) nobs <- findComplete$nobs ids <- findComplete$id[nobs > threshold] idLength <- length(ids) corrVector <- rep(0, idLength) counter <-1 for(i in ids){ filename <-'' if(i>0 && i<10){ filename <- ...
/Week2/corr.R
no_license
oryani/R-Codes-Coursera
R
false
false
778
r
corr <- function(directory, threshold = 0){ findComplete <- complete("specdata", 1:332) nobs <- findComplete$nobs ids <- findComplete$id[nobs > threshold] idLength <- length(ids) corrVector <- rep(0, idLength) counter <-1 for(i in ids){ filename <-'' if(i>0 && i<10){ filename <- ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/functions.R \name{winzer} \alias{winzer} \title{Winsorizes your data} \usage{ winzer(data, x, y, z, grouping, value, label, ...) } \arguments{ \item{data}{A dataset in tabular format.} \item{x}{Single value declaration for lower quantile of ...
/man/winzer.Rd
no_license
TamasSmahajcsikszabo/REAC
R
false
true
1,178
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/functions.R \name{winzer} \alias{winzer} \title{Winsorizes your data} \usage{ winzer(data, x, y, z, grouping, value, label, ...) } \arguments{ \item{data}{A dataset in tabular format.} \item{x}{Single value declaration for lower quantile of ...
library(tensorflow) library(keras) library(caret) set.seed(12345) dswsize = 10000 cifar10 <- dataset_cifar10() dssize = 50000 mask = sample (1:dssize,dswsize) cifar10$train$x = cifar10$train$x[mask,,,] cifar10$train$y = cifar10$train$y[mask,] img_rows <- 32 img_cols <- 32 x_train <- cifar10$train$x y_train <- cifar1...
/R/Conv-Selection.R
no_license
rafajm7/Deep-Learning-with-Keras
R
false
false
8,859
r
library(tensorflow) library(keras) library(caret) set.seed(12345) dswsize = 10000 cifar10 <- dataset_cifar10() dssize = 50000 mask = sample (1:dssize,dswsize) cifar10$train$x = cifar10$train$x[mask,,,] cifar10$train$y = cifar10$train$y[mask,] img_rows <- 32 img_cols <- 32 x_train <- cifar10$train$x y_train <- cifar1...
#' @title Apply Warp from FNIRT #' @description This function applies a coefficient map from \code{\link{fnirt}} #' to other images #' @param infile (character) input filename #' @param reffile (character) reference image to be registered to #' @param warpfile (character) reference image to be registered to #' @param ...
/R/applywarp.R
no_license
emsweene/fslr
R
false
false
2,192
r
#' @title Apply Warp from FNIRT #' @description This function applies a coefficient map from \code{\link{fnirt}} #' to other images #' @param infile (character) input filename #' @param reffile (character) reference image to be registered to #' @param warpfile (character) reference image to be registered to #' @param ...
#' Compute the confidence interval for (currently only) simulation-based methods #' #' \code{get_confidence_interval()} and \code{get_ci()} are both aliases of \code{conf_int()} #' @param x data frame of calculated statistics or containing attributes #' of theoretical distribution values. Currently, dependent on stati...
/R/conf_int.R
no_license
corinne-riddell/infer
R
false
false
3,043
r
#' Compute the confidence interval for (currently only) simulation-based methods #' #' \code{get_confidence_interval()} and \code{get_ci()} are both aliases of \code{conf_int()} #' @param x data frame of calculated statistics or containing attributes #' of theoretical distribution values. Currently, dependent on stati...
############################################################################# # Purpose: clean raw mortality census data and unitfy all years to standardized format. Note: Continuous integration and Fast Field forms were implemented/used in 2021 # Developped by: Valentine Herrmann - HerrmannV@si.edu # R version 4.0.3 (...
/R_scripts/1_Clean_raw_data_and_unify_all_years.R
no_license
SCBI-ForestGEO/SCBImortality
R
false
false
21,357
r
############################################################################# # Purpose: clean raw mortality census data and unitfy all years to standardized format. Note: Continuous integration and Fast Field forms were implemented/used in 2021 # Developped by: Valentine Herrmann - HerrmannV@si.edu # R version 4.0.3 (...
install.packages('rJava') library(rJava) install.packages('KoNLP') library(KoNLP) install.packages("wordcloud") library(wordcloud) useSejongDic() data1<-readLines("seoul_new.txt") data1 #파일에서 읽은 Raw 데이터(한글문장) extractNoun('서울시 버스정책을 역행하는 행위를 고발합니다.') data2<-sapply(data1, extractNoun, USE.NAMES=F) data2 #list형태, 명사들만 있는...
/Part2/stage1_wordcloud/Ex01_seoul/ex01_script.R
no_license
JadenChoi94/R_Lecture
R
false
false
2,103
r
install.packages('rJava') library(rJava) install.packages('KoNLP') library(KoNLP) install.packages("wordcloud") library(wordcloud) useSejongDic() data1<-readLines("seoul_new.txt") data1 #파일에서 읽은 Raw 데이터(한글문장) extractNoun('서울시 버스정책을 역행하는 행위를 고발합니다.') data2<-sapply(data1, extractNoun, USE.NAMES=F) data2 #list형태, 명사들만 있는...
knitr::opts_chunk$set(echo = TRUE) summary(cars) install.packages("kableExtra") install.packages("dpylr") if (!require("pacman")) install.packages("pacman") pacman::p_load(tidyverse, skimr, GGally, plotly, viridis, caret, randomForest, e1071, rpart, xgboost, h2o, corrplot, rpart.plot, corrgram, ggplot2...
/final project.R
no_license
sachin301194/Statistical-Analysis-on-Cleveland-Heart-Disease-UCI-Repository-dataset
R
false
false
23,957
r
knitr::opts_chunk$set(echo = TRUE) summary(cars) install.packages("kableExtra") install.packages("dpylr") if (!require("pacman")) install.packages("pacman") pacman::p_load(tidyverse, skimr, GGally, plotly, viridis, caret, randomForest, e1071, rpart, xgboost, h2o, corrplot, rpart.plot, corrgram, ggplot2...
#Micropan - blast library(micropan) library(parallel) setwd("/mnt/ubi/iferres/pewitEval/genomeSize/") dirs <- list.dirs(recursive = FALSE) dirs <- grep('_gff', dirs, value = TRUE) dir.create('micropan_blast_resu') fin <- mclapply(1:length(dirs), function(d){ gffs <- list.files(path = dirs[d], pattern = 'gff...
/micropan_blast_genomeSize.R
no_license
iferres/pangenomeEval_scripts
R
false
false
3,090
r
#Micropan - blast library(micropan) library(parallel) setwd("/mnt/ubi/iferres/pewitEval/genomeSize/") dirs <- list.dirs(recursive = FALSE) dirs <- grep('_gff', dirs, value = TRUE) dir.create('micropan_blast_resu') fin <- mclapply(1:length(dirs), function(d){ gffs <- list.files(path = dirs[d], pattern = 'gff...