content
large_stringlengths
0
6.46M
path
large_stringlengths
3
331
license_type
large_stringclasses
2 values
repo_name
large_stringlengths
5
125
language
large_stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
4
6.46M
extension
large_stringclasses
75 values
text
stringlengths
0
6.46M
library(dplyr) library(shiny) library(plotly) library(shinydashboard) ## Nam employment_projection <- tabItem( tabName = "projection_tab", titlePanel("2016 - 2026 Employment Occupational Projection"), fluidRow( box(width = 2, title = "Widget", status = "warning", solidHeader ...
/scripts/projection.R
no_license
erin0306/Occupational-Projection-Dashboard
R
false
false
4,284
r
library(dplyr) library(shiny) library(plotly) library(shinydashboard) ## Nam employment_projection <- tabItem( tabName = "projection_tab", titlePanel("2016 - 2026 Employment Occupational Projection"), fluidRow( box(width = 2, title = "Widget", status = "warning", solidHeader ...
\alias{gdkWindowGetToplevel} \name{gdkWindowGetToplevel} \title{gdkWindowGetToplevel} \description{Gets the toplevel window that's an ancestor of \code{window}.} \usage{gdkWindowGetToplevel(object)} \arguments{\item{\code{object}}{[\code{\link{GdkWindow}}] a \code{\link{GdkWindow}}}} \value{[\code{\link{GdkWindow}}] ...
/man/gdkWindowGetToplevel.Rd
no_license
cran/RGtk2.10
R
false
false
437
rd
\alias{gdkWindowGetToplevel} \name{gdkWindowGetToplevel} \title{gdkWindowGetToplevel} \description{Gets the toplevel window that's an ancestor of \code{window}.} \usage{gdkWindowGetToplevel(object)} \arguments{\item{\code{object}}{[\code{\link{GdkWindow}}] a \code{\link{GdkWindow}}}} \value{[\code{\link{GdkWindow}}] ...
\name{MclustBootstrap} \alias{MclustBootstrap} \alias{print.MclustBootstrap} \title{Bootstrap Inference for Gaussian finite mixture models} \description{Bootstrap estimation of standard errors and percentile bootstrap confidence intervals for the parameters of a Gaussian mixture model.} \usage{ MclustBootstrap(objec...
/man/MclustBootstrap.Rd
no_license
kellyquek/mclust
R
false
false
3,618
rd
\name{MclustBootstrap} \alias{MclustBootstrap} \alias{print.MclustBootstrap} \title{Bootstrap Inference for Gaussian finite mixture models} \description{Bootstrap estimation of standard errors and percentile bootstrap confidence intervals for the parameters of a Gaussian mixture model.} \usage{ MclustBootstrap(objec...
#Simple 2-d transport system simulation simulate <- function(P, v, s, r_0 = b, t = max(times)) { results <- list() K <- sum(s) results[[1]] <- s for(i in 1:t) { s <- (exp(r_0)*s) / (1 + s*((exp(r_0) - 1)/K)) s <- P %*% s results[[i+1]] <- s } results <- data.frame(matrix...
/Simulation_code/deterministic_sim.R
no_license
apsicle/Network-Models-Thesis
R
false
false
696
r
#Simple 2-d transport system simulation simulate <- function(P, v, s, r_0 = b, t = max(times)) { results <- list() K <- sum(s) results[[1]] <- s for(i in 1:t) { s <- (exp(r_0)*s) / (1 + s*((exp(r_0) - 1)/K)) s <- P %*% s results[[i+1]] <- s } results <- data.frame(matrix...
#Example 3.2 #R code 3.2.2 #m : number of students m <- seq(10, 50, 5) P.E <- function(m){ c(Students = m, ProbAtL2SB = 1 - prod((365:(365 - m+1)/365))) } t(sapply(m, P.E)) #Example 3.17 #R code 3.7 opar <- par(no.readonly = TRUE) library(MASS) #used for fraction function par(mfrow=c(1,2), pty = "s") Omega <- ex...
/rcode-3.R
no_license
aksingh21/probstatR
R
false
false
2,627
r
#Example 3.2 #R code 3.2.2 #m : number of students m <- seq(10, 50, 5) P.E <- function(m){ c(Students = m, ProbAtL2SB = 1 - prod((365:(365 - m+1)/365))) } t(sapply(m, P.E)) #Example 3.17 #R code 3.7 opar <- par(no.readonly = TRUE) library(MASS) #used for fraction function par(mfrow=c(1,2), pty = "s") Omega <- ex...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/get_read_str.R \name{get_read_str} \alias{get_read_str} \title{Get read structure for particular scRNA-seq protocol} \usage{ get_read_str(protocol) } \arguments{ \item{protocol}{name of the protocol} } \value{ list of UMI and Barcode location...
/man/get_read_str.Rd
no_license
LuyiTian/scPipe
R
false
true
670
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/get_read_str.R \name{get_read_str} \alias{get_read_str} \title{Get read structure for particular scRNA-seq protocol} \usage{ get_read_str(protocol) } \arguments{ \item{protocol}{name of the protocol} } \value{ list of UMI and Barcode location...
#Computes Taylor's law slope (spatial if each column is a timeseries) and related information. # #Args #m A matrix (get spatial TL if each column is a timeseries) # #Output #A vector with these elements: #The Taylor's law regression slope #The Taylor's law regression intercept #The p-value for a quadratic co...
/Fn_tls.R
no_license
leiku/TL_proximate
R
false
false
1,376
r
#Computes Taylor's law slope (spatial if each column is a timeseries) and related information. # #Args #m A matrix (get spatial TL if each column is a timeseries) # #Output #A vector with these elements: #The Taylor's law regression slope #The Taylor's law regression intercept #The p-value for a quadratic co...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/plots.R \name{vis.number.count} \alias{vis.number.count} \title{Plot a histogram of counts.} \usage{ vis.number.count( .data, .ncol = 3, .name = "Histogram of clonotypes read counts", .col = "Read.count" ) } \arguments{ \item{.data}{C...
/fuzzedpackages/tcR/man/vis.number.count.Rd
no_license
akhikolla/testpackages
R
false
true
1,083
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/plots.R \name{vis.number.count} \alias{vis.number.count} \title{Plot a histogram of counts.} \usage{ vis.number.count( .data, .ncol = 3, .name = "Histogram of clonotypes read counts", .col = "Read.count" ) } \arguments{ \item{.data}{C...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/data.R \docType{data} \name{breast_cancer_clean_features} \alias{breast_cancer_clean_features} \title{Wisconsin Breast Cancer Database} \format{ A list containing a training and test dataset. These come from a data frame with 699 obs...
/man/breast_cancer_clean_features.Rd
no_license
cran/mangoTraining
R
false
true
3,102
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/data.R \docType{data} \name{breast_cancer_clean_features} \alias{breast_cancer_clean_features} \title{Wisconsin Breast Cancer Database} \format{ A list containing a training and test dataset. These come from a data frame with 699 obs...
### a ShinyApp to calculate diagnostic accuracy measures ### # #if( !exists("LoadPackages", mode="function")) source("FunctionsUsedByTestAccuracyApps.R") LoadPackages() enableBookmarking("url") options(shiny.error = browser) options(shiny.reactlog = TRUE) # True for debugging
/.Rproj.user/4E96A100/sources/s-31DF9753/C82695A9-contents
no_license
NIHRMICncl/Diagnostic-accuracy-calculator
R
false
false
283
### a ShinyApp to calculate diagnostic accuracy measures ### # #if( !exists("LoadPackages", mode="function")) source("FunctionsUsedByTestAccuracyApps.R") LoadPackages() enableBookmarking("url") options(shiny.error = browser) options(shiny.reactlog = TRUE) # True for debugging
# Course 4: Exploratory Data Analysis # # Course Project #1 # ## 0 - Download and read files #01 - set up working directory setwd("./AlexPersonal/DataScience/Assignments/Course4_ExploratoryDataAnalysis/Courseproj1") #02 - define dataset datafile <- "./household_power_consumption.txt" #03 - read dataset fullda...
/plot3.R
no_license
dushuang2/ExData_Plotting1
R
false
false
1,150
r
# Course 4: Exploratory Data Analysis # # Course Project #1 # ## 0 - Download and read files #01 - set up working directory setwd("./AlexPersonal/DataScience/Assignments/Course4_ExploratoryDataAnalysis/Courseproj1") #02 - define dataset datafile <- "./household_power_consumption.txt" #03 - read dataset fullda...
# *************************************************************** # Erick Gordón # erick.gordon@rowsums.com # https://www.linkedin.com/in/erickgordonb/ # *************************************************************** # libraries library(tidyverse) library(janitor) library(DataExplorer) # *****************************...
/00_scripts/functions.R
no_license
ErickGB/rowsums_rgroup_panama
R
false
false
1,304
r
# *************************************************************** # Erick Gordón # erick.gordon@rowsums.com # https://www.linkedin.com/in/erickgordonb/ # *************************************************************** # libraries library(tidyverse) library(janitor) library(DataExplorer) # *****************************...
setwd('/Users/jing/Desktop/MSBA/Spring/MKT591/TeamAssignment') # read csv file survey = read.csv('responses.csv', , header = TRUE) # preprocessing # remove rows with missing values complete.cases(survey) cleanedData <- survey[complete.cases(survey), ] cleanedData <- na.omit(survey) # remove outliers:(Multivariate) O...
/music_entertainment.R
no_license
JingZhou1/Young-People-Survey
R
false
false
3,193
r
setwd('/Users/jing/Desktop/MSBA/Spring/MKT591/TeamAssignment') # read csv file survey = read.csv('responses.csv', , header = TRUE) # preprocessing # remove rows with missing values complete.cases(survey) cleanedData <- survey[complete.cases(survey), ] cleanedData <- na.omit(survey) # remove outliers:(Multivariate) O...
portal_txt <- list( "parag0_title" = "SQuID goal", "parag0_contents_1" = "<b>SQuID</b> stands for <b>S</b>tatistical <b>Qu</b>antification of <b>I</b>ndividual <b>D</b>ifferences and is the product of the SQuID working group. The package aims to help scholars w...
/inst/shiny-squid/source/text/portal/txt_portal.R
no_license
cran/squid
R
false
false
16,923
r
portal_txt <- list( "parag0_title" = "SQuID goal", "parag0_contents_1" = "<b>SQuID</b> stands for <b>S</b>tatistical <b>Qu</b>antification of <b>I</b>ndividual <b>D</b>ifferences and is the product of the SQuID working group. The package aims to help scholars w...
\name{medSTC-package} \Rdversion{1.0} \alias{medSTC-package} \docType{package} \title{ Max-margin supervised Sparse Topical Coding model (Med-STC) } \description{ This package employs sparse topical coding models for multi-class classification developed by Jun Zhu and Eric P. Xing. The package uses a fast C imp...
/medSTC/man/medSTC-package.Rd
no_license
aykutfirat/MedSTC-R
R
false
false
1,425
rd
\name{medSTC-package} \Rdversion{1.0} \alias{medSTC-package} \docType{package} \title{ Max-margin supervised Sparse Topical Coding model (Med-STC) } \description{ This package employs sparse topical coding models for multi-class classification developed by Jun Zhu and Eric P. Xing. The package uses a fast C imp...
context("Function updateAdequacySettings") sapply(studies, function(study) { setup_study(study, sourcedir) opts <- antaresRead::setSimulationPath(studyPath, "input") if (opts$antaresVersion >= 850){ test_that("Update an adequacy parameter", { updateAdequacySettings(include_ad...
/tests/testthat/test-updateAdequacyPatch.R
no_license
cran/antaresEditObject
R
false
false
1,181
r
context("Function updateAdequacySettings") sapply(studies, function(study) { setup_study(study, sourcedir) opts <- antaresRead::setSimulationPath(studyPath, "input") if (opts$antaresVersion >= 850){ test_that("Update an adequacy parameter", { updateAdequacySettings(include_ad...
## Not to calculate inverse matrixes repeatedly, ## the first function caches an inverse matrix ## and the second function checks the cache and return the inverse ## This function caches an inverse matrix makeCacheMatrix <- function(x = matrix()) { i <- NULL set <- function(y) { x <<- y i <<-...
/cachematrix.R
no_license
Hiroshi-Kumazaki/ProgrammingAssignment2
R
false
false
981
r
## Not to calculate inverse matrixes repeatedly, ## the first function caches an inverse matrix ## and the second function checks the cache and return the inverse ## This function caches an inverse matrix makeCacheMatrix <- function(x = matrix()) { i <- NULL set <- function(y) { x <<- y i <<-...
# load Jolani code setwd("~/Dropbox/QSU/Mathur/PCORI/PCORI_git/r/Jolani/source") source("subfunctions-mm_edits.r") # load IMPISS code setwd("~/Dropbox/QSU/Mathur/PCORI/PCORI_git/r/IMPMISS/Code") source("impose_missingness_functions.R") # load parameters for IMPMISS setwd("~/Dropbox/QSU/Mathur/PCORI/PCORI_git/r/Jola...
/r/Jolani/Old versions/understand_jolani.R
no_license
qsuProjects/PCORI
R
false
false
5,854
r
# load Jolani code setwd("~/Dropbox/QSU/Mathur/PCORI/PCORI_git/r/Jolani/source") source("subfunctions-mm_edits.r") # load IMPISS code setwd("~/Dropbox/QSU/Mathur/PCORI/PCORI_git/r/IMPMISS/Code") source("impose_missingness_functions.R") # load parameters for IMPMISS setwd("~/Dropbox/QSU/Mathur/PCORI/PCORI_git/r/Jola...
#' Data Set 12: POTUS (Presidents of the United States) #' #' Note: Presidents who took office as the result of an assassination or reignation #' are not included. Data are complete as of this writing. #' \itemize{ #' \item President is the name of the president #' \item Age is age in years at the time of inaug...
/R/ds12.R
no_license
ngay/kustats
R
false
false
754
r
#' Data Set 12: POTUS (Presidents of the United States) #' #' Note: Presidents who took office as the result of an assassination or reignation #' are not included. Data are complete as of this writing. #' \itemize{ #' \item President is the name of the president #' \item Age is age in years at the time of inaug...
#Histogram for all variables in a dataset mtcars. #Write a program to create histograms for all columns library(tidyr) library(ggplot2) mtcars %>% gather() %>% head() ggplot(gather(mtcars), aes(value)) + geom_histogram(bins = 10) + facet_wrap(~key, scales = 'free_x') #Check the probability distribution of...
/Assignment7_1.R
no_license
diaslemuel/Acadgild_BASIC-STATISTICS_7.1
R
false
false
711
r
#Histogram for all variables in a dataset mtcars. #Write a program to create histograms for all columns library(tidyr) library(ggplot2) mtcars %>% gather() %>% head() ggplot(gather(mtcars), aes(value)) + geom_histogram(bins = 10) + facet_wrap(~key, scales = 'free_x') #Check the probability distribution of...
data <- read.table("household_power_consumption.txt",sep = ";",skip = 66637, nrow = 2880) data$V1 <- strptime(paste(data$V1, data$V2, sep = " ", collapse = NULL), "%d/%m/%Y %H:%M:%S") # plot4 png("plot4.png") par(mfrow=c(2,2)) plot(data$V1, data$V3, type = 'l', xlab = '', ylab = 'Global Active Power') plot(da...
/plot4.R
no_license
pakkanmeric/ExData_Plotting1
R
false
false
812
r
data <- read.table("household_power_consumption.txt",sep = ";",skip = 66637, nrow = 2880) data$V1 <- strptime(paste(data$V1, data$V2, sep = " ", collapse = NULL), "%d/%m/%Y %H:%M:%S") # plot4 png("plot4.png") par(mfrow=c(2,2)) plot(data$V1, data$V3, type = 'l', xlab = '', ylab = 'Global Active Power') plot(da...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/repgrid-plots.r \name{biplotSimple} \alias{biplotSimple} \title{A graphically unsophisticated version of a biplot.} \usage{ biplotSimple(x, dim = 1:2, center = 1, normalize = 0, g = 0, h = 1 - g, unity = T, col.active = NA, col.passive = NA...
/man/biplotSimple.Rd
no_license
artoo-git/OpenRepGrid
R
false
true
4,105
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/repgrid-plots.r \name{biplotSimple} \alias{biplotSimple} \title{A graphically unsophisticated version of a biplot.} \usage{ biplotSimple(x, dim = 1:2, center = 1, normalize = 0, g = 0, h = 1 - g, unity = T, col.active = NA, col.passive = NA...
require(data.table) # Implement genetic algorithm # create initial generation #### create_initial_gen <- function(count, init_means = 0, init_sd = 1) { initial_gen <- data.table(w = rnorm(count, init_means, init_sd), x = rnorm(count, init_means, init_sd), y = rnorm(count, init_means, init_sd), ...
/R/algorithm.R
no_license
NathanDeMaria/ThemGenes
R
false
false
1,952
r
require(data.table) # Implement genetic algorithm # create initial generation #### create_initial_gen <- function(count, init_means = 0, init_sd = 1) { initial_gen <- data.table(w = rnorm(count, init_means, init_sd), x = rnorm(count, init_means, init_sd), y = rnorm(count, init_means, init_sd), ...
### Elastic net is used to estimate invasiveness score library(caret) library(glmnet) library(gplots) library(ggpubr) ### Our primary dataset is used for training elastic net group<-read.table("./Information/NIHAD_FPKM_invasive_noninvasive_group.txt",header=T,sep="\t") sam_inv<-as.character(group[which(group$Group==1...
/Scripts/3_Elastic_net.R
no_license
integrativenetworkbiology/Tumor_invasion_esLUAD
R
false
false
4,832
r
### Elastic net is used to estimate invasiveness score library(caret) library(glmnet) library(gplots) library(ggpubr) ### Our primary dataset is used for training elastic net group<-read.table("./Information/NIHAD_FPKM_invasive_noninvasive_group.txt",header=T,sep="\t") sam_inv<-as.character(group[which(group$Group==1...
context("flowFrame methods...") data("GvHD") fr <- GvHD[[1]] test_that("range", { rng1 <- data.frame("FSC-H" = c(0,1023) ,"SSC-H" = c(0,1023) ,"FL1-H" = c(1,10000) ,"FL2-H" = c(1,10000) ,"FL3-H" = c(1,10000) ,"FL...
/tests/testthat/test-fr-methods.R
no_license
iskrypn/flowCore
R
false
false
2,475
r
context("flowFrame methods...") data("GvHD") fr <- GvHD[[1]] test_that("range", { rng1 <- data.frame("FSC-H" = c(0,1023) ,"SSC-H" = c(0,1023) ,"FL1-H" = c(1,10000) ,"FL2-H" = c(1,10000) ,"FL3-H" = c(1,10000) ,"FL...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/readfiles.R \name{read.multidna} \alias{read.multidna} \alias{read.multiFASTA} \alias{read.multiphyDat} \title{Read multiple DNA alignments} \usage{ read.multidna(files, add.gaps = TRUE, ...) read.multiFASTA(files, add.gaps = TRUE) read.mul...
/man/readfiles.Rd
no_license
thibautjombart/apex
R
false
true
1,462
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/readfiles.R \name{read.multidna} \alias{read.multidna} \alias{read.multiFASTA} \alias{read.multiphyDat} \title{Read multiple DNA alignments} \usage{ read.multidna(files, add.gaps = TRUE, ...) read.multiFASTA(files, add.gaps = TRUE) read.mul...
#imputation for biomarkers rm(list=ls()) mydata=readRDS("/tds/datasets/dummy_numeric_diet_subtype2.rds") colnames(mydata) biomarkers<-mydata[,c(48:53)] head(biomarkers) # calculate missing proportion miss<-function(x){ sum(is.na(x))/length(x) } apply(biomarkers,2,miss) head(apply(biomarkers,1,miss),30) ...
/tds imputation for biomarkers.R
no_license
oddgr/TDS_Codes_Group5
R
false
false
1,397
r
#imputation for biomarkers rm(list=ls()) mydata=readRDS("/tds/datasets/dummy_numeric_diet_subtype2.rds") colnames(mydata) biomarkers<-mydata[,c(48:53)] head(biomarkers) # calculate missing proportion miss<-function(x){ sum(is.na(x))/length(x) } apply(biomarkers,2,miss) head(apply(biomarkers,1,miss),30) ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/Model-class.R \docType{class} \name{DualEndpointOld-class} \alias{DualEndpointOld-class} \title{Dual endpoint model} \description{ todo: describe the model } \section{Slots}{ \describe{ \item{\code{mu}}{For the probit toxicity model, \code{m...
/man/DualEndpointOld-class.Rd
no_license
cran/crmPack
R
false
true
1,487
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/Model-class.R \docType{class} \name{DualEndpointOld-class} \alias{DualEndpointOld-class} \title{Dual endpoint model} \description{ todo: describe the model } \section{Slots}{ \describe{ \item{\code{mu}}{For the probit toxicity model, \code{m...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/genes.R \name{genes} \alias{genes} \title{Genes from BIOGRID v3.4.126} \format{ Array \describe{ \item{genes}{List of Entrez identifiers} } @source \url{http://thebiogrid.org/} } \description{ An array containing identifier...
/man/genes.Rd
no_license
sarbal/EGAD
R
false
true
347
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/genes.R \name{genes} \alias{genes} \title{Genes from BIOGRID v3.4.126} \format{ Array \describe{ \item{genes}{List of Entrez identifiers} } @source \url{http://thebiogrid.org/} } \description{ An array containing identifier...
# library(rBLAST) # # db_raiz <- blast(db="./www/trinity_raiz_400_cdhit_98_parseID.fasta") # # #seq <- "CGTGACTCGCTATAGTCAAGCAGTGGTGAGAATGAAAACCCTGTATTTATTGTATTCTATGATTTAAAAAATATTTTTTAGGAAAAGGTCCAACTAATCATAGGCGACCCGACTTTCGATGTCAATACGCTGCGGCACGGATAAGCACAAAGGCTACACTCCTGACAACGACAAAGCATCCATGGCCGGATGGCCCTCTAAATTTTTATG...
/Components/Comp_blast.R
no_license
ceslobfer/PinasterExpressionApp
R
false
false
2,923
r
# library(rBLAST) # # db_raiz <- blast(db="./www/trinity_raiz_400_cdhit_98_parseID.fasta") # # #seq <- "CGTGACTCGCTATAGTCAAGCAGTGGTGAGAATGAAAACCCTGTATTTATTGTATTCTATGATTTAAAAAATATTTTTTAGGAAAAGGTCCAACTAATCATAGGCGACCCGACTTTCGATGTCAATACGCTGCGGCACGGATAAGCACAAAGGCTACACTCCTGACAACGACAAAGCATCCATGGCCGGATGGCCCTCTAAATTTTTATG...
makeCacheMatrix <- function(x = matrix()) { # input x will be a matrix m <- NULL # m will store our 'inverse' and it's reset to NULL every # time makeVCacheMatrix is called set <- function(y) { # takes an input matrix x <<- y # saves the input...
/Practice/assigment2-complete.R
no_license
Fredus14/ProgrammingAssignment2
R
false
false
2,888
r
makeCacheMatrix <- function(x = matrix()) { # input x will be a matrix m <- NULL # m will store our 'inverse' and it's reset to NULL every # time makeVCacheMatrix is called set <- function(y) { # takes an input matrix x <<- y # saves the input...
test_that("cache_disk: handling missing values", { d <- cache_disk() expect_true(is.key_missing(d$get("abcd"))) d$set("a", 100) expect_identical(d$get("a"), 100) expect_identical(d$get("y", missing = NULL), NULL) expect_error( d$get("y", missing = stop("Missing key")), "^Missing key$", ) d <- ...
/tests/testthat/test-cache-disk.R
permissive
isabella232/cachem
R
false
false
6,975
r
test_that("cache_disk: handling missing values", { d <- cache_disk() expect_true(is.key_missing(d$get("abcd"))) d$set("a", 100) expect_identical(d$get("a"), 100) expect_identical(d$get("y", missing = NULL), NULL) expect_error( d$get("y", missing = stop("Missing key")), "^Missing key$", ) d <- ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/predictpc.R \name{predictpc} \alias{predictpc} \title{Predict Percentage Change} \usage{ predictpc(year) } \arguments{ \item{year}{Sets the year of bills to predict} } \value{ The percentage change of school bills at \code{year} ...
/man/predictpc.Rd
no_license
chriswu1996/williamsfinance
R
false
true
436
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/predictpc.R \name{predictpc} \alias{predictpc} \title{Predict Percentage Change} \usage{ predictpc(year) } \arguments{ \item{year}{Sets the year of bills to predict} } \value{ The percentage change of school bills at \code{year} ...
# Compare outliers found via "aggregate" method - computing a ratio of each CHW's questions > threshold to all questions answered by her per week - and the # "total" method - computing the ratio on data computed by running MMA on all data for all CHWs at once rm(list = ls()) require(ggplot2) require(scales) require(g...
/pvalues/scripts/find_outliers/compare_outliers-months.r
no_license
thisrunson/mHealth_outlier-detection
R
false
false
3,573
r
# Compare outliers found via "aggregate" method - computing a ratio of each CHW's questions > threshold to all questions answered by her per week - and the # "total" method - computing the ratio on data computed by running MMA on all data for all CHWs at once rm(list = ls()) require(ggplot2) require(scales) require(g...
21e4c57cbfa01d7e34ef2a28dd6bcc04 counter7_8.qdimacs 141 1267
/code/dcnf-ankit-optimized/Results/QBFLIB-2018/E1/Database/NuSMV_diam/Counter7/counter7_8/counter7_8.R
no_license
arey0pushpa/dcnf-autarky
R
false
false
60
r
21e4c57cbfa01d7e34ef2a28dd6bcc04 counter7_8.qdimacs 141 1267
library(dplyr) library(raster) library(ggplot2) library(Rmisc) library(ggpubr) setwd("/media/huijieqiao/Speciation_Extin/Sp_Richness_GCM/Script/diversity_in_e") source("commonFuns/functions.r") source("commonFuns/colors.r") threshold<-1 ttt=0 if (F){ for (ttt in c(0, 1, 2)){ for (threshold in c(1,5)){ g<-"M...
/Figures/when_where_extinction/figure_when_extinct.r
no_license
RannieWan/diversity_in_e
R
false
false
8,970
r
library(dplyr) library(raster) library(ggplot2) library(Rmisc) library(ggpubr) setwd("/media/huijieqiao/Speciation_Extin/Sp_Richness_GCM/Script/diversity_in_e") source("commonFuns/functions.r") source("commonFuns/colors.r") threshold<-1 ttt=0 if (F){ for (ttt in c(0, 1, 2)){ for (threshold in c(1,5)){ g<-"M...
\name{ecospat.ESM.responsePlot} \alias{ecospat.ESM.responsePlot} \title{ Produce response plots for ESMs } \description{ This function creates response plots (evaluation strips) for Ensmebles of Small Models (ESMs). } \usage{ ecospat.ESM.responsePlot( ESM.EnsembleModeling.output, ...
/man/ecospat.ESM.responsePlot.Rd
no_license
dondealban/ecospat
R
false
false
2,835
rd
\name{ecospat.ESM.responsePlot} \alias{ecospat.ESM.responsePlot} \title{ Produce response plots for ESMs } \description{ This function creates response plots (evaluation strips) for Ensmebles of Small Models (ESMs). } \usage{ ecospat.ESM.responsePlot( ESM.EnsembleModeling.output, ...
#' googleAuthR data fetch function generator #' #' This function generates other functions for use with Google APIs #' #' @param baseURI The stem of the API call. #' @param http_header Type of http request. #' @param path_args A named list with name=folder in request URI, value=the function variable. #' @param pars_arg...
/R/googleAuthR_generator.R
no_license
jmpasmoi/googleAuthR
R
false
false
12,395
r
#' googleAuthR data fetch function generator #' #' This function generates other functions for use with Google APIs #' #' @param baseURI The stem of the API call. #' @param http_header Type of http request. #' @param path_args A named list with name=folder in request URI, value=the function variable. #' @param pars_arg...
# used in divide_matrices() (2020-06-13) get_scale_pars <- function(mat, groups, scale_vars, refs, fcts_all, interactions, data) { # create a list of matrices containing the scaling parameters corresponding # to each of the design matrices if (is.null(mat) | (!is.null(scale_var...
/R/scaling.R
no_license
cran/JointAI
R
false
false
8,985
r
# used in divide_matrices() (2020-06-13) get_scale_pars <- function(mat, groups, scale_vars, refs, fcts_all, interactions, data) { # create a list of matrices containing the scaling parameters corresponding # to each of the design matrices if (is.null(mat) | (!is.null(scale_var...
################################################################# ## Script to install useful R/Bioconductor packages in batch ## ## ## ## Fengyuan Hu. fengyuan.huu@gmail.com ## #######################################################...
/R/install_packages.R
no_license
boboppie/R-Package-Installation
R
false
false
1,604
r
################################################################# ## Script to install useful R/Bioconductor packages in batch ## ## ## ## Fengyuan Hu. fengyuan.huu@gmail.com ## #######################################################...
## Put comments here that give an overall description of what your ## functions do ## This function creates a special “matrix” object that can cache its inverse. makeCacheMatrix <- function(x = matrix()) { m <- NULL set <- function(y) { x <<- y m <<- NULL ...
/cachematrix.R
no_license
bokila/ProgrammingAssignment2
R
false
false
926
r
## Put comments here that give an overall description of what your ## functions do ## This function creates a special “matrix” object that can cache its inverse. makeCacheMatrix <- function(x = matrix()) { m <- NULL set <- function(y) { x <<- y m <<- NULL ...
\name{throat} \alias{throat} \docType{data} \title{Throat Data Set} \description{A data set containing all taxa from 22 subjects.} \usage{data(throat)} \format{ The format is a data frame of 529 rows by 22 columns, with each column being a separate subject and each row being a different taxa denoted by t...
/HMPTrees/man/throat.Rd
no_license
BioRankings/HMPTrees
R
false
false
714
rd
\name{throat} \alias{throat} \docType{data} \title{Throat Data Set} \description{A data set containing all taxa from 22 subjects.} \usage{data(throat)} \format{ The format is a data frame of 529 rows by 22 columns, with each column being a separate subject and each row being a different taxa denoted by t...
##------------------------------------------------------------------ ## Process Raw Data Files ##------------------------------------------------------------------ ##------------------------------------------------------------------ ## Load libraries ##------------------------------------------------------------------...
/50_randomforest_benchmark.r
no_license
bishopsqueeze/k_ott
R
false
false
4,755
r
##------------------------------------------------------------------ ## Process Raw Data Files ##------------------------------------------------------------------ ##------------------------------------------------------------------ ## Load libraries ##------------------------------------------------------------------...
> tamsaa3 function(ctime, time) { # Time Censored Crow-AMSAA parameter estimation and plot # # ctime = Censoring Time # times = vector of failure times # #ln.x <- log(time) n <- length(time) #beta.bias <- n/(n * log(ctime) - sum(ln.x)) #lamb.bias <- n/ctime^beta.bias #end.bias <- lamb....
/tamsaa3.R
no_license
robertandrewstevens/R
R
false
false
2,257
r
> tamsaa3 function(ctime, time) { # Time Censored Crow-AMSAA parameter estimation and plot # # ctime = Censoring Time # times = vector of failure times # #ln.x <- log(time) n <- length(time) #beta.bias <- n/(n * log(ctime) - sum(ln.x)) #lamb.bias <- n/ctime^beta.bias #end.bias <- lamb....
# This is the server logic for a Shiny web application. # You can find out more about building applications with Shiny here: # # http://shiny.rstudio.com # library(shiny) #' Calculate VAF peak location #' @param p Tumour purity (float: proportion [0, 1]) #' @param cnt Total chromosome number of segment in tumour (in...
/server.R
no_license
TransmissibleCancerGroup/vaf_simulator
R
false
false
3,628
r
# This is the server logic for a Shiny web application. # You can find out more about building applications with Shiny here: # # http://shiny.rstudio.com # library(shiny) #' Calculate VAF peak location #' @param p Tumour purity (float: proportion [0, 1]) #' @param cnt Total chromosome number of segment in tumour (in...
#remove environment rm(list=ls()) # Load packages library('ggplot2') # visualization library('ggthemes') # visualization library('scales') # visualization library('dplyr') # data manipulation library('mice') # imputation library('randomForest') # classification algorithm library('caret') library('e1071') #you need to ...
/Bayes2.R
no_license
gaoxiang9430/Bank-Marketing-Learning
R
false
false
1,889
r
#remove environment rm(list=ls()) # Load packages library('ggplot2') # visualization library('ggthemes') # visualization library('scales') # visualization library('dplyr') # data manipulation library('mice') # imputation library('randomForest') # classification algorithm library('caret') library('e1071') #you need to ...
require(spatialEco) require(sp) require(usedist) require(rgeos) require(raster) require(spatstat) require(igraph) require(sf) require(rgdal) require(gdistance) require(otuSummary) require(gdata) require(maptools) require(tidyverse) require(reshape2) require(data.table) #setwd("E:/LCP sensitivity test/HPC_all_inputs") ...
/Code/HPC_1000randspsyr30Rep3.R
no_license
ZacharyRobbins/TransferHPC
R
false
false
14,796
r
require(spatialEco) require(sp) require(usedist) require(rgeos) require(raster) require(spatstat) require(igraph) require(sf) require(rgdal) require(gdistance) require(otuSummary) require(gdata) require(maptools) require(tidyverse) require(reshape2) require(data.table) #setwd("E:/LCP sensitivity test/HPC_all_inputs") ...
#' Scatterplot of lidar canopy height and InSAR coherence and backscatter #' init: 24.05.2020 library(raster) library(sf) library(ggplot2) library(rgdal) library(gdalUtils) library(tidyverse) library(mapview) # Input DATA ------------------------------------------------------------------- backscatter_20m_linear = "...
/R/deprecated/plot_backscatter_linear_chm.R
no_license
konstantinschellenberg/GEO411
R
false
false
2,236
r
#' Scatterplot of lidar canopy height and InSAR coherence and backscatter #' init: 24.05.2020 library(raster) library(sf) library(ggplot2) library(rgdal) library(gdalUtils) library(tidyverse) library(mapview) # Input DATA ------------------------------------------------------------------- backscatter_20m_linear = "...
# EXPLORATORY DATA ANALYSIS # Peer-graded Assignment: Course Project 1 # By Andrea Ballestero on 5/25/2020 # PLOT 3 # Load data houseData <- read.csv("~/R/Coursera/ExData_Plotting1/household_power_consumption.txt", sep=";") head(houseData) dim(houseData) # Add variable designating complete date and give it "date an...
/plot3.R
no_license
aballesgit/ExData_Plotting1
R
false
false
1,459
r
# EXPLORATORY DATA ANALYSIS # Peer-graded Assignment: Course Project 1 # By Andrea Ballestero on 5/25/2020 # PLOT 3 # Load data houseData <- read.csv("~/R/Coursera/ExData_Plotting1/household_power_consumption.txt", sep=";") head(houseData) dim(houseData) # Add variable designating complete date and give it "date an...
##################################### # Script setup sdm_data # R version 4.1 .1 # modler version 0.0.1 ##################################### ## Carregague as bibliotecas instaladas library(sp) library(modleR) library(raster) # Ao criar um projeto no Rstudio (e neste exemplo integrado ao Git e Github), o R já enten...
/R/2-Scripts_ENMs_SDMs/2_ do_any_do_many.R
no_license
DeibsBelo/projeto_01
R
false
false
3,308
r
##################################### # Script setup sdm_data # R version 4.1 .1 # modler version 0.0.1 ##################################### ## Carregague as bibliotecas instaladas library(sp) library(modleR) library(raster) # Ao criar um projeto no Rstudio (e neste exemplo integrado ao Git e Github), o R já enten...
summary.kohonen <- function(object, ...) { cat("SOM of size ", object$grid$xdim, "x", object$grid$ydim, " with a ", object$grid$topo, if (object$grid$toroidal) "toroidal", " topology and a ", as.character(object$grid$neighbourhood.fct), " neighbourhood function.", sep="") cat("\nThe number ...
/R/summary.R
no_license
cran/kohonen
R
false
false
1,302
r
summary.kohonen <- function(object, ...) { cat("SOM of size ", object$grid$xdim, "x", object$grid$ydim, " with a ", object$grid$topo, if (object$grid$toroidal) "toroidal", " topology and a ", as.character(object$grid$neighbourhood.fct), " neighbourhood function.", sep="") cat("\nThe number ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/lazytensor_operations.R \name{arithmetic.subtract.LazyTensor} \alias{arithmetic.subtract.LazyTensor} \alias{-.LazyTensor} \alias{-.ComplexLazyTensor} \title{Subtraction or minus sign.} \usage{ # if x or y is a LazyTensor - x x - y # if x or ...
/rkeops/man/arithmetic.subtract.LazyTensor.Rd
permissive
getkeops/keops
R
false
true
1,827
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/lazytensor_operations.R \name{arithmetic.subtract.LazyTensor} \alias{arithmetic.subtract.LazyTensor} \alias{-.LazyTensor} \alias{-.ComplexLazyTensor} \title{Subtraction or minus sign.} \usage{ # if x or y is a LazyTensor - x x - y # if x or ...
\name{get_new_samp_score} \alias{get_new_samp_score} \title{ Get a pathway score for an unseen sample } \description{ Using the gene weights learned from the reference cohort, we apply the weightings to new samples to estimate their pathway activity. } \usage{ get_new_samp_score(gene_weights, expression_se, run_normal...
/man/get_new_samp_score.Rd
permissive
nrosed/ssPATHS
R
false
false
2,397
rd
\name{get_new_samp_score} \alias{get_new_samp_score} \title{ Get a pathway score for an unseen sample } \description{ Using the gene weights learned from the reference cohort, we apply the weightings to new samples to estimate their pathway activity. } \usage{ get_new_samp_score(gene_weights, expression_se, run_normal...
# install.packages('magick') library(magick) library(digest) library(data.table) library(parallel) #str(magick::magick_config()) # try to create a set I can play with. chr.target.dir <- 'photos' dir.create(chr.target.dir, showWarnings = FALSE, recursive = TRUE) lst.folders <- list( bad = c('Bad photos directorie...
/create dataset.R
no_license
sameermanek/identifying-good-photos
R
false
false
2,498
r
# install.packages('magick') library(magick) library(digest) library(data.table) library(parallel) #str(magick::magick_config()) # try to create a set I can play with. chr.target.dir <- 'photos' dir.create(chr.target.dir, showWarnings = FALSE, recursive = TRUE) lst.folders <- list( bad = c('Bad photos directorie...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/data.R \docType{data} \name{MAPITR_TestData_Genotypes} \alias{MAPITR_TestData_Genotypes} \title{MAPITR TestData Genotypes} \format{ A data frame with 750 rows (individuals) and 10000 variables (SNPs) } \source{ Manually created } \descriptio...
/man/MAPITR_TestData_Genotypes.Rd
permissive
pcarbo/MAPITR
R
false
true
396
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/data.R \docType{data} \name{MAPITR_TestData_Genotypes} \alias{MAPITR_TestData_Genotypes} \title{MAPITR TestData Genotypes} \format{ A data frame with 750 rows (individuals) and 10000 variables (SNPs) } \source{ Manually created } \descriptio...
# Copyright 2019 Cloudera Inc. # # 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/unscope.R
permissive
R-forks-to-learn/tidyquery
R
false
false
1,626
r
# Copyright 2019 Cloudera Inc. # # 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...
xmods <- c() ms <- delta$mod == 'mm' xmods <- c(xmods, 'mm') # drivers usbs <- delta$mmod == 'drivers/usb' scsis <- delta$mmod == 'drivers/scsi' ides <- delta$mmod == 'drivers/ide' xmods <- c(xmods, c('drivers/usb', 'drivers/scsi', 'drivers/ide')) # arch mipss <- delta$mmod == 'arch/mips' arms <- delta$...
/code/select.R
no_license
pkuas/linux-history
R
false
false
745
r
xmods <- c() ms <- delta$mod == 'mm' xmods <- c(xmods, 'mm') # drivers usbs <- delta$mmod == 'drivers/usb' scsis <- delta$mmod == 'drivers/scsi' ides <- delta$mmod == 'drivers/ide' xmods <- c(xmods, c('drivers/usb', 'drivers/scsi', 'drivers/ide')) # arch mipss <- delta$mmod == 'arch/mips' arms <- delta$...
# The following R script is written to fulfil the followings requirements stated in the course project: # 1. Merges the training and the test sets to create one data set. # 2. Extracts only the measurements on the mean and standard deviation for each measurement. # 3. Uses descriptive activity names to name the activit...
/run_analysis.R
no_license
itanyinmath/Course-3-Project
R
false
false
2,601
r
# The following R script is written to fulfil the followings requirements stated in the course project: # 1. Merges the training and the test sets to create one data set. # 2. Extracts only the measurements on the mean and standard deviation for each measurement. # 3. Uses descriptive activity names to name the activit...
testlist <- list(data = structure(c(9.93879168614405e-310, 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), .Dim = c(4L, 9L)), q = 0) result <- do.call(biwavelet:::rcpp_row_quantile,testlist) str(result)
/biwavelet/inst/testfiles/rcpp_row_quantile/libFuzzer_rcpp_row_quantile/rcpp_row_quantile_valgrind_files/1610554050-test.R
no_license
akhikolla/updated-only-Issues
R
false
false
262
r
testlist <- list(data = structure(c(9.93879168614405e-310, 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), .Dim = c(4L, 9L)), q = 0) result <- do.call(biwavelet:::rcpp_row_quantile,testlist) str(result)
ui <- shiny::fluidPage(shiny::tags$h3("Demo App: Basic Shiny table input"), shiny::tags$br(), shiny::tags$div(style = "margin-left:50px;", shiny::textOutput("text_output")), shiny::tags$br(), ...
/inst/app_examples/demo_01/app.R
no_license
drbulu/shinyinputtables
R
false
false
1,633
r
ui <- shiny::fluidPage(shiny::tags$h3("Demo App: Basic Shiny table input"), shiny::tags$br(), shiny::tags$div(style = "margin-left:50px;", shiny::textOutput("text_output")), shiny::tags$br(), ...
## testing out to see if biomass is different at different timesteps in gadget ## or, rather, how much it differs library(dplyr) library(ggplot2) setwd('~/gadget/models/atlantis/haddock/hadModel/WGTS/out.fit') had.std.end <- read.table('had.std', comment.char = ';') names(had.std.end) <- c('year', 'step', 'area', 'age...
/haddock/modelCheck/gadgetMonthlyBiomass.R
no_license
inspktrgadget/atlantis
R
false
false
1,690
r
## testing out to see if biomass is different at different timesteps in gadget ## or, rather, how much it differs library(dplyr) library(ggplot2) setwd('~/gadget/models/atlantis/haddock/hadModel/WGTS/out.fit') had.std.end <- read.table('had.std', comment.char = ';') names(had.std.end) <- c('year', 'step', 'area', 'age...
#' @examples #' \dontrun{ #' res <- dfp_updateMobileApplications(request_data) #' }
/examples/examples-dfp_updateMobileApplications.R
no_license
JhuangSiteAnalytics/rdfp
R
false
false
84
r
#' @examples #' \dontrun{ #' res <- dfp_updateMobileApplications(request_data) #' }
pkgname <- "tReebin" source(file.path(R.home("share"), "R", "examples-header.R")) options(warn = 1) base::assign(".ExTimings", "tReebin-Ex.timings", pos = 'CheckExEnv') base::cat("name\tuser\tsystem\telapsed\n", file=base::get(".ExTimings", pos = 'CheckExEnv')) base::assign(".format_ptime", function(x) { if(!is.na(x[...
/tReebin.Rcheck/tReebin-Ex.R
no_license
JL-Woodcock/tReebin
R
false
false
1,408
r
pkgname <- "tReebin" source(file.path(R.home("share"), "R", "examples-header.R")) options(warn = 1) base::assign(".ExTimings", "tReebin-Ex.timings", pos = 'CheckExEnv') base::cat("name\tuser\tsystem\telapsed\n", file=base::get(".ExTimings", pos = 'CheckExEnv')) base::assign(".format_ptime", function(x) { if(!is.na(x[...
% Generated by roxygen2 (4.1.1): do not edit by hand % Please edit documentation in R/echseOptimize.r \name{echse_optimize} \alias{echse_optimize} \title{Optimization with ECHSE-based models} \usage{ echse_optimize(opt_func, opt_args, model_path, model_args, file_cnf, simStart, simEnd, outdir, placeholder_openChar = ...
/R/packages/mops/man/echse_optimize.Rd
permissive
echse/echse_tools
R
false
false
6,276
rd
% Generated by roxygen2 (4.1.1): do not edit by hand % Please edit documentation in R/echseOptimize.r \name{echse_optimize} \alias{echse_optimize} \title{Optimization with ECHSE-based models} \usage{ echse_optimize(opt_func, opt_args, model_path, model_args, file_cnf, simStart, simEnd, outdir, placeholder_openChar = ...
#!/usr/bin/env Rscript library(RCircos); library(scales) library(optparse) my.RCircos.Tile.Plot <- function (tile.data, track.num, side, tile.colors=NA) { RCircos.Pos <- RCircos.Get.Plot.Positions() RCircos.Par <- RCircos.Get.Plot.Parameters() tile.data <- RCircos.Get.Plot.Data.nosort(tile.data, "plot") the....
/opencga-analysis/src/main/R/circos/circos.R
permissive
andbloch/opencga
R
false
false
25,673
r
#!/usr/bin/env Rscript library(RCircos); library(scales) library(optparse) my.RCircos.Tile.Plot <- function (tile.data, track.num, side, tile.colors=NA) { RCircos.Pos <- RCircos.Get.Plot.Positions() RCircos.Par <- RCircos.Get.Plot.Parameters() tile.data <- RCircos.Get.Plot.Data.nosort(tile.data, "plot") the....
% Generated by roxygen2 (4.0.2): do not edit by hand \name{rotate} \alias{rev.hclust} \alias{rotate} \alias{rotate.default} \alias{rotate.dendrogram} \alias{rotate.hclust} \alias{rotate.phylo} \alias{sort.dendrogram} \alias{sort.hclust} \title{Rotate a tree object} \usage{ rotate(x, ...) \method{rotate}{dendrogram}(x,...
/man/rotate.Rd
no_license
YTLogos/dendextend
R
false
false
4,812
rd
% Generated by roxygen2 (4.0.2): do not edit by hand \name{rotate} \alias{rev.hclust} \alias{rotate} \alias{rotate.default} \alias{rotate.dendrogram} \alias{rotate.hclust} \alias{rotate.phylo} \alias{sort.dendrogram} \alias{sort.hclust} \title{Rotate a tree object} \usage{ rotate(x, ...) \method{rotate}{dendrogram}(x,...
\name{LinearModelFit} \alias{LinearModelFit} \title{Linear models} \description{ Fit a linear model to each metabolite in a metabolomics data matrix, optionally fitting ruv2 method to remove unwanted variation, and compute t-statistics, F-statistic, and corresponding p-values. Either ordinary statistics or emp...
/man/LinearModelFit.rd
no_license
abhorrentPantheon/metabolomics
R
false
false
6,010
rd
\name{LinearModelFit} \alias{LinearModelFit} \title{Linear models} \description{ Fit a linear model to each metabolite in a metabolomics data matrix, optionally fitting ruv2 method to remove unwanted variation, and compute t-statistics, F-statistic, and corresponding p-values. Either ordinary statistics or emp...
# 1_harmonic -------------------------------------------------------------- library(ggplot2) library(ggrepel) source('functions/plot_functions.R') source('functions/annotation_functions.R') source('functions/general_functions.R') #load('outputData/class_probilities/class_probilities_all_compounds_final.RData') ...
/scripts/6_3_Developing_Harmonic_and_average_EDC_scores.R
no_license
parnazM/EDTOX
R
false
false
6,526
r
# 1_harmonic -------------------------------------------------------------- library(ggplot2) library(ggrepel) source('functions/plot_functions.R') source('functions/annotation_functions.R') source('functions/general_functions.R') #load('outputData/class_probilities/class_probilities_all_compounds_final.RData') ...
library(shiny) library(HistData) data(GaltonFamilies) library(dplyr) library(ggplot2) # 1st step: Pass inches to cm gf <- GaltonFamilies gf <- gf %>% mutate(father=father*2.54, mother=mother*2.54, childHeight=childHeight*2.54) # linear model model1 <- lm(childHeight ~ father + ...
/server.R
no_license
Owen-34/DDPro_PeerAssessment3
R
false
false
1,962
r
library(shiny) library(HistData) data(GaltonFamilies) library(dplyr) library(ggplot2) # 1st step: Pass inches to cm gf <- GaltonFamilies gf <- gf %>% mutate(father=father*2.54, mother=mother*2.54, childHeight=childHeight*2.54) # linear model model1 <- lm(childHeight ~ father + ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/sugar.R \name{download_parquet} \alias{download_parquet} \title{Parquet from URL Fetcher} \usage{ download_parquet(url) } \arguments{ \item{url}{A direct URL of Parquet file} } \value{ A dataframe with Parquet file's data. } \description{ Fet...
/man/download_parquet.Rd
no_license
highandmighty/r-sugar
R
false
true
448
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/sugar.R \name{download_parquet} \alias{download_parquet} \title{Parquet from URL Fetcher} \usage{ download_parquet(url) } \arguments{ \item{url}{A direct URL of Parquet file} } \value{ A dataframe with Parquet file's data. } \description{ Fet...
#################################################################################################### ###----------------------------------------------------------------------------------------------### # \ || / # AA \ || / MMM MMM IIII PPPPP # AAAA \\ ...
/Sonali_AgMIPClimate/RscriptsAndTestClim_20140723/r/run_agmip_simple_delta.R
no_license
sonalimcdermid/Climate-Scenarios-Generator
R
false
false
7,203
r
#################################################################################################### ###----------------------------------------------------------------------------------------------### # \ || / # AA \ || / MMM MMM IIII PPPPP # AAAA \\ ...
#!/usr/bin/env Rscript ################################################################### # ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ # ################################################################### ################################################################### # ts2adjmat reads in n...
/utils/ts2adjmat.R
permissive
PennLINC/xcpEngine
R
false
false
2,651
r
#!/usr/bin/env Rscript ################################################################### # ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ # ################################################################### ################################################################### # ts2adjmat reads in n...
## These functions create an object that can cache the inverse of a matrix. ## BTW: Thank you for reviewing my work, I appreciate it :) ## In this function I set the value of the matrix, then "get" the value of the matrix. After, I set the inverse and then "get" the inverse with solve() makeCacheMatrix <- func...
/cachematrix.R
no_license
psegdav/ProgrammingAssignment2
R
false
false
1,130
r
## These functions create an object that can cache the inverse of a matrix. ## BTW: Thank you for reviewing my work, I appreciate it :) ## In this function I set the value of the matrix, then "get" the value of the matrix. After, I set the inverse and then "get" the inverse with solve() makeCacheMatrix <- func...
############ library(SummarizedExperiment) library(jaffelab) ## make directory dir.create("count_data") ## load counts load("preprocessed_data/rpkmCounts_Clonetech_CST_HiSeq_n6.rda") load("preprocessed_data/rawCounts_Clonetech_CST_HiSeq_n6.rda") # read in pheno pd = read.csv("clonetech_cst_ip_vs_input_pheno.csv") ro...
/ip_vs_input_analysis/prep_count_data.R
no_license
LieberInstitute/cst_trap_seq
R
false
false
2,049
r
############ library(SummarizedExperiment) library(jaffelab) ## make directory dir.create("count_data") ## load counts load("preprocessed_data/rpkmCounts_Clonetech_CST_HiSeq_n6.rda") load("preprocessed_data/rawCounts_Clonetech_CST_HiSeq_n6.rda") # read in pheno pd = read.csv("clonetech_cst_ip_vs_input_pheno.csv") ro...
## (there are only two days, so date alone wouldn't produce sufficient data') ## we use a combination of date and time ## first convert character to date ... data$Date <- strptime(data$Date, "%d/%m/%Y") ## ... then add time to it (using strptime does not work), ## creating a new combination Moments data$Moments <- as...
/plot4.R
no_license
Nr6/ProgrammingAssignment
R
false
false
1,344
r
## (there are only two days, so date alone wouldn't produce sufficient data') ## we use a combination of date and time ## first convert character to date ... data$Date <- strptime(data$Date, "%d/%m/%Y") ## ... then add time to it (using strptime does not work), ## creating a new combination Moments data$Moments <- as...
\name{mvorpb} \alias{mvorpb} \title{ Depends: R(>= 3.0.3) } \description{ Orthant Probability of the Multivariate Normal Distribution } \usage{ mvorpb( dim.p , m.tgt , v.tgt , n.itr , it.rg ) } \arguments{ \item{dim.p}{ Dimension to evaluate (Integer, Scalar) } \item{m.tgt}{ Mean vector(Real vector,...
/man/mvorpb.Rd
no_license
cran/mvprpb
R
false
false
2,264
rd
\name{mvorpb} \alias{mvorpb} \title{ Depends: R(>= 3.0.3) } \description{ Orthant Probability of the Multivariate Normal Distribution } \usage{ mvorpb( dim.p , m.tgt , v.tgt , n.itr , it.rg ) } \arguments{ \item{dim.p}{ Dimension to evaluate (Integer, Scalar) } \item{m.tgt}{ Mean vector(Real vector,...
####################Section for Directories-FileDownload and Library Setup################### dir<-"./EDAProject2/Data" if (!dir.exists(dir)){ dir.create(dir) } plotdir<-"./EDAProject2/CodeAndPlots" if(!dir.exists(plotdir)){ dir.create(plotdir) } FileURL<-"https://d396qusza40orc.cloudfront.net/exdata%2F...
/Plot3.R
no_license
shahnawazhuss/EDAProject2
R
false
false
1,493
r
####################Section for Directories-FileDownload and Library Setup################### dir<-"./EDAProject2/Data" if (!dir.exists(dir)){ dir.create(dir) } plotdir<-"./EDAProject2/CodeAndPlots" if(!dir.exists(plotdir)){ dir.create(plotdir) } FileURL<-"https://d396qusza40orc.cloudfront.net/exdata%2F...
#!/home/genesky/software/r/4.0.5/bin/Rscript library(docopt) "Usage: two_matrix_correlation.r --matrix1 <file> --matrix2 <file> -s <file> -o <dir> [--cor_method <string> --width <numeric> --height <numeric> --pvalue_cutoff <numeric> --title <string> --tl_cex <numeric> --number_cex <numeric> --pch_cex <numeric> --cl_...
/plot_correlation_two_matrix.r
no_license
ccoo22/personal_tools
R
false
false
5,825
r
#!/home/genesky/software/r/4.0.5/bin/Rscript library(docopt) "Usage: two_matrix_correlation.r --matrix1 <file> --matrix2 <file> -s <file> -o <dir> [--cor_method <string> --width <numeric> --height <numeric> --pvalue_cutoff <numeric> --title <string> --tl_cex <numeric> --number_cex <numeric> --pch_cex <numeric> --cl_...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/data-movie.R \docType{data} \name{movie_629} \alias{movie_629} \title{Sister Act} \format{igraph object} \source{ https://dataverse.harvard.edu/dataset.xhtml?persistentId=doi:10.7910/DVN/T4HBA3 https://www.imdb.com/title/tt0105417 } \usage{ ...
/man/movie_629.Rd
permissive
physthoth/networkdata
R
false
true
647
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/data-movie.R \docType{data} \name{movie_629} \alias{movie_629} \title{Sister Act} \format{igraph object} \source{ https://dataverse.harvard.edu/dataset.xhtml?persistentId=doi:10.7910/DVN/T4HBA3 https://www.imdb.com/title/tt0105417 } \usage{ ...
# Run "InputData.R" file before this file # Please note that since the system language is French, therefore # the days of the week shown in the x-axis are "Jeu", "Ven" and "Sam" for "Thu", "Fri" and "Sat" # Do Plot 1 and export it into png file DataExtd$Global_active_power <- as.numeric(as.character(DataExtd$Global_...
/plot1.R
no_license
dliulhd/ExData_Plotting1
R
false
false
499
r
# Run "InputData.R" file before this file # Please note that since the system language is French, therefore # the days of the week shown in the x-axis are "Jeu", "Ven" and "Sam" for "Thu", "Fri" and "Sat" # Do Plot 1 and export it into png file DataExtd$Global_active_power <- as.numeric(as.character(DataExtd$Global_...
library(performanceEstimation) ### Name: metricsSummary ### Title: Obtains a summary of the individual metric scores obtained by ### each workflow on a set of tasks. ### Aliases: metricsSummary ### Keywords: models ### ** Examples ## Not run: ##D ## Estimating several evaluation metrics on different variants of ...
/data/genthat_extracted_code/performanceEstimation/examples/metricsSummary.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
1,289
r
library(performanceEstimation) ### Name: metricsSummary ### Title: Obtains a summary of the individual metric scores obtained by ### each workflow on a set of tasks. ### Aliases: metricsSummary ### Keywords: models ### ** Examples ## Not run: ##D ## Estimating several evaluation metrics on different variants of ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/write_text.R \name{write_text} \alias{write_text} \title{Write text in minecraft} \usage{ write_text(text, lowerleft, font = c("4x5", "4x6", "4x8", "6x6", "8x6", "4x12", "6x12", "8x12", "8x16", "16x16"), id = 1, style = 0, dir = c("north"...
/man/write_text.Rd
permissive
statkclee/craft
R
false
true
1,012
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/write_text.R \name{write_text} \alias{write_text} \title{Write text in minecraft} \usage{ write_text(text, lowerleft, font = c("4x5", "4x6", "4x8", "6x6", "8x6", "4x12", "6x12", "8x12", "8x16", "16x16"), id = 1, style = 0, dir = c("north"...
#Name: Dhaval Salwala #Student ID: 18230845 #loading libraries library(readr) library(ggplot2) library(dplyr) library(stringr) stopwords <- c("a", "about", "above", "above", "across", "after", "afterwards", "again", "against", "all", "almost", "alone", "along", "already", "also","although", ...
/assignments/assign8/assignment8.R
permissive
dhavalsalwala/R-for-data-science
R
false
false
4,649
r
#Name: Dhaval Salwala #Student ID: 18230845 #loading libraries library(readr) library(ggplot2) library(dplyr) library(stringr) stopwords <- c("a", "about", "above", "above", "across", "after", "afterwards", "again", "against", "all", "almost", "alone", "along", "already", "also","although", ...
#!/home/bio-longyk/apps/R-3.5.0/bin/Rscript ##Load Library suppressPackageStartupMessages(library("DESeq2")) #library("pheatmap") library("RColorBrewer") args<-commandArgs(T) pdf("DESeq2_Result.pdf") ctrl='bg' test='fg' cts = read.table("Count_all.txt",header=TRUE,sep="\t",row.names=1) ###Rewirte Colum Names col...
/workspace/Sunwei2/deseq2.r.2018100811
no_license
ijayden-lung/hpc
R
false
false
1,537
2018100811
#!/home/bio-longyk/apps/R-3.5.0/bin/Rscript ##Load Library suppressPackageStartupMessages(library("DESeq2")) #library("pheatmap") library("RColorBrewer") args<-commandArgs(T) pdf("DESeq2_Result.pdf") ctrl='bg' test='fg' cts = read.table("Count_all.txt",header=TRUE,sep="\t",row.names=1) ###Rewirte Colum Names col...
# A function to automate the generation # of requested multimeric alignment from a single chain based 'pdbs' play.biounit <- function(pdbs, nmer = 1, is.nmr=FALSE, dir.rawpdb = "raw_pdbs", dir.output = "biounit", cofactor.ext = "_cofactor", file = "aln.fa", ncore=NULL) { require(bio3d) # raw pdb ids to pr...
/new_funs/play.biounit.R
no_license
Grantlab/bio3d
R
false
false
5,870
r
# A function to automate the generation # of requested multimeric alignment from a single chain based 'pdbs' play.biounit <- function(pdbs, nmer = 1, is.nmr=FALSE, dir.rawpdb = "raw_pdbs", dir.output = "biounit", cofactor.ext = "_cofactor", file = "aln.fa", ncore=NULL) { require(bio3d) # raw pdb ids to pr...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/load_french_creek.R \name{load_french_creek} \alias{load_french_creek} \title{Load a short dataset from French Creek} \usage{ load_french_creek(attach.units = TRUE) } \arguments{ \item{attach.units}{logical. Should units be attached to the da...
/man/load_french_creek.Rd
permissive
appling/streamMetabolizer
R
false
true
443
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/load_french_creek.R \name{load_french_creek} \alias{load_french_creek} \title{Load a short dataset from French Creek} \usage{ load_french_creek(attach.units = TRUE) } \arguments{ \item{attach.units}{logical. Should units be attached to the da...
library(xlsx) library(caret) library(dplyr) # Read the original data set agency_data_orig <- read.xlsx('./data/AgencyData_clean.xlsx', sheetIndex=1, stringsAsFactors=T) # Trim the phat - i.e., data that's irrelevant agency_data_used <- agency_data_orig[c(-1, -4)] str(agency_data_used) # Reusable function for one-hot...
/generalized_liner_model.R
no_license
neuggs/Agency-Data
R
false
false
2,484
r
library(xlsx) library(caret) library(dplyr) # Read the original data set agency_data_orig <- read.xlsx('./data/AgencyData_clean.xlsx', sheetIndex=1, stringsAsFactors=T) # Trim the phat - i.e., data that's irrelevant agency_data_used <- agency_data_orig[c(-1, -4)] str(agency_data_used) # Reusable function for one-hot...
source("/home/mr984/diversity_metrics/scripts/checkplot_initials.R") source("/home/mr984/diversity_metrics/scripts/checkplot_inf.R") reps<-50 outerreps<-1000 size<-rev(round(10^seq(2, 5, 0.25)))[ 4 ] nc<-12 plan(strategy=multisession, workers=nc) map(rev(1:outerreps), function(x){ start<-Sys.time() out<-checkpl...
/scripts/checkplots_for_parallel_amarel/asy_314.R
no_license
dushoff/diversity_metrics
R
false
false
535
r
source("/home/mr984/diversity_metrics/scripts/checkplot_initials.R") source("/home/mr984/diversity_metrics/scripts/checkplot_inf.R") reps<-50 outerreps<-1000 size<-rev(round(10^seq(2, 5, 0.25)))[ 4 ] nc<-12 plan(strategy=multisession, workers=nc) map(rev(1:outerreps), function(x){ start<-Sys.time() out<-checkpl...
################################################################### # Changing a Policy and Holding others Stable for Periods of Time # ################################################################### # import libraries library("tidyverse") library("ddpcr") # for "merge_dfs_overwrite_col" function # Import data C...
/Analysis Scripts & Data/Study 2B/Study2B_Changing_a_Policy_and_Holding_others_Stable.R
no_license
caddickzac/Motivated-Reasoning-in-an-Explore-Exploit-Task
R
false
false
16,922
r
################################################################### # Changing a Policy and Holding others Stable for Periods of Time # ################################################################### # import libraries library("tidyverse") library("ddpcr") # for "merge_dfs_overwrite_col" function # Import data C...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/fx_rocPlot.R \name{fx_rocPlot} \alias{fx_rocPlot} \title{Create AUC-ROC Plots} \usage{ fx_rocPlot( modelObj = NULL, modelPerfObj = NULL, permPerfObj = NULL, title.text = NULL ) } \arguments{ \item{modelObj}{model object, containing ob...
/man/fx_rocPlot.Rd
no_license
fishpm/nruPredict
R
false
true
655
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/fx_rocPlot.R \name{fx_rocPlot} \alias{fx_rocPlot} \title{Create AUC-ROC Plots} \usage{ fx_rocPlot( modelObj = NULL, modelPerfObj = NULL, permPerfObj = NULL, title.text = NULL ) } \arguments{ \item{modelObj}{model object, containing ob...
library(ggplot2) install.packages("plotly") library(plotly) sixam_de = subway_2 %>% arrange(desc(X06시.07시_ratio)) %>% select(노선명, 역명, X06시.07시_ratio) %>% head(10) p1 <- ggplot(data = sixam_de, aes(x = 노선명, y = X06시.07시_ratio, fill = 역명)) + geom_col(position = "dodge") + coord_flip() p1 ggplotly(p1) sixam_as = s...
/Subway/데이터시각화.R
no_license
ggxz88/Mini_Analysis
R
false
false
4,164
r
library(ggplot2) install.packages("plotly") library(plotly) sixam_de = subway_2 %>% arrange(desc(X06시.07시_ratio)) %>% select(노선명, 역명, X06시.07시_ratio) %>% head(10) p1 <- ggplot(data = sixam_de, aes(x = 노선명, y = X06시.07시_ratio, fill = 역명)) + geom_col(position = "dodge") + coord_flip() p1 ggplotly(p1) sixam_as = s...
#' @title Emb_sz_rule #' #' @description Rule of thumb to pick embedding size corresponding to `n_cat` #' #' #' @param n_cat n_cat #' @return None #' @export emb_sz_rule <- function(n_cat) { tabular$emb_sz_rule( n_cat = n_cat ) } #' @title Get_emb_sz #' #' @description Get default embedding size from `Tabu...
/R/tabular_model.R
permissive
han-tun/fastai
R
false
false
2,327
r
#' @title Emb_sz_rule #' #' @description Rule of thumb to pick embedding size corresponding to `n_cat` #' #' #' @param n_cat n_cat #' @return None #' @export emb_sz_rule <- function(n_cat) { tabular$emb_sz_rule( n_cat = n_cat ) } #' @title Get_emb_sz #' #' @description Get default embedding size from `Tabu...
###############################+ # make rule string for SQL taking from list ###############################+ #' #' Title of the function #' #' Description of the function #' #' @param rules_list: Named \code{list} containing the values of the filter. #' @return A \code{character} containing the rule. #' ...
/R/list_to_SQLfilter.R
no_license
leonardommarques/reliabilitytools
R
false
false
1,594
r
###############################+ # make rule string for SQL taking from list ###############################+ #' #' Title of the function #' #' Description of the function #' #' @param rules_list: Named \code{list} containing the values of the filter. #' @return A \code{character} containing the rule. #' ...
rm(list = ls()) setwd("E:/Study/edWisor Stuff/Project1") #load the data install.packages("xlsx") library(xlsx) data1 = read.xlsx("Absenteeism_at_work_Project.xls", sheetIndex = 1, header = TRUE) ds = data1 #data1=ds #copy str(data1) #PREPROCESSING sapply(data1, function(x) sum(is.na(x))) #converting da...
/ProjectR1.R
no_license
JuhiSahu/Employee-Absenteeism
R
false
false
10,051
r
rm(list = ls()) setwd("E:/Study/edWisor Stuff/Project1") #load the data install.packages("xlsx") library(xlsx) data1 = read.xlsx("Absenteeism_at_work_Project.xls", sheetIndex = 1, header = TRUE) ds = data1 #data1=ds #copy str(data1) #PREPROCESSING sapply(data1, function(x) sum(is.na(x))) #converting da...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/ClusterModeling_analysisfunctions.R \name{get_posterior_probabilities} \alias{get_posterior_probabilities} \title{get_posterior_probabilities} \usage{ get_posterior_probabilities(analysis, questioned_doc) } \arguments{ \item{analysis}{The out...
/man/get_posterior_probabilities.Rd
no_license
CSAFE-ISU/handwriter
R
false
true
1,237
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/ClusterModeling_analysisfunctions.R \name{get_posterior_probabilities} \alias{get_posterior_probabilities} \title{get_posterior_probabilities} \usage{ get_posterior_probabilities(analysis, questioned_doc) } \arguments{ \item{analysis}{The out...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/modelLookup.R \name{modelLookup} \alias{modelLookup} \alias{getModelInfo} \alias{checkInstall} \title{Tools for Models Available in \code{train}} \usage{ modelLookup(model = NULL) checkInstall(pkg) getModelInfo(model = NULL, regex = TRUE, ....
/pkg/caret/man/modelLookup.Rd
no_license
GioLomia/caret
R
false
true
2,559
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/modelLookup.R \name{modelLookup} \alias{modelLookup} \alias{getModelInfo} \alias{checkInstall} \title{Tools for Models Available in \code{train}} \usage{ modelLookup(model = NULL) checkInstall(pkg) getModelInfo(model = NULL, regex = TRUE, ....
library(data.table) library(datasets) library(lubridate) ## First READ the txt file ## extracting the columnnames from the household_power_consumption.txt file colNames<-names(read.table("./household_power_consumption.txt", header = TRUE, sep = c(";",""), ...
/Plot4.R
no_license
kbeckers/ExData_Plotting1
R
false
false
2,246
r
library(data.table) library(datasets) library(lubridate) ## First READ the txt file ## extracting the columnnames from the household_power_consumption.txt file colNames<-names(read.table("./household_power_consumption.txt", header = TRUE, sep = c(";",""), ...
## ----echo=FALSE, warning=FALSE, message=FALSE---------------------------- library(ggiraph) # gg theme gg_th <- theme(axis.ticks = element_line(colour = "gray90"), panel.grid.major = element_line(colour = "gray90"), panel.grid.minor = element_line(colour = "transparent"), panel.background = element_rec...
/ggiraph/inst/doc/ggiraph.R
no_license
ingted/R-Examples
R
false
false
2,364
r
## ----echo=FALSE, warning=FALSE, message=FALSE---------------------------- library(ggiraph) # gg theme gg_th <- theme(axis.ticks = element_line(colour = "gray90"), panel.grid.major = element_line(colour = "gray90"), panel.grid.minor = element_line(colour = "transparent"), panel.background = element_rec...
avgplotoffset <- function(file, fileName, step, start1,start2,start3, metisgr) { for (i in c(0:6)) { off <- 6 stoff <- 3 sstof <- 4 soff <- step - off hNames <- as.character(file$HeuristicName[sstof:soff]) bfsStartIndex <- (i*step) +start1 + stoff bfsEndIndex <- (i*step) + step - off bfsArr <- as.n...
/resources/script/avgplotoffset.R
permissive
xffighting/streaminggraphpartitioning
R
false
false
1,549
r
avgplotoffset <- function(file, fileName, step, start1,start2,start3, metisgr) { for (i in c(0:6)) { off <- 6 stoff <- 3 sstof <- 4 soff <- step - off hNames <- as.character(file$HeuristicName[sstof:soff]) bfsStartIndex <- (i*step) +start1 + stoff bfsEndIndex <- (i*step) + step - off bfsArr <- as.n...
## 9 13 2016 Major modifications ## 7 1 2016 - First version ## Script for first year birds ## Source code from "JaySurv.R" library(survival) library(ggplot2) library(car) library(coxme) library(kinship2) library(SurvRegCensCov) library(parfm) library(plyr) library(corrplot) #####################################...
/FirstYr.R
no_license
efeichtinger/LittleBlueDinos
R
false
false
12,353
r
## 9 13 2016 Major modifications ## 7 1 2016 - First version ## Script for first year birds ## Source code from "JaySurv.R" library(survival) library(ggplot2) library(car) library(coxme) library(kinship2) library(SurvRegCensCov) library(parfm) library(plyr) library(corrplot) #####################################...