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
#' Plot of meta data of single cell data in bivariate hexagon cells. #' #' @param sce A \code{\link[SingleCellExperiment]{SingleCellExperiment}} #' or \code{\link[Seurat]{Seurat-class}} object. #' @param col A string referring to the name of one column in the meta data of #' sce by which to colour the hexagons. #...
/R/plot_hexbin_meta.R
no_license
kant/schex
R
false
false
6,511
r
#' Plot of meta data of single cell data in bivariate hexagon cells. #' #' @param sce A \code{\link[SingleCellExperiment]{SingleCellExperiment}} #' or \code{\link[Seurat]{Seurat-class}} object. #' @param col A string referring to the name of one column in the meta data of #' sce by which to colour the hexagons. #...
library(FateID) ### Name: diffexpnb ### Title: Function for differential expression analysis ### Aliases: diffexpnb ### ** Examples x <- intestine$x y <- intestine$y v <- intestine$v tar <- c(6,9,13) fb <- fateBias(x,y,tar,z=NULL,minnr=5,minnrh=10,nbfactor=5,use.dist=FALSE,seed=NULL,nbtree=NULL) thr <- .3 A <- ...
/data/genthat_extracted_code/FateID/examples/diffexpnb.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
440
r
library(FateID) ### Name: diffexpnb ### Title: Function for differential expression analysis ### Aliases: diffexpnb ### ** Examples x <- intestine$x y <- intestine$y v <- intestine$v tar <- c(6,9,13) fb <- fateBias(x,y,tar,z=NULL,minnr=5,minnrh=10,nbfactor=5,use.dist=FALSE,seed=NULL,nbtree=NULL) thr <- .3 A <- ...
#matrix_path = 'data-raw/external/scirep_sequential_qc.txt' #classinfo_path = 'scirep_classes.txt' #' @title read counts matrix #' #' @param path string. #' @param ... other arguments passsed on to [readr::read_tsv()] #' #' @return integer matrix #' #' @details In any case, first part (separated by `|`) of row names m...
/version0.0/matrix-process.R
no_license
xyfzkd/exSeek_package
R
false
false
9,551
r
#matrix_path = 'data-raw/external/scirep_sequential_qc.txt' #classinfo_path = 'scirep_classes.txt' #' @title read counts matrix #' #' @param path string. #' @param ... other arguments passsed on to [readr::read_tsv()] #' #' @return integer matrix #' #' @details In any case, first part (separated by `|`) of row names m...
corr <- function(directory, threshold = 0) { ## 'directory' is a character vector of length 1 indicating the location of ## the CSV files ## 'threshold' is a numeric vector of length 1 indicating the number of ## completely observed observations (on all variables) required to compute ## the correla...
/2.R Programming/Programming Assignment 1/corr.R
no_license
goodnick/datasciencecoursera
R
false
false
960
r
corr <- function(directory, threshold = 0) { ## 'directory' is a character vector of length 1 indicating the location of ## the CSV files ## 'threshold' is a numeric vector of length 1 indicating the number of ## completely observed observations (on all variables) required to compute ## the correla...
setwd("/Users/meghanjordan/Health Data2") #set your own location data2010 <- read.csv(file="2010final.csv") data2011 <- read.csv(file="2011final.csv") data2012 <- read.csv(file="2012final.csv") names(data2010) <- c("Region", "District", "Age", "Gender", "Maritalstatus", "Date", "Reason") names(data2011) <- c("Region"...
/threeYearsCombined.R
no_license
meghanelizabeth/Orange-D4D
R
false
false
3,769
r
setwd("/Users/meghanjordan/Health Data2") #set your own location data2010 <- read.csv(file="2010final.csv") data2011 <- read.csv(file="2011final.csv") data2012 <- read.csv(file="2012final.csv") names(data2010) <- c("Region", "District", "Age", "Gender", "Maritalstatus", "Date", "Reason") names(data2011) <- c("Region"...
#' Recycle arguments #' #' Explicit recycling of arguments to make them all have the same length. #' @param ... Arguments, usually vectors. #' @return A \code{list} of vectors, all with the same length. #' @note The function is based on \code{rep_len}, which drops attributes (hence #' this being most appropriate for ve...
/R/internal.R
no_license
cran/rebus.base
R
false
false
1,140
r
#' Recycle arguments #' #' Explicit recycling of arguments to make them all have the same length. #' @param ... Arguments, usually vectors. #' @return A \code{list} of vectors, all with the same length. #' @note The function is based on \code{rep_len}, which drops attributes (hence #' this being most appropriate for ve...
#' Creates a report for peakData objects #' #' This function generates a .docx report for a peakData object #' #' @param peakData a list containing peakData objects, including at least one data object (of the class 'peakData' created by \code{\link{as.seqData}} and any other peakData objects to include in the report. #...
/helper_functions/report.R
no_license
EMSL-Computing/FREDA
R
false
false
1,741
r
#' Creates a report for peakData objects #' #' This function generates a .docx report for a peakData object #' #' @param peakData a list containing peakData objects, including at least one data object (of the class 'peakData' created by \code{\link{as.seqData}} and any other peakData objects to include in the report. #...
# Exercise 1: creating and accessing lists # Create a vector `my_breakfast` of everything you ate for breakfast # Create a vector `my_lunch` of everything you ate (or will eat) for lunch # Create a list `meals` that has contains your breakfast and lunch # Add a "dinner" element to your `meals`` list that has wha...
/ch8-lists/exercise-1/exercise.R
permissive
Naved-K/info_201_exercises
R
false
false
1,111
r
# Exercise 1: creating and accessing lists # Create a vector `my_breakfast` of everything you ate for breakfast # Create a vector `my_lunch` of everything you ate (or will eat) for lunch # Create a list `meals` that has contains your breakfast and lunch # Add a "dinner" element to your `meals`` list that has wha...
#' @name calcul_flux_migres #' #' @title Calculer le volume de migrations résidentielles entre zones #' #' @description A partir d'une table en entrée contenant un champ de résidence actuelle et un champ de résidence antérieure sur le même niveau géographique. #' #' @param TABLE Table en entrée contenant un champ de ré...
/R/calcul_flux_migres.R
no_license
observatoire-territoires/migR
R
false
false
4,655
r
#' @name calcul_flux_migres #' #' @title Calculer le volume de migrations résidentielles entre zones #' #' @description A partir d'une table en entrée contenant un champ de résidence actuelle et un champ de résidence antérieure sur le même niveau géographique. #' #' @param TABLE Table en entrée contenant un champ de ré...
source("~/projects/data-pipelines/setup/ckan.R") source("~/projects/data-pipelines/scripts/ckan_secret.R") ## Please read "scripts/indicators/README.md" first! (Click "Preview as HTML") #------------------------------------------------------------------------------# # Settings # Adjust the following path to the locati...
/scripts/indicators/general/wnimp/wnimp-visitors-per-access-site.R
permissive
dbca-wa/data-pipelines
R
false
false
2,569
r
source("~/projects/data-pipelines/setup/ckan.R") source("~/projects/data-pipelines/scripts/ckan_secret.R") ## Please read "scripts/indicators/README.md" first! (Click "Preview as HTML") #------------------------------------------------------------------------------# # Settings # Adjust the following path to the locati...
asreml.fit <- asreml(fixed = l.obs ~ z + par + temp:wm + oxy + sal, random =~ spl(z, 10) + spl(par, 10) + spl(temp, 10):wm + spl(oxy, 10) + spl(sal, 10) + stn, data = glm.spl, rcov=~ ar1(z.fact):agau(x.fact, y.fact), na.method.X = "include", workspace =...
/R-average-predictions.R
no_license
gracevaziri/R-simulation-study
R
false
false
3,299
r
asreml.fit <- asreml(fixed = l.obs ~ z + par + temp:wm + oxy + sal, random =~ spl(z, 10) + spl(par, 10) + spl(temp, 10):wm + spl(oxy, 10) + spl(sal, 10) + stn, data = glm.spl, rcov=~ ar1(z.fact):agau(x.fact, y.fact), na.method.X = "include", workspace =...
#' Data: Multiattribute Decisions (Hilbig & Moshagen, 2014) #' #' Choice frequencies of multiattribute decisions across 3 item types (Hilbig & Moshagen, 2014). #' #' @details #' Each participant made 32 choices for each of 3 item types with four cues (with validities .9, .8, .7, and .6). #' #' The pattern of cue...
/R/data_hilbig2014_heck2017.R
no_license
cran/multinomineq
R
false
false
6,332
r
#' Data: Multiattribute Decisions (Hilbig & Moshagen, 2014) #' #' Choice frequencies of multiattribute decisions across 3 item types (Hilbig & Moshagen, 2014). #' #' @details #' Each participant made 32 choices for each of 3 item types with four cues (with validities .9, .8, .7, and .6). #' #' The pattern of cue...
\name{cytoBand} \docType{data} \alias{cytoBand} \alias{cytoband} \title{Band Information File} \description{ This file contains band information } \usage{ data(cytoBand) } \format{ a tab delimited text file with columns for chromosome, start location, stop location, and band. } \details{ A band informatio...
/man/cytoBand.Rd
no_license
cran/iGenomicViewer
R
false
false
933
rd
\name{cytoBand} \docType{data} \alias{cytoBand} \alias{cytoband} \title{Band Information File} \description{ This file contains band information } \usage{ data(cytoBand) } \format{ a tab delimited text file with columns for chromosome, start location, stop location, and band. } \details{ A band informatio...
#################### # NFL Big Data Bowl 2021 # Zach Bradlow, Zach Drapkin, Ryan Gross, Sarah Hu #################### library(tidyverse) setwd(getwd()) ########## # Reading in & cleaning data ## Read in week 1 of tracking data week_1 <- read_csv("week1.csv") ## Read in weeks 2-17 more_weeks <- NULL for(i in 2:17){ ...
/data_cleaning_feature_engineering.R
no_license
rzgross/nfl-big-data-bowl-2021
R
false
false
14,843
r
#################### # NFL Big Data Bowl 2021 # Zach Bradlow, Zach Drapkin, Ryan Gross, Sarah Hu #################### library(tidyverse) setwd(getwd()) ########## # Reading in & cleaning data ## Read in week 1 of tracking data week_1 <- read_csv("week1.csv") ## Read in weeks 2-17 more_weeks <- NULL for(i in 2:17){ ...
#Regression based on homoskedastic normal data of equal group sizes. do.one = function(b0,b1,n){ times = n/10 x = sort(rep(seq(from=0.1,to=1.0,by=0.1),times)) sims = function(x){return(rnorm(1,mean={b0+b1*x},sd=1))} y = mapply(x, FUN=sims) df = data.frame(x,y) model = with(df, lm(y~x)) return(summary(mode...
/Biostatistical Computing/HW1.R
no_license
dewhitney/RCode
R
false
false
3,514
r
#Regression based on homoskedastic normal data of equal group sizes. do.one = function(b0,b1,n){ times = n/10 x = sort(rep(seq(from=0.1,to=1.0,by=0.1),times)) sims = function(x){return(rnorm(1,mean={b0+b1*x},sd=1))} y = mapply(x, FUN=sims) df = data.frame(x,y) model = with(df, lm(y~x)) return(summary(mode...
skip_on_cran() tests.home <- getwd() setwd(tempdir()) test_that("loadDot stops if arguments or file are missing", { expect_error(loadDot(), "No dot file or dot string were specified.", fixed = TRUE) }) test_that("loadDot stops if file is badly formatted or missing", { expect_error(loadDot(input = "test"), "The c...
/tests/testthat/test_loadDot.R
no_license
Tubbz-alt/actel
R
false
false
15,221
r
skip_on_cran() tests.home <- getwd() setwd(tempdir()) test_that("loadDot stops if arguments or file are missing", { expect_error(loadDot(), "No dot file or dot string were specified.", fixed = TRUE) }) test_that("loadDot stops if file is badly formatted or missing", { expect_error(loadDot(input = "test"), "The c...
library(glmnet) mydata = read.table("../../../../TrainingSet/FullSet/Classifier/autonomic_ganglia.csv",head=T,sep=",") x = as.matrix(mydata[,4:ncol(mydata)]) y = as.matrix(mydata[,1]) set.seed(123) glm = cv.glmnet(x,y,nfolds=10,type.measure="mse",alpha=0.02,family="gaussian",standardize=TRUE) sink('./autonomic_ganglia_...
/Model/EN/Classifier/autonomic_ganglia/autonomic_ganglia_009.R
no_license
esbgkannan/QSMART
R
false
false
371
r
library(glmnet) mydata = read.table("../../../../TrainingSet/FullSet/Classifier/autonomic_ganglia.csv",head=T,sep=",") x = as.matrix(mydata[,4:ncol(mydata)]) y = as.matrix(mydata[,1]) set.seed(123) glm = cv.glmnet(x,y,nfolds=10,type.measure="mse",alpha=0.02,family="gaussian",standardize=TRUE) sink('./autonomic_ganglia_...
#determine_unique_and_common_metadata_fields create_frequency_table_for_significant_metadata_fields <- function(sig_meta_fields_file) { fields <- c() for(dir in list.dirs()) { if(file.exists(file.path(dir, sig_meta_fields_file))) { print(dir) if(file.size(file.path(dir,sig_meta_fields_file))>0...
/determine_unique_and_common_metadata_fields.r
no_license
RonaldHShi/Ronald-and-Mert
R
false
false
556
r
#determine_unique_and_common_metadata_fields create_frequency_table_for_significant_metadata_fields <- function(sig_meta_fields_file) { fields <- c() for(dir in list.dirs()) { if(file.exists(file.path(dir, sig_meta_fields_file))) { print(dir) if(file.size(file.path(dir,sig_meta_fields_file))>0...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/gis_analysis.R \name{wbt_hole_proportion} \alias{wbt_hole_proportion} \title{Hole proportion} \usage{ wbt_hole_proportion(input, wd = NULL, verbose_mode = FALSE) } \arguments{ \item{input}{Input vector polygon file.} \item{wd}{Changes the wo...
/man/wbt_hole_proportion.Rd
permissive
gitWayneZhang/whiteboxR
R
false
true
611
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/gis_analysis.R \name{wbt_hole_proportion} \alias{wbt_hole_proportion} \title{Hole proportion} \usage{ wbt_hole_proportion(input, wd = NULL, verbose_mode = FALSE) } \arguments{ \item{input}{Input vector polygon file.} \item{wd}{Changes the wo...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/fp_cell.R \name{fp_cell} \alias{fp_cell} \alias{format.fp_cell} \alias{print.fp_cell} \alias{update.fp_cell} \title{Cell formatting properties} \usage{ fp_cell(border = fp_border(width = 0), border.bottom, border.left, border.top, border.ri...
/man/fp_cell.Rd
no_license
Kill3rbee/officer
R
false
true
1,780
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/fp_cell.R \name{fp_cell} \alias{fp_cell} \alias{format.fp_cell} \alias{print.fp_cell} \alias{update.fp_cell} \title{Cell formatting properties} \usage{ fp_cell(border = fp_border(width = 0), border.bottom, border.left, border.top, border.ri...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/datalist.R \docType{data} \name{demo.siber.data.2} \alias{demo.siber.data.2} \title{Simulated d13C and d15N isotope-space data} \format{ An object of class \code{"data.frame"} containing four variables. The first and second variables are gen...
/man/demo.siber.data.2.Rd
no_license
AndrewLJackson/SIBER
R
false
true
1,013
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/datalist.R \docType{data} \name{demo.siber.data.2} \alias{demo.siber.data.2} \title{Simulated d13C and d15N isotope-space data} \format{ An object of class \code{"data.frame"} containing four variables. The first and second variables are gen...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/extend_21_03_03.R \name{predict.rpms_proj} \alias{predict.rpms_proj} \title{predict.rpms_proj} \usage{ \method{predict}{rpms_proj}(object, newdata, ...) } \arguments{ \item{object}{Object inheriting from \code{rpms_zinf}} \item{newdata}{dat...
/man/predict.rpms_proj.Rd
no_license
cran/rpms
R
false
true
572
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/extend_21_03_03.R \name{predict.rpms_proj} \alias{predict.rpms_proj} \title{predict.rpms_proj} \usage{ \method{predict}{rpms_proj}(object, newdata, ...) } \arguments{ \item{object}{Object inheriting from \code{rpms_zinf}} \item{newdata}{dat...
# install library to prepare RDS data file # install.packages("lubridate") # set working directory setwd("F:/github/ExData_Plotting1/scripts") # open library library(lubridate) # Read data into a table power.df <- read.table('K:/Cursos/Coursera/ExploratoryDataAnalysis/Project1/exdata-data-household_power_consumptio...
/scripts/prep.R
no_license
rcbull/ExData_Plotting1
R
false
false
980
r
# install library to prepare RDS data file # install.packages("lubridate") # set working directory setwd("F:/github/ExData_Plotting1/scripts") # open library library(lubridate) # Read data into a table power.df <- read.table('K:/Cursos/Coursera/ExploratoryDataAnalysis/Project1/exdata-data-household_power_consumptio...
library(ape) testtree <- read.tree("1842_16.txt") unrooted_tr <- unroot(testtree) write.tree(unrooted_tr, file="1842_16_unrooted.txt")
/codeml_files/newick_trees_processed/1842_16/rinput.R
no_license
DaniBoo/cyanobacteria_project
R
false
false
137
r
library(ape) testtree <- read.tree("1842_16.txt") unrooted_tr <- unroot(testtree) write.tree(unrooted_tr, file="1842_16_unrooted.txt")
library(plotrix) library(RColorBrewer) library(raster) library(socorro) ## ========================= ## chrono, elev, precip maps ## ========================= ## set-up colors rain.colors <- colorRampPalette(brewer.pal(9, 'YlGnBu')) chrono.colors <- colorRampPalette(hsv(c(0.1, 0, 0.05), c(0.7, 0.9, 0.3), c(1, 0.8, 0....
/figs/fig_map.R
no_license
ajrominger/macrosystems
R
false
false
6,700
r
library(plotrix) library(RColorBrewer) library(raster) library(socorro) ## ========================= ## chrono, elev, precip maps ## ========================= ## set-up colors rain.colors <- colorRampPalette(brewer.pal(9, 'YlGnBu')) chrono.colors <- colorRampPalette(hsv(c(0.1, 0, 0.05), c(0.7, 0.9, 0.3), c(1, 0.8, 0....
#get working directory getwd() #place specdata folder into working director pollutantmean <- function(directory, pollutant, id = 1:332) { #create empty data frame z <- data.frame() #get list of files in specdata folder AllFiles <- list.files(paste("./",directory,"/",sep = '')) #r...
/pollutantmean.R
no_license
shueyan098/Coursera-R-Programming
R
false
false
800
r
#get working directory getwd() #place specdata folder into working director pollutantmean <- function(directory, pollutant, id = 1:332) { #create empty data frame z <- data.frame() #get list of files in specdata folder AllFiles <- list.files(paste("./",directory,"/",sep = '')) #r...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/logodds_fn.R \name{evaluate_beta_cov} \alias{evaluate_beta_cov} \title{Get the covariance matrix for beta} \usage{ evaluate_beta_cov(cdf_est, theta_cov) } \arguments{ \item{cdf_est}{Estimated CDFs} \item{theta_cov}{Covariance matrix for CDF ...
/man/evaluate_beta_cov.Rd
permissive
benkeser/drord
R
false
true
452
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/logodds_fn.R \name{evaluate_beta_cov} \alias{evaluate_beta_cov} \title{Get the covariance matrix for beta} \usage{ evaluate_beta_cov(cdf_est, theta_cov) } \arguments{ \item{cdf_est}{Estimated CDFs} \item{theta_cov}{Covariance matrix for CDF ...
library(openxlsx) library(ggplot2) library(reshape2) library(dplyr) options(scipen=999) olddir = getwd() # curdir = "/home/yashwanth/Downloads/spring 18/stats/Methodist microsurgery with output/" # setwd(curdir) # subjects v <- c(1,2,3,4,5,6,7,8,9,10,11,12,13,19,20,21,22,23,24,25,26) # Code for Multiple Plots in Sin...
/report/report 2/project-code.R
no_license
Suchismitha-Vedala/Statisticts-project
R
false
false
16,196
r
library(openxlsx) library(ggplot2) library(reshape2) library(dplyr) options(scipen=999) olddir = getwd() # curdir = "/home/yashwanth/Downloads/spring 18/stats/Methodist microsurgery with output/" # setwd(curdir) # subjects v <- c(1,2,3,4,5,6,7,8,9,10,11,12,13,19,20,21,22,23,24,25,26) # Code for Multiple Plots in Sin...
rm(list=ls()) # Packages necessaires devtools::install_deps(upgrade="never") # Load fonctions importantes devtools::load_all() # DATA MNHN data_brut <- read.csv2(here::here('Data',"Data_MNHN.csv")) %>% dplyr::select('ACTION','BAGUE','DATE','HEURE','ESPECE','SEXE','AGE',"THEME.SESSION","ID_PROG","LAT","LON","DEPT...
/script/gam_pheno.R
no_license
maudqueroue/Fauvettes
R
false
false
7,414
r
rm(list=ls()) # Packages necessaires devtools::install_deps(upgrade="never") # Load fonctions importantes devtools::load_all() # DATA MNHN data_brut <- read.csv2(here::here('Data',"Data_MNHN.csv")) %>% dplyr::select('ACTION','BAGUE','DATE','HEURE','ESPECE','SEXE','AGE',"THEME.SESSION","ID_PROG","LAT","LON","DEPT...
testlist <- list(x = c(2.47423134780838e-319, 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), y = numeric(0)) result <- do.call(blorr:::blr_pairs_cpp,testlist) str(result)
/blorr/inst/testfiles/blr_pairs_cpp/libFuzzer_blr_pairs_cpp/blr_pairs_cpp_valgrind_files/1609956324-test.R
no_license
akhikolla/updated-only-Issues
R
false
false
243
r
testlist <- list(x = c(2.47423134780838e-319, 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), y = numeric(0)) result <- do.call(blorr:::blr_pairs_cpp,testlist) str(result)
library(rgdal) library(rgeos) library(maptools) library(geojsonio) library(spdplyr) library(rmapshaper) library(pscl) # Projection for MassGIS data # Ref: http://spatialreference.org/ref/sr-org/15/ # http://www.mass.gov/anf/research-and-tech/it-serv-and-support/application-serv/office-of-geographic-information-ma...
/src/map/index.R
no_license
ktmud/mass211
R
false
false
2,722
r
library(rgdal) library(rgeos) library(maptools) library(geojsonio) library(spdplyr) library(rmapshaper) library(pscl) # Projection for MassGIS data # Ref: http://spatialreference.org/ref/sr-org/15/ # http://www.mass.gov/anf/research-and-tech/it-serv-and-support/application-serv/office-of-geographic-information-ma...
library(testthat) library(tmle3kernel) test_check("tmle3kernel")
/tests/testthat.R
no_license
jlstiles/tmle3kernel
R
false
false
66
r
library(testthat) library(tmle3kernel) test_check("tmle3kernel")
# ----------------------------------------------------- # Homework 12 # 19 Apr 2021 # EKG # ----------------------------------------------------- # # Preliminaries ---------------------------------- library(ggplot2) library(ggthemes) library(patchwork) library(colorBlindness) library(cowplot) library(colorspace) libr...
/Homework_12.R
permissive
emmagagne/GagneBio381
R
false
false
3,392
r
# ----------------------------------------------------- # Homework 12 # 19 Apr 2021 # EKG # ----------------------------------------------------- # # Preliminaries ---------------------------------- library(ggplot2) library(ggthemes) library(patchwork) library(colorBlindness) library(cowplot) library(colorspace) libr...
% Generated by roxygen2 (4.1.1): do not edit by hand % Please edit documentation in R/boxr.R \name{boxr_change_cell} \alias{boxr_change_cell} \title{Set many cells} \usage{ boxr_change_cell(x, y, ch, fg, bg) } \arguments{ \item{x,y}{x and y position of the cells so c(x[i], y[i]) is the ith cell} \item{ch}{A single or ...
/man/boxr_change_cell.Rd
permissive
richfitz/boxr
R
false
false
764
rd
% Generated by roxygen2 (4.1.1): do not edit by hand % Please edit documentation in R/boxr.R \name{boxr_change_cell} \alias{boxr_change_cell} \title{Set many cells} \usage{ boxr_change_cell(x, y, ch, fg, bg) } \arguments{ \item{x,y}{x and y position of the cells so c(x[i], y[i]) is the ith cell} \item{ch}{A single or ...
# ---------------------------------------------- # Script to do some QA/QC on the regional (Phase 2) PalEON met Driver Data # Christine Rollinson, crollinson@gmail.com # Original: 14 September, 2015 # # -------------- # QA/QC Checks # -------------- # Region-Level: # Note: This set will probably use parallel processing...
/7a_qaqc_check_regional_year.R
no_license
PalEON-Project/met_regional
R
false
false
13,181
r
# ---------------------------------------------- # Script to do some QA/QC on the regional (Phase 2) PalEON met Driver Data # Christine Rollinson, crollinson@gmail.com # Original: 14 September, 2015 # # -------------- # QA/QC Checks # -------------- # Region-Level: # Note: This set will probably use parallel processing...
\name{OraConnection-class} \docType{class} \alias{OraConnection-class} \title{ クラスOraConnection } \description{ Rデータベース・インタフェース(DBI) APIを実装するOracle接続クラス。 } \section{Generators}{ The method \code{\link[DBI]{dbConnect}} is the main generator. } \section{Extends}{ Class \code{"DBIConnection"}, directly. Class \code{"D...
/inst/doc/man/ja/OraConnection-class.Rd
no_license
jeffreyhorner/ROracle
R
false
false
3,160
rd
\name{OraConnection-class} \docType{class} \alias{OraConnection-class} \title{ クラスOraConnection } \description{ Rデータベース・インタフェース(DBI) APIを実装するOracle接続クラス。 } \section{Generators}{ The method \code{\link[DBI]{dbConnect}} is the main generator. } \section{Extends}{ Class \code{"DBIConnection"}, directly. Class \code{"D...
#' @name big.matrix.descriptor-class #' @docType class #' @rdname big.matrix.descriptor-class #' @title Class "big.matrix.descriptor" #' @description An object of this class contains necessary and sufficient information #' to ``attach'' a shared or filebacked \code{\link{big.matrix}}. #' @section Objects from the Class...
/man-roxygen/big.matrix.descriptor_class_template.R
no_license
kaneplusplus/bigmemory
R
false
false
1,270
r
#' @name big.matrix.descriptor-class #' @docType class #' @rdname big.matrix.descriptor-class #' @title Class "big.matrix.descriptor" #' @description An object of this class contains necessary and sufficient information #' to ``attach'' a shared or filebacked \code{\link{big.matrix}}. #' @section Objects from the Class...
library(spc) ### Name: xewma.sf ### Title: Compute the survival function of EWMA run length ### Aliases: xewma.sf ### Keywords: ts ### ** Examples ## Gan (1993), two-sided EWMA with fixed control limits ## some values of his Table 1 -- any median RL should be 500 G.lambda <- c(.05, .1, .15, .2, .25) G.h <- c(.441,...
/data/genthat_extracted_code/spc/examples/xewma.sf.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
570
r
library(spc) ### Name: xewma.sf ### Title: Compute the survival function of EWMA run length ### Aliases: xewma.sf ### Keywords: ts ### ** Examples ## Gan (1993), two-sided EWMA with fixed control limits ## some values of his Table 1 -- any median RL should be 500 G.lambda <- c(.05, .1, .15, .2, .25) G.h <- c(.441,...
library(shiny) library(ggplot2) library(reshape2) library(plotly) function(input, output, session){ output$plotly_1 <- renderPlotly({ req(input$Polska == FALSE |input$Polska == TRUE) if (input$Kraje == "all"){ if(input$Klasa == "fourth"){ if(input$Przedmiot == "math...
/homeworks/homework_10/karol_degorski/server.R
no_license
iketutg/2021Z-DataVisualizationTechniques
R
false
false
14,706
r
library(shiny) library(ggplot2) library(reshape2) library(plotly) function(input, output, session){ output$plotly_1 <- renderPlotly({ req(input$Polska == FALSE |input$Polska == TRUE) if (input$Kraje == "all"){ if(input$Klasa == "fourth"){ if(input$Przedmiot == "math...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/runShinyMlr.R \name{runShinyMlr} \alias{runShinyMlr} \title{Run a local instance of shinyMlr} \usage{ runShinyMlr(...) } \arguments{ \item{...}{[\code{any}]\cr Additional arguments passed to shiny's \code{runApp()} function.} } \description{ ...
/package/man/runShinyMlr.Rd
no_license
ShankarChavan/shinyMlr
R
false
true
396
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/runShinyMlr.R \name{runShinyMlr} \alias{runShinyMlr} \title{Run a local instance of shinyMlr} \usage{ runShinyMlr(...) } \arguments{ \item{...}{[\code{any}]\cr Additional arguments passed to shiny's \code{runApp()} function.} } \description{ ...
##################### #Bayesian predictions ##################### #Libraries library(acl) library(dplyr) library(tidyr) library(foreach) library(doMC) rm(list=ls()) source('likelihood_functions.R') load('../data/cogsci_data.rdata') load('../data/simulated_participants.rdata') df.sw$alpha<-5 df.sw$beta<-0.00333333...
/code/R/bayesian_predictions_mturk.R
no_license
bramleyccslab/time_intervene
R
false
false
6,444
r
##################### #Bayesian predictions ##################### #Libraries library(acl) library(dplyr) library(tidyr) library(foreach) library(doMC) rm(list=ls()) source('likelihood_functions.R') load('../data/cogsci_data.rdata') load('../data/simulated_participants.rdata') df.sw$alpha<-5 df.sw$beta<-0.00333333...
#2016-11-16 # converTSSdata2WS235.R # convert supplemental tables from Kreus(2013) and Chen(2013). Column titles were changed in the tables # to remove spaces. Removed empty columns in Kreus data. Used convertingGeneNames.R on Chen data to add # WBGeneXXXXXX gene names to the excel table. # tables were then exported ...
/TSS/scripts/convertTSSdata2WS235.R
no_license
jsemple19/dSMF_AmpliconPrimerDesign
R
false
false
11,220
r
#2016-11-16 # converTSSdata2WS235.R # convert supplemental tables from Kreus(2013) and Chen(2013). Column titles were changed in the tables # to remove spaces. Removed empty columns in Kreus data. Used convertingGeneNames.R on Chen data to add # WBGeneXXXXXX gene names to the excel table. # tables were then exported ...
/day 16.R
no_license
suekim3028/ADsP_preperation
R
false
false
345
r
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/data.R \docType{data} \name{map_param_query} \alias{map_param_query} \title{map_param_query} \format{ tibble } \source{ gcamextractor } \usage{ map_param_query } \description{ map_param_query } \examples{ \dontrun{ library(gcamextractor); g...
/man/map_param_query.Rd
permissive
JGCRI/gcamextractor
R
false
true
373
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/data.R \docType{data} \name{map_param_query} \alias{map_param_query} \title{map_param_query} \format{ tibble } \source{ gcamextractor } \usage{ map_param_query } \description{ map_param_query } \examples{ \dontrun{ library(gcamextractor); g...
args<-commandArgs(TRUE) vectr<-read.csv(args[1], header = FALSE, sep = ",")[,-1] size<-nrow(vectr) tool<-basename(args[1]) split<-strsplit(tool, "_") distance<-mean(dist(vectr)) rating<-distance/size #write(paste0(split[[1]][1], " cluster ",split[[1]][2] ," euclidian middle distance ",rating),file=args[1],append=TR...
/Cluster/Scripts/old/rating_0.R
no_license
ahenoch/Masterproject
R
false
false
413
r
args<-commandArgs(TRUE) vectr<-read.csv(args[1], header = FALSE, sep = ",")[,-1] size<-nrow(vectr) tool<-basename(args[1]) split<-strsplit(tool, "_") distance<-mean(dist(vectr)) rating<-distance/size #write(paste0(split[[1]][1], " cluster ",split[[1]][2] ," euclidian middle distance ",rating),file=args[1],append=TR...
#Computing senescence score (with ssGSEA) for Johnson et al, 2021 dataset # Salam, Saliou et al, 2022 Nature Comm #Import library library(Matrix) library(Seurat) library(lava) library(ggplot2) library(readxl) library(stringr) library(reshape2) library(pheatmap) library(RColorBrewer) library(scalop) library(ggExtra) li...
/scripts/Senescence_score_ssGSEA_johnson_dataset_Salam_Saliou.R
no_license
bellenger-l/glioblastoma_senescence
R
false
false
8,676
r
#Computing senescence score (with ssGSEA) for Johnson et al, 2021 dataset # Salam, Saliou et al, 2022 Nature Comm #Import library library(Matrix) library(Seurat) library(lava) library(ggplot2) library(readxl) library(stringr) library(reshape2) library(pheatmap) library(RColorBrewer) library(scalop) library(ggExtra) li...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/elasticache_operations.R \name{elasticache_test_failover} \alias{elasticache_test_failover} \title{Represents the input of a TestFailover operation which test automatic failover on a specified node group (called shard in the console) in a rep...
/cran/paws.database/man/elasticache_test_failover.Rd
permissive
johnnytommy/paws
R
false
true
3,116
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/elasticache_operations.R \name{elasticache_test_failover} \alias{elasticache_test_failover} \title{Represents the input of a TestFailover operation which test automatic failover on a specified node group (called shard in the console) in a rep...
# generate survey data library(Rlab) n_loc_sample = n_loc_sample #sampling_error=FALSE if (sampling_error==TRUE){ #ObsModel_sim = c("PL", "Lognormal")[1] obs = switch(ObsModel_sim,"PL"=1, "Lognormal"=2) } data_male = c() data_female = c() catch_data =c() area = 13.71962 Dist = stats::dist(loc_x) range = 2*min(Di...
/Jie code/simulator_rcodes/simulator_genData.r
no_license
szuwalski/space-crab
R
false
false
3,024
r
# generate survey data library(Rlab) n_loc_sample = n_loc_sample #sampling_error=FALSE if (sampling_error==TRUE){ #ObsModel_sim = c("PL", "Lognormal")[1] obs = switch(ObsModel_sim,"PL"=1, "Lognormal"=2) } data_male = c() data_female = c() catch_data =c() area = 13.71962 Dist = stats::dist(loc_x) range = 2*min(Di...
get.blended.sst <- function(track, folder=tempdir(), server="http://coastwatch.pfeg.noaa.gov/coastwatch/CWBrowserWW360.jsp?get=gridData&dataSet=", nday = "5day"){ fl<-get.avhrr.sst(track=track, folder=folder, server=server, product="TBAssta", nday=nday) return(fl) }
/deprecated/ukfsst/Rpack/ukfsst/R/get.blended.sst.R
no_license
positioning/kalmanfilter
R
false
false
278
r
get.blended.sst <- function(track, folder=tempdir(), server="http://coastwatch.pfeg.noaa.gov/coastwatch/CWBrowserWW360.jsp?get=gridData&dataSet=", nday = "5day"){ fl<-get.avhrr.sst(track=track, folder=folder, server=server, product="TBAssta", nday=nday) return(fl) }
source("/home/mr984/diversity_metrics/scripts/checkplot_initials.R") source("/home/mr984/diversity_metrics/scripts/checkplot_inf.R") reps<-50 outerreps<-1000 size<-rev(round(10^seq(2, 5, 0.25)))[ 6 ] nc<-12 plan(strategy=multisession, workers=nc) map(rev(1:outerreps), function(x){ start<-Sys.time() out<-checkpl...
/scripts/checkplots_for_parallel_amarel/asy_451.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)))[ 6 ] nc<-12 plan(strategy=multisession, workers=nc) map(rev(1:outerreps), function(x){ start<-Sys.time() out<-checkpl...
rm(list = ls()) library(igraph) require(ggplot2) setwd("~/code/R/googleplus") source("util.R") # Select network: # google # facebook # twitter load(get.path("facebook","groupmetrics.RDa")) facebook <- data load(get.path("google","groupmetrics.RDa")) google <- data load(get.path("twitter","groupmetrics.RDa")) twitter...
/functionplot.R
permissive
stffnbrr/googleplusanalysis
R
false
false
7,374
r
rm(list = ls()) library(igraph) require(ggplot2) setwd("~/code/R/googleplus") source("util.R") # Select network: # google # facebook # twitter load(get.path("facebook","groupmetrics.RDa")) facebook <- data load(get.path("google","groupmetrics.RDa")) google <- data load(get.path("twitter","groupmetrics.RDa")) twitter...
# create 30 year, monthly normals for def, aet, and tmin library(raster) library(tidyverse) library(foreach) library(doParallel) years <- 1979:2008 variables <- c("aet", "def") # from nate's gridmet stuff from john A s3_path <- "s3://earthlab-modeling-human-ignitions/climate/mean" local_data_path <- "/home/a/data/gr...
/R/old/create_normals.R
no_license
admahood/dissertation
R
false
false
3,113
r
# create 30 year, monthly normals for def, aet, and tmin library(raster) library(tidyverse) library(foreach) library(doParallel) years <- 1979:2008 variables <- c("aet", "def") # from nate's gridmet stuff from john A s3_path <- "s3://earthlab-modeling-human-ignitions/climate/mean" local_data_path <- "/home/a/data/gr...
#' Mode of a vector x #' #' @param x vector of values #' #' @return vector (can return multiple maxima) #' @export #' #' @examples #' dmode(c(2,3,34,2,2)) dmode <- function(x) { ux <- unique(x) tab <- tabulate(match(x, ux)) ux[which( tab == max(tab) )] }
/R/simple_statistics.R
no_license
jsilve24/driver
R
false
false
261
r
#' Mode of a vector x #' #' @param x vector of values #' #' @return vector (can return multiple maxima) #' @export #' #' @examples #' dmode(c(2,3,34,2,2)) dmode <- function(x) { ux <- unique(x) tab <- tabulate(match(x, ux)) ux[which( tab == max(tab) )] }
testlist <- list(doy = NaN, latitude = Inf, temp = NaN) result <- do.call(meteor:::ET0_ThornthwaiteWilmott,testlist) str(result)
/meteor/inst/testfiles/ET0_ThornthwaiteWilmott/libFuzzer_ET0_ThornthwaiteWilmott/ET0_ThornthwaiteWilmott_valgrind_files/1612735710-test.R
no_license
akhikolla/updatedatatype-list3
R
false
false
128
r
testlist <- list(doy = NaN, latitude = Inf, temp = NaN) result <- do.call(meteor:::ET0_ThornthwaiteWilmott,testlist) str(result)
#S04_C22_Naive_Bayes #Naive Bayes library(dslabs) library(tidyverse) library(caret) library(purrr) library(gridExtra) #Regla Bayes #p(x) = Pr(Y = 1|X = x) = \frac{f_{X|Y=1}(X)Pr(Y = 1)}{f_{X|Y=0}(X)Pr(Y = 0) + f_{X|Y=1}(X)Pr(Y = 1)} #Comencemos con un ejemplo muy simple y poco interesante, pero ilustrativo. #Pred...
/HC_SeccionN04/S04_C22_Naive_Bayes.R
no_license
wparedesgt/MachineLearning
R
false
false
2,247
r
#S04_C22_Naive_Bayes #Naive Bayes library(dslabs) library(tidyverse) library(caret) library(purrr) library(gridExtra) #Regla Bayes #p(x) = Pr(Y = 1|X = x) = \frac{f_{X|Y=1}(X)Pr(Y = 1)}{f_{X|Y=0}(X)Pr(Y = 0) + f_{X|Y=1}(X)Pr(Y = 1)} #Comencemos con un ejemplo muy simple y poco interesante, pero ilustrativo. #Pred...
library(data.table) library(tidyverse) setwd("~/dev/projects/Chen_environmental_study/") # df = 1 # p = 34 ## generating graph for the fixed_fixed simuation load(file = "./result/simulation_fixed_random/chi_square/simulation_result_list_fixed_fixed_combine_df_1_resample") table_fixed_fixed <- rbindlist(result_list_f...
/reports/Simulation_on_fixed_or_random_effect/chi_correlated_combined_fixed_random_graph_resample.R
no_license
wal615/prime_project
R
false
false
6,741
r
library(data.table) library(tidyverse) setwd("~/dev/projects/Chen_environmental_study/") # df = 1 # p = 34 ## generating graph for the fixed_fixed simuation load(file = "./result/simulation_fixed_random/chi_square/simulation_result_list_fixed_fixed_combine_df_1_resample") table_fixed_fixed <- rbindlist(result_list_f...
#Simple Linear Regression #Importing the dataset dataset = read.csv('Salary_Data.csv') #Splitting the dataset into the Training set and Test set library(caTools) set.seed(123) split = sample.split(dataset$Salary, SplitRatio = 2/3) training_set = subset(dataset, split == TRUE) test_set = subset(dataset, split == FALSE...
/SimpleLinearRegression/simple_linear_regression_dennis.R
no_license
DennGav/ML-AtoZ
R
false
false
1,413
r
#Simple Linear Regression #Importing the dataset dataset = read.csv('Salary_Data.csv') #Splitting the dataset into the Training set and Test set library(caTools) set.seed(123) split = sample.split(dataset$Salary, SplitRatio = 2/3) training_set = subset(dataset, split == TRUE) test_set = subset(dataset, split == FALSE...
library(dplyr) # reading data x_train <- read.table(".\\UCI HAR Dataset\\train\\X_train.txt") y_train <- read.table(".\\UCI HAR Dataset\\train\\y_train.txt") x_test <- read.table(".\\UCI HAR Dataset\\test\\x_test.txt") y_test <- read.table(".\\UCI HAR Dataset\\test\\y_test.txt") sub_train <- read.table(".\\UCI HAR...
/run_analysis.R
no_license
PiyushDharmani/CleaningDataWeek4assignment
R
false
false
1,553
r
library(dplyr) # reading data x_train <- read.table(".\\UCI HAR Dataset\\train\\X_train.txt") y_train <- read.table(".\\UCI HAR Dataset\\train\\y_train.txt") x_test <- read.table(".\\UCI HAR Dataset\\test\\x_test.txt") y_test <- read.table(".\\UCI HAR Dataset\\test\\y_test.txt") sub_train <- read.table(".\\UCI HAR...
############################# ## Summary Stats of Data ############################# #load data data <- read.csv("Data/Thesis/Tidy/TroutStatus_sites.csv", header = T) str(data) summary(data$HUC8) #mean wetted width #need covariate data dat <- read.csv("Data/Thesis/Tidy/BKT_occDF_RMARK.csv", header = T) names(dat...
/Data Wrangling/Thesis/Random_Summaries.R
no_license
EEOB590A-Fall-2019/BKelly_Fishes
R
false
false
400
r
############################# ## Summary Stats of Data ############################# #load data data <- read.csv("Data/Thesis/Tidy/TroutStatus_sites.csv", header = T) str(data) summary(data$HUC8) #mean wetted width #need covariate data dat <- read.csv("Data/Thesis/Tidy/BKT_occDF_RMARK.csv", header = T) names(dat...
ordi.focal.drop <- function(dat,dist.method="jaccard"){ res<-list() type.c="centroid" res<-vector("list",dim(dat)[1]) spnames<-rownames(dat) ODB<-ordi.breadth(dat,dist.method=dist.method) for(i in 1:length(spnames)){ res[[i]]$species<-spnames[i] res[[i]]$ODB<-ODB$tot.breadth[i] res[[i]]$ODB.scaled<-ODB$sca...
/ordiBreadth/R/ordi.focal.drop.R
no_license
ingted/R-Examples
R
false
false
1,397
r
ordi.focal.drop <- function(dat,dist.method="jaccard"){ res<-list() type.c="centroid" res<-vector("list",dim(dat)[1]) spnames<-rownames(dat) ODB<-ordi.breadth(dat,dist.method=dist.method) for(i in 1:length(spnames)){ res[[i]]$species<-spnames[i] res[[i]]$ODB<-ODB$tot.breadth[i] res[[i]]$ODB.scaled<-ODB$sca...
LimitApprox<-function(g,Y) { gs<-g n<-length(g) resdist<-3/4+3/4*Y$Y2[which(gs==0)]^2-3/4*sum(Y$Y1[(1:(n-1))]^2+Y$Y1[(2:n)]^2)*(abs(max(gs)-min(gs))/length(gs)) return(resdist) }
/R/LimitApprox.R
no_license
SimoneHermann/rexpar
R
false
false
180
r
LimitApprox<-function(g,Y) { gs<-g n<-length(g) resdist<-3/4+3/4*Y$Y2[which(gs==0)]^2-3/4*sum(Y$Y1[(1:(n-1))]^2+Y$Y1[(2:n)]^2)*(abs(max(gs)-min(gs))/length(gs)) return(resdist) }
% Generated by roxygen2 (4.1.0): do not edit by hand % Please edit documentation in R/Check_threshold_values.R \name{check_threshold_values} \alias{check_threshold_values} \title{Function to assist finding good thresholds used for the segmentation of the difference video. If you run bemovi for the first time, verify wi...
/man/Check_threshold_values.Rd
no_license
marcoplebani85/bemovi
R
false
false
1,713
rd
% Generated by roxygen2 (4.1.0): do not edit by hand % Please edit documentation in R/Check_threshold_values.R \name{check_threshold_values} \alias{check_threshold_values} \title{Function to assist finding good thresholds used for the segmentation of the difference video. If you run bemovi for the first time, verify wi...
context("Retrieve") # NOTE: the test-media.R file runs first and is where the login occurs testing_user_id <- 10719578450 testing_location_id <- 213480180 test_that("ig_get_user_id", { user_id <- ig_get_user_id("r4sctest") expect_is(class(user_id), "character") expect_true(grepl("^[0-9]+$", user_id)) expect_...
/tests/testthat/test-retrieve.R
no_license
eric88tchong/Rinstapkg
R
false
false
2,897
r
context("Retrieve") # NOTE: the test-media.R file runs first and is where the login occurs testing_user_id <- 10719578450 testing_location_id <- 213480180 test_that("ig_get_user_id", { user_id <- ig_get_user_id("r4sctest") expect_is(class(user_id), "character") expect_true(grepl("^[0-9]+$", user_id)) expect_...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/gettest.R \name{get_test} \alias{get_test} \title{Get test that is attached to object as "test" attribute} \usage{ get_test(object) } \arguments{ \item{object}{to which the test is attached} } \value{ the test (function) } \description{ The r...
/man/get_test.Rd
no_license
cran/hySpc.testthat
R
false
true
825
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/gettest.R \name{get_test} \alias{get_test} \title{Get test that is attached to object as "test" attribute} \usage{ get_test(object) } \arguments{ \item{object}{to which the test is attached} } \value{ the test (function) } \description{ The r...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/knapsack_dynamic.R \name{knapsack_dynamic} \alias{knapsack_dynamic} \title{Finds the optimal solution for given knapsack problem} \usage{ knapsack_dynamic(x, W, fast = FALSE) } \arguments{ \item{x, W, fast}{Takes in two arguments, the first o...
/knapsack/man/knapsack_dynamic.Rd
permissive
dvinodkumar1996/Assignment6
R
false
true
1,048
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/knapsack_dynamic.R \name{knapsack_dynamic} \alias{knapsack_dynamic} \title{Finds the optimal solution for given knapsack problem} \usage{ knapsack_dynamic(x, W, fast = FALSE) } \arguments{ \item{x, W, fast}{Takes in two arguments, the first o...
# GEO 404 - Assignment 1 # Gina Lukaszczyk # ------------------------------------------------------------------------- # Environmental Settings # ------------------------------------------------------------------------- library("knitr") library("sf") library("stringr") library("rgeos") library("rgdal") library("leafle...
/Luk_Gina_geo404_plain_code.R
no_license
gimalu/geo404
R
false
false
8,492
r
# GEO 404 - Assignment 1 # Gina Lukaszczyk # ------------------------------------------------------------------------- # Environmental Settings # ------------------------------------------------------------------------- library("knitr") library("sf") library("stringr") library("rgeos") library("rgdal") library("leafle...
#plot figs load("./dat/alldat.Rdata") library(ggplot2) library(zoo) ggplot(alldat, aes(x=TIME.S, y=GPS.SOG)) + geom_point(alpha=0.3) ggplot(alldat, aes(x=TIME.S, y=GPS.SOG)) + geom_point(alpha=0.3) x <- zoo(alldat, order.by = index(1)) #Plots #SOG for entire Race #average over n minutes #SOG vs. STW # AW...
/src/createPlots.R
no_license
awarmack/BYCMACK2017
R
false
false
1,201
r
#plot figs load("./dat/alldat.Rdata") library(ggplot2) library(zoo) ggplot(alldat, aes(x=TIME.S, y=GPS.SOG)) + geom_point(alpha=0.3) ggplot(alldat, aes(x=TIME.S, y=GPS.SOG)) + geom_point(alpha=0.3) x <- zoo(alldat, order.by = index(1)) #Plots #SOG for entire Race #average over n minutes #SOG vs. STW # AW...
library(gplots) #load("cibersort_df.Rdata") cdr3 <- read.csv("cdr3_results_rna_with_gsva.csv") cdr3 <- cdr3[complete.cases(cdr3),] all_meds <- matrix(nrow=6, ncol=22) for (i in 1:ncol(all_meds)) { signature_start_index <- 19 cdr3$signature_all <- cdr3[,19+i] split_high_low <- split(cdr3, interaction(cdr3$cli...
/TCRSEQ_R/cdr3_firehose_heatmap_rna.R
no_license
erlevy/oncogx
R
false
false
2,575
r
library(gplots) #load("cibersort_df.Rdata") cdr3 <- read.csv("cdr3_results_rna_with_gsva.csv") cdr3 <- cdr3[complete.cases(cdr3),] all_meds <- matrix(nrow=6, ncol=22) for (i in 1:ncol(all_meds)) { signature_start_index <- 19 cdr3$signature_all <- cdr3[,19+i] split_high_low <- split(cdr3, interaction(cdr3$cli...
library(bayou) tree <- read.tree("tree.tree") mydata <- read.csv("mydata.csv") mydata2 <- read.csv("mydata2.csv") mydata[,1] setdiff(tree$tip.label, mydata[,1]) setdiff(mydata[,1],tree$tip.label) #bio1 dat.bio1 <- mydata[,2] names(dat.bio1) <- mydata[,1] se.bio1 <- sqrt(mydata2[,2]) names(se.bio1) <- mydata2[,1] p...
/run0/script.R
permissive
amesclir/ScleriaNicheEvolution
R
false
false
6,075
r
library(bayou) tree <- read.tree("tree.tree") mydata <- read.csv("mydata.csv") mydata2 <- read.csv("mydata2.csv") mydata[,1] setdiff(tree$tip.label, mydata[,1]) setdiff(mydata[,1],tree$tip.label) #bio1 dat.bio1 <- mydata[,2] names(dat.bio1) <- mydata[,1] se.bio1 <- sqrt(mydata2[,2]) names(se.bio1) <- mydata2[,1] p...
#' Ribosome P-sites position within reads. #' #' This function identifies the exact position of the ribosome P-site within #' each read, determined by the localisation of its first nucleotide (see #' \code{Details}). It returns a data table containing, for all samples and read #' lengths: i) the percentage of reads in ...
/R/psites.R
permissive
06dalton/riboWaltz
R
false
false
29,709
r
#' Ribosome P-sites position within reads. #' #' This function identifies the exact position of the ribosome P-site within #' each read, determined by the localisation of its first nucleotide (see #' \code{Details}). It returns a data table containing, for all samples and read #' lengths: i) the percentage of reads in ...
### ========================================================================= ### The start(), end(), width(), and pos() generic getters and setters ### ------------------------------------------------------------------------- ### ### stats::start and stats::end are S3 generics. ### setGeneric("start") setGeneric("st...
/R/start.R
no_license
huangliang0828/BiocGenerics
R
false
false
749
r
### ========================================================================= ### The start(), end(), width(), and pos() generic getters and setters ### ------------------------------------------------------------------------- ### ### stats::start and stats::end are S3 generics. ### setGeneric("start") setGeneric("st...
rm(list=ls()) library(rhdf5) load("lhsampling.r") hanford.threshold = c(-11,-6) alluvium.threshold = c(-13,-11) nshape = 3 west = 0 east = 143.2 south = 0 north = 1 top = 110.0 bottom = 90.0 dx = c(rev((0.1*1.095415574**(1:48))),rep(0.1,532)) dy = 1.0 dz = c(rev(0.05*1.09505408**(1:25)),rep(0.05,300)) nx = length...
/sensitivity/lhsampling/write.permeability.fields.R
no_license
mrubayet/archived_codes_for_sfa_modeling
R
false
false
1,458
r
rm(list=ls()) library(rhdf5) load("lhsampling.r") hanford.threshold = c(-11,-6) alluvium.threshold = c(-13,-11) nshape = 3 west = 0 east = 143.2 south = 0 north = 1 top = 110.0 bottom = 90.0 dx = c(rev((0.1*1.095415574**(1:48))),rep(0.1,532)) dy = 1.0 dz = c(rev(0.05*1.09505408**(1:25)),rep(0.05,300)) nx = length...
# SurfaceGenie_0.1/server.R library(shiny) library(plotly) library(RColorBrewer) library(stringr) #library(ggplot2) library(svglite) library(xlsx) source("functions.R") `%then%` <- shiny:::`%OR%` function(input, output, session) { ########## SurfaceGenie ########## # Load and process data ...
/server.R
no_license
GundryLab/SurfaceGenie
R
false
false
18,763
r
# SurfaceGenie_0.1/server.R library(shiny) library(plotly) library(RColorBrewer) library(stringr) #library(ggplot2) library(svglite) library(xlsx) source("functions.R") `%then%` <- shiny:::`%OR%` function(input, output, session) { ########## SurfaceGenie ########## # Load and process data ...
nogrid <- theme_gray()+ theme( plot.title=element_text(hjust=0.5), plot.subtitle=element_text(hjust=0.5), plot.caption=element_text(hjust=-.5), # strip.text.y = element_blank(), strip.background=element_rect(fill=rgb(.9,.95,1), colour=gray(.5), size=.2), panel.border=element_rect(fill=FALSE,colour=gra...
/nogrid.R
no_license
giofsantos11/ForecastingResidentialElectricityDemandUsingECM
R
false
false
734
r
nogrid <- theme_gray()+ theme( plot.title=element_text(hjust=0.5), plot.subtitle=element_text(hjust=0.5), plot.caption=element_text(hjust=-.5), # strip.text.y = element_blank(), strip.background=element_rect(fill=rgb(.9,.95,1), colour=gray(.5), size=.2), panel.border=element_rect(fill=FALSE,colour=gra...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/seasonality_and_colour.R \name{seasonality_and_colour} \alias{seasonality_and_colour} \title{Seasonality and colour of environmental noise} \usage{ seasonality_and_colour( time_series, dates, delta, is_uneven = FALSE, interpolate = ...
/man/seasonality_and_colour.Rd
permissive
dbarneche/envPred
R
false
true
2,645
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/seasonality_and_colour.R \name{seasonality_and_colour} \alias{seasonality_and_colour} \title{Seasonality and colour of environmental noise} \usage{ seasonality_and_colour( time_series, dates, delta, is_uneven = FALSE, interpolate = ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/addr-package.R \docType{package} \name{addr-package} \alias{addr} \alias{addr-package} \title{addr: What the Package Does (One Line, Title Case)} \description{ What the package does (one paragraph). } \author{ \strong{Maintainer}: First Last ...
/man/addr-package.Rd
permissive
mananchong/addr
R
false
true
389
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/addr-package.R \docType{package} \name{addr-package} \alias{addr} \alias{addr-package} \title{addr: What the Package Does (One Line, Title Case)} \description{ What the package does (one paragraph). } \author{ \strong{Maintainer}: First Last ...
################################################# # dynamic button that is used for Topic models page # dynamic numner of topics are generated and this buttons # is used for adding selected topics and words to taxonomy addToTax <- function(inputId, value = "Button") { tagList( singleton(tags$head(tags$script(sr...
/lib/customUIComponents.R
no_license
siddheshdhuri/docsetta
R
false
false
1,973
r
################################################# # dynamic button that is used for Topic models page # dynamic numner of topics are generated and this buttons # is used for adding selected topics and words to taxonomy addToTax <- function(inputId, value = "Button") { tagList( singleton(tags$head(tags$script(sr...
# TODO: Make histogram of all participants' thresholds # and standard deviations? # TODO: Figure out a meaningful analysis of results # TODO: Make data structure for gaze data # TODO: Figure out a way to determine whether gaze was ok close to wanted positions # Per-trial: See max gaze deviation after lo-...
/BestPestParticipant.R
no_license
thorbjornwolf/med603-analysis
R
false
false
2,662
r
# TODO: Make histogram of all participants' thresholds # and standard deviations? # TODO: Figure out a meaningful analysis of results # TODO: Make data structure for gaze data # TODO: Figure out a way to determine whether gaze was ok close to wanted positions # Per-trial: See max gaze deviation after lo-...
# Number of time units find_interval <- function(x, exclude_zero = TRUE) { UseMethod("find_interval") } find_interval.numeric <- function(x, exclude_zero = TRUE) { min_interval(x, exclude_zero = exclude_zero) } find_interval.integer <- function(x, exclude_zero = TRUE) { as.integer(min_interval(x, exclude_zero =...
/R/interval.R
no_license
nemochina2008/tsibble
R
false
false
3,269
r
# Number of time units find_interval <- function(x, exclude_zero = TRUE) { UseMethod("find_interval") } find_interval.numeric <- function(x, exclude_zero = TRUE) { min_interval(x, exclude_zero = exclude_zero) } find_interval.integer <- function(x, exclude_zero = TRUE) { as.integer(min_interval(x, exclude_zero =...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/shiny-functions.R \name{quality_check_summary_shiny} \alias{quality_check_summary_shiny} \title{Summarize tracking quality} \usage{ quality_check_summary_shiny(track_df) } \arguments{ \item{track_df}{A track data.frame} } \description{ Summar...
/man/quality_check_summary_shiny.Rd
no_license
kueckelj/celltracer
R
false
true
343
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/shiny-functions.R \name{quality_check_summary_shiny} \alias{quality_check_summary_shiny} \title{Summarize tracking quality} \usage{ quality_check_summary_shiny(track_df) } \arguments{ \item{track_df}{A track data.frame} } \description{ Summar...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/var_comps.R \name{var_comps_poisson} \alias{var_comps_poisson} \title{Get variance components for merMod with poisson response.} \usage{ var_comps_poisson(mod, expct, overdisp_name) } \arguments{ \item{mod}{merMod object with poisson family.}...
/man/var_comps_poisson.Rd
no_license
maqian12/partR2
R
false
true
573
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/var_comps.R \name{var_comps_poisson} \alias{var_comps_poisson} \title{Get variance components for merMod with poisson response.} \usage{ var_comps_poisson(mod, expct, overdisp_name) } \arguments{ \item{mod}{merMod object with poisson family.}...
# Author: Fabio Morea @ Area Science Park # Acknowledgments: this research work is supervided by prof. Domenico De Stefano, # within the frame of PhD in Applied Data Science and Artificial Intelligence at University of Trieste # Package: Labour Market Network - version 1.0 # Description: R program to extract informatio...
/code/script-1-data-prep.r
no_license
fabio-morea/consensus-community-detection
R
false
false
7,107
r
# Author: Fabio Morea @ Area Science Park # Acknowledgments: this research work is supervided by prof. Domenico De Stefano, # within the frame of PhD in Applied Data Science and Artificial Intelligence at University of Trieste # Package: Labour Market Network - version 1.0 # Description: R program to extract informatio...
library(tidyverse) library(raster) NEON_file <- "" EMS_file <- "" setwd("/Users/benjaminglass/Downloads") hfm <- readRDS("hfmaster_0713.RDS") setwd("/Users/benjaminglass/Downloads") NEONmaster <- as.data.frame(read.csv(file="neon_hr.csv",header=TRUE,stringsAsFactors=FALSE)) NEONmaster_mutated <- NEONmaster %>% ...
/24_get_NEON_EMS_overlap_stats_7day.R
permissive
glassb/HF21-Scripts
R
false
false
8,590
r
library(tidyverse) library(raster) NEON_file <- "" EMS_file <- "" setwd("/Users/benjaminglass/Downloads") hfm <- readRDS("hfmaster_0713.RDS") setwd("/Users/benjaminglass/Downloads") NEONmaster <- as.data.frame(read.csv(file="neon_hr.csv",header=TRUE,stringsAsFactors=FALSE)) NEONmaster_mutated <- NEONmaster %>% ...
env<-read.csv(file = "C:\\Users\\yossi.spektor\\Documents\\Reports\\Environment\\environment15.09.16.csv", skip = 0, stringsAsFactors=FALSE, dec = ".", header=TRUE) head(env) env$adSourceENV<-NULL #determine ad source env for(i in 1:nrow(env)) { env$adSource[i...
/streamEnv.R
no_license
easpex/R
R
false
false
6,403
r
env<-read.csv(file = "C:\\Users\\yossi.spektor\\Documents\\Reports\\Environment\\environment15.09.16.csv", skip = 0, stringsAsFactors=FALSE, dec = ".", header=TRUE) head(env) env$adSourceENV<-NULL #determine ad source env for(i in 1:nrow(env)) { env$adSource[i...
library(windex) ### Name: sample.data ### Title: Sample data for windex ### Aliases: sample.data ### Keywords: datasets ### ** Examples dat<-data(sample.data) summary(dat)
/data/genthat_extracted_code/windex/examples/sample.data.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
179
r
library(windex) ### Name: sample.data ### Title: Sample data for windex ### Aliases: sample.data ### Keywords: datasets ### ** Examples dat<-data(sample.data) summary(dat)
# Make sure we're using the rebuilt package. Suppress any error if it isn't loaded. try(detach(package:varImpact), silent = T) library(varImpact) library(testthat) # Create test dataset. context("varImpact(). Dataset A: continuous variables") # Set multicore-compatible seed. set.seed(1, "L'Ecuyer-CMRG") # Can't go be...
/tests/testthat/testVarImpact.R
no_license
gitter-badger/varImpact
R
false
false
6,999
r
# Make sure we're using the rebuilt package. Suppress any error if it isn't loaded. try(detach(package:varImpact), silent = T) library(varImpact) library(testthat) # Create test dataset. context("varImpact(). Dataset A: continuous variables") # Set multicore-compatible seed. set.seed(1, "L'Ecuyer-CMRG") # Can't go be...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/as_scdf.R \name{as_scdf} \alias{as_scdf} \title{as_scdf} \usage{ as_scdf( object, cvar = "case", pvar = "phase", dvar = "values", mvar = "mt", phase_names = NULL, sort_cases = FALSE ) } \arguments{ \item{object}{A data.frame} \...
/man/as_scdf.Rd
no_license
cran/scan
R
false
true
1,349
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/as_scdf.R \name{as_scdf} \alias{as_scdf} \title{as_scdf} \usage{ as_scdf( object, cvar = "case", pvar = "phase", dvar = "values", mvar = "mt", phase_names = NULL, sort_cases = FALSE ) } \arguments{ \item{object}{A data.frame} \...
library(tidyverse) library(EBImage) library(furrr) plan(multicore) # ---- Convenience functions ---- prune <- function(imgx, prop_limit = 0.02) { counts <- table(imgx) categories <- sort(unique(as.numeric(imgx))) prop <- counts/sum(counts) cat_replace <- categories[prop < prop_limit] imgx[imgx %in% cat_repla...
/code/shoes/longitudinal/20190905-Film_Print_Cleaning.R
permissive
CSAFE-ISU/this-is-us
R
false
false
4,848
r
library(tidyverse) library(EBImage) library(furrr) plan(multicore) # ---- Convenience functions ---- prune <- function(imgx, prop_limit = 0.02) { counts <- table(imgx) categories <- sort(unique(as.numeric(imgx))) prop <- counts/sum(counts) cat_replace <- categories[prop < prop_limit] imgx[imgx %in% cat_repla...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/manymodels-function.R \name{manymodels} \alias{manymodels} \title{A many model function} \usage{ manymodels(fitlist, methodnamevector) } \arguments{ \item{fitlist}{A list of model fit objects} \item{methodnamevector}{A vector of correspondin...
/manymodels/man/manymodels.Rd
no_license
ecohen13/Personal-Packages
R
false
true
671
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/manymodels-function.R \name{manymodels} \alias{manymodels} \title{A many model function} \usage{ manymodels(fitlist, methodnamevector) } \arguments{ \item{fitlist}{A list of model fit objects} \item{methodnamevector}{A vector of correspondin...
\name{remove.extra.newlines} \alias{remove.extra.newlines} \title{Remove more then two joined newlines} \usage{ remove.extra.newlines(x) } \arguments{ \item{x}{character vector} } \description{ Remove more then two joined newlines } \examples{ remove.extra.newlines(c('\\n\\n\\n', '\\n\\n', '\\n')) }
/man/remove.extra.newlines.Rd
no_license
latestalexey/pander
R
false
false
304
rd
\name{remove.extra.newlines} \alias{remove.extra.newlines} \title{Remove more then two joined newlines} \usage{ remove.extra.newlines(x) } \arguments{ \item{x}{character vector} } \description{ Remove more then two joined newlines } \examples{ remove.extra.newlines(c('\\n\\n\\n', '\\n\\n', '\\n')) }
context("test spacy_tokenize") source("utils.R") test_that("spacy_tokenize returns either data.frame and list", { skip_on_cran() skip_on_os("solaris") skip_if_no_python_or_no_spacy() txt <- "This is a test for document names." tokens_list <- spacy_tokenize(txt, output = "list") expect_identica...
/data/genthat_extracted_code/spacyr/tests/test-3-spacy_tokenize.R
no_license
surayaaramli/typeRrh
R
false
false
8,287
r
context("test spacy_tokenize") source("utils.R") test_that("spacy_tokenize returns either data.frame and list", { skip_on_cran() skip_on_os("solaris") skip_if_no_python_or_no_spacy() txt <- "This is a test for document names." tokens_list <- spacy_tokenize(txt, output = "list") expect_identica...
# -------------------------------------------------------------- # EXERCISE 2 # -------------------------------------------------------------- # Implement the body of the function 'rmMultipleBlanks' # below so that it removes multiple blank characters (i.e., # spaces, tabs, and newlines) from before and after # ...
/final/ex2.R
no_license
harishkumar92/stat133
R
false
false
1,549
r
# -------------------------------------------------------------- # EXERCISE 2 # -------------------------------------------------------------- # Implement the body of the function 'rmMultipleBlanks' # below so that it removes multiple blank characters (i.e., # spaces, tabs, and newlines) from before and after # ...
library(raster) library(ggplot2) library(maptools) landsat <- stack("//projectdata.eurac.edu//projects//ActivityData//Padovano_PhD//PaA//08_SMEX02//landsat//20020708_L7//20020708_L7//01_stk//20020708_L7_stk") NAvalue(landsat) <- -9999 c.hh <- raster("//projectdata.eurac.edu/projects/ActivityData/Padovano_PhD/PaA/08_S...
/EUMETSAT/airsat_plot.R
no_license
felixgreifeneder/EURAC_R
R
false
false
4,014
r
library(raster) library(ggplot2) library(maptools) landsat <- stack("//projectdata.eurac.edu//projects//ActivityData//Padovano_PhD//PaA//08_SMEX02//landsat//20020708_L7//20020708_L7//01_stk//20020708_L7_stk") NAvalue(landsat) <- -9999 c.hh <- raster("//projectdata.eurac.edu/projects/ActivityData/Padovano_PhD/PaA/08_S...
#rm(list = ls()) #setwd("C:/Users/kishore adur/Documents/kartik-dass/HW05") #data <- read.csv('cartier+3-day+auctions.csv') #get total number of auctions #unique(data$auctionid) # code to get auctionid, ration of second highest to third highest bid, # number of bidders, and number of bids rm(list = ls())...
/DASS/HW05/5-3.R
no_license
kartikadur/miniature-spoon
R
false
false
1,149
r
#rm(list = ls()) #setwd("C:/Users/kishore adur/Documents/kartik-dass/HW05") #data <- read.csv('cartier+3-day+auctions.csv') #get total number of auctions #unique(data$auctionid) # code to get auctionid, ration of second highest to third highest bid, # number of bidders, and number of bids rm(list = ls())...
\name{getNodePosition} \alias{getNodePosition} \alias{getNodePosition,CytoscapeWindowClass-method} \title{getNodePosition} \description{ Get the position of the specified nodes on the CytoscapeWindow canvas. Useful in retrieving the current position of nodes in the window. } \usage{ getNodePosition(obj, node.names)...
/man/getNodePosition.Rd
no_license
sebastianrossel/Bioconductor_RCy3_the_new_RCytoscape
R
false
false
929
rd
\name{getNodePosition} \alias{getNodePosition} \alias{getNodePosition,CytoscapeWindowClass-method} \title{getNodePosition} \description{ Get the position of the specified nodes on the CytoscapeWindow canvas. Useful in retrieving the current position of nodes in the window. } \usage{ getNodePosition(obj, node.names)...
\name{GParamSpec} \alias{GParamSpec} \alias{as.GParamSpec} \alias{gParamSpec} \alias{GParamFlags} \title{Parameter metadata in GObject} \description{ \code{GParamSpec} is an object structure that encapsulates the metadata required to specify parameters, such as e.g. \code{GObject} properties. } \usage{ gParamSpec(type...
/RGtk2/man/GParamSpec.Rd
no_license
lawremi/RGtk2
R
false
false
1,823
rd
\name{GParamSpec} \alias{GParamSpec} \alias{as.GParamSpec} \alias{gParamSpec} \alias{GParamFlags} \title{Parameter metadata in GObject} \description{ \code{GParamSpec} is an object structure that encapsulates the metadata required to specify parameters, such as e.g. \code{GObject} properties. } \usage{ gParamSpec(type...
readMEME<-function(resultat, num_motif){ j<-0 mi<-0 iii<-0 Sequencies<-vector(mode="list", length=num_motif) MEME.aligned<-vector(mode="list", length=(num_motif+1)) Sites<-vector(mode="logical", length=num_motif) width<-vector(mode="logical", length=num_motif) consensus<-vector(mode="logical", length=n...
/MEET/R/readMEME.R
no_license
ingted/R-Examples
R
false
false
1,983
r
readMEME<-function(resultat, num_motif){ j<-0 mi<-0 iii<-0 Sequencies<-vector(mode="list", length=num_motif) MEME.aligned<-vector(mode="list", length=(num_motif+1)) Sites<-vector(mode="logical", length=num_motif) width<-vector(mode="logical", length=num_motif) consensus<-vector(mode="logical", length=n...
testlist <- list(AgeVector = c(-4.73074171454048e-167, 2.2262381097027e-76, -9.12990429452974e-204, 5.97087417427845e-79, 4.7390525269307e-300, 6.58361441690132e-121, 3.58611068565168e-154, -2.94504776827523e-186, 2.62380314702636e-116, -6.78950518864266e+23, 6.99695749856012e-167, 86485.676793021, 1.11271562183704...
/myTAI/inst/testfiles/cpp_bootMatrix/AFL_cpp_bootMatrix/cpp_bootMatrix_valgrind_files/1615764519-test.R
no_license
akhikolla/updatedatatype-list3
R
false
false
1,803
r
testlist <- list(AgeVector = c(-4.73074171454048e-167, 2.2262381097027e-76, -9.12990429452974e-204, 5.97087417427845e-79, 4.7390525269307e-300, 6.58361441690132e-121, 3.58611068565168e-154, -2.94504776827523e-186, 2.62380314702636e-116, -6.78950518864266e+23, 6.99695749856012e-167, 86485.676793021, 1.11271562183704...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/TreeBasedMethods.R \name{calculateTrajectoryDistances} \alias{calculateTrajectoryDistances} \title{Calculate distance matrix between all pairs of ponts based on their projection onto the tree} \usage{ calculateTrajectoryDistances(adjMat, edge...
/man/calculateTrajectoryDistances.Rd
permissive
YosefLab/VISION
R
false
true
931
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/TreeBasedMethods.R \name{calculateTrajectoryDistances} \alias{calculateTrajectoryDistances} \title{Calculate distance matrix between all pairs of ponts based on their projection onto the tree} \usage{ calculateTrajectoryDistances(adjMat, edge...
#libraries ############################### library(rpart) library(randomForest) library(rattle) #library(rpart.plot) library(RColorBrewer) library(stringr) ############################### #Import and Prepare Project Data ############################### #set Working Directory setwd("C:/Users/chris/Document...
/Kaggle-Titanic.R
no_license
Icen0de/Kaggle-Titanic
R
false
false
10,836
r
#libraries ############################### library(rpart) library(randomForest) library(rattle) #library(rpart.plot) library(RColorBrewer) library(stringr) ############################### #Import and Prepare Project Data ############################### #set Working Directory setwd("C:/Users/chris/Document...