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
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/splitstackshape_helper_functions.R \name{NoSep} \alias{NoSep} \title{Split Basic Alphanumeric Strings Which Have No Separators} \usage{ NoSep(data, charfirst = TRUE) } \arguments{ \item{data}{The vector of strings to be split.} \item{charfir...
/man/NoSep.Rd
no_license
burningdrop/splitstackshapeDot
R
false
true
942
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/splitstackshape_helper_functions.R \name{NoSep} \alias{NoSep} \title{Split Basic Alphanumeric Strings Which Have No Separators} \usage{ NoSep(data, charfirst = TRUE) } \arguments{ \item{data}{The vector of strings to be split.} \item{charfir...
####The next function creates the classifier tree using the validation set funTrainingLNP <- function(graph, dataTraining, nivel="raiz"){ #library(caret) library(dendextend) library(igraph) hijos<-graph$count #Si el nodo tiene hijos creo el clasificador por ese nodo padre. if(hijo...
/exportando/myclasificadorJer_LNP.R
no_license
danyche2005/clasificadoresJerarquicosAddClass
R
false
false
10,493
r
####The next function creates the classifier tree using the validation set funTrainingLNP <- function(graph, dataTraining, nivel="raiz"){ #library(caret) library(dendextend) library(igraph) hijos<-graph$count #Si el nodo tiene hijos creo el clasificador por ese nodo padre. if(hijo...
#' @title Learner for nonparametric classification for functional data. #' #' @description #' Learner for Nonparametric Supervised Classification. #' #' @export makeRLearner.classif.fdausc.np = function() { makeRLearnerClassif( cl = "classif.fdausc.np", package = "fda.usc", par.set = makeParamSet( m...
/R/RLearner_classif_fdausc.np.R
no_license
fdrennan/mlr
R
false
false
2,620
r
#' @title Learner for nonparametric classification for functional data. #' #' @description #' Learner for Nonparametric Supervised Classification. #' #' @export makeRLearner.classif.fdausc.np = function() { makeRLearnerClassif( cl = "classif.fdausc.np", package = "fda.usc", par.set = makeParamSet( m...
library(shinyjqui) library(DT) library(shinythemes) library(dplyr) library(d3heatmap) library(ggplot2) library(plotly) library(fields) library(RColorBrewer) library(sortable) library(shinydashboard) library(shinyWidgets) #################### # define functions # #################### # convert logical vector to charac...
/panelViz_app.R
no_license
danieljfeller/panelViz
R
false
false
12,926
r
library(shinyjqui) library(DT) library(shinythemes) library(dplyr) library(d3heatmap) library(ggplot2) library(plotly) library(fields) library(RColorBrewer) library(sortable) library(shinydashboard) library(shinyWidgets) #################### # define functions # #################### # convert logical vector to charac...
library(wavethresh) ### Name: makegrid ### Title: Interpolate data to a grid. ### Aliases: makegrid ### Keywords: dplot ### ** Examples # # Generate some values in (0,1), then sort them (for plotting) # tt <- sort(runif(100)) # # Now evaluate the \code{doppler} function and add # some noise. # yy <- doppler(tt) + r...
/data/genthat_extracted_code/wavethresh/examples/makegrid.rd.R
no_license
surayaaramli/typeRrh
R
false
false
1,588
r
library(wavethresh) ### Name: makegrid ### Title: Interpolate data to a grid. ### Aliases: makegrid ### Keywords: dplot ### ** Examples # # Generate some values in (0,1), then sort them (for plotting) # tt <- sort(runif(100)) # # Now evaluate the \code{doppler} function and add # some noise. # yy <- doppler(tt) + r...
#WA009.1 dat <- read.csv("http://peach.l.chiba-u.ac.jp/course_folder/waa09_1.csv") boxplot(dat$studyH~dat$result,xlab="hour studied",ylab="result",col=c("orange","gray"),horizontal = T) dat.lr <- glm(result~studyH,family=binomial,data=dat) summary(dat.lr) #WA009.2 x=seq((min(dat$studyH)-2), (max(dat$studyH)+2), 0.1)...
/WA009.K.R
no_license
ct-7/Data-analysis-basic
R
false
false
1,132
r
#WA009.1 dat <- read.csv("http://peach.l.chiba-u.ac.jp/course_folder/waa09_1.csv") boxplot(dat$studyH~dat$result,xlab="hour studied",ylab="result",col=c("orange","gray"),horizontal = T) dat.lr <- glm(result~studyH,family=binomial,data=dat) summary(dat.lr) #WA009.2 x=seq((min(dat$studyH)-2), (max(dat$studyH)+2), 0.1)...
% Generated by roxygen2 (4.0.2): do not edit by hand \name{counts.formality} \alias{counts.formality} \title{Formality} \usage{ \method{counts}{formality}(x, ...) } \arguments{ \item{x}{The \code{\link[qdap]{formality}} object.} \item{\ldots}{ignored} } \description{ View formality counts. } \details{ formality Method...
/man/counts.formality.Rd
no_license
joffrevillanueva/qdap
R
false
false
335
rd
% Generated by roxygen2 (4.0.2): do not edit by hand \name{counts.formality} \alias{counts.formality} \title{Formality} \usage{ \method{counts}{formality}(x, ...) } \arguments{ \item{x}{The \code{\link[qdap]{formality}} object.} \item{\ldots}{ignored} } \description{ View formality counts. } \details{ formality Method...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/cloudformation_operations.R \name{cloudformation_estimate_template_cost} \alias{cloudformation_estimate_template_cost} \title{Returns the estimated monthly cost of a template} \usage{ cloudformation_estimate_template_cost( TemplateBody = NU...
/cran/paws.management/man/cloudformation_estimate_template_cost.Rd
permissive
paws-r/paws
R
false
true
1,712
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/cloudformation_operations.R \name{cloudformation_estimate_template_cost} \alias{cloudformation_estimate_template_cost} \title{Returns the estimated monthly cost of a template} \usage{ cloudformation_estimate_template_cost( TemplateBody = NU...
#--------------------------------------------------------------------------------------------- ## THIS IS AN EXAMPLE CODE FOR THE ANALYSIS OF AFFYMETRIX GENE MICROARRAYS #--------------------------------------------------------------------------------------------- #-----------------------------------------------------...
/lab-1_MicroarraysDataAnalysis/MicroarrayAnalysis.R
no_license
ASPteaching/Omics_Data_Analysis
R
false
false
10,522
r
#--------------------------------------------------------------------------------------------- ## THIS IS AN EXAMPLE CODE FOR THE ANALYSIS OF AFFYMETRIX GENE MICROARRAYS #--------------------------------------------------------------------------------------------- #-----------------------------------------------------...
summarize_dots <- function(dots, mask, .by) { .data <- mask$.data .data_df <- .data if (length(.by)) { ## convert to factor to keep groups with NAs # handles by even if it its a selection objects or if it creates a new col by_cols_as_factors <- lapply( subset_j(.data, .by), function(x) fa...
/R/04_aggregate.R
no_license
moodymudskipper/tb
R
false
false
5,844
r
summarize_dots <- function(dots, mask, .by) { .data <- mask$.data .data_df <- .data if (length(.by)) { ## convert to factor to keep groups with NAs # handles by even if it its a selection objects or if it creates a new col by_cols_as_factors <- lapply( subset_j(.data, .by), function(x) fa...
#Set the current working directory using setwd(path) # Check if package is installed in the system. If not install automatically list.of.packages <- c("car", "MASS", "tidyr","ggplot2","dplyr","reshape2","corrplot") new.packages <- list.of.packages[!(list.of.packages %in% installed.packages()[,"Package"])] if(length(ne...
/New Car Price Estimation.R
no_license
bansalswati90/PGDDS
R
false
false
28,567
r
#Set the current working directory using setwd(path) # Check if package is installed in the system. If not install automatically list.of.packages <- c("car", "MASS", "tidyr","ggplot2","dplyr","reshape2","corrplot") new.packages <- list.of.packages[!(list.of.packages %in% installed.packages()[,"Package"])] if(length(ne...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/cite_cr.R \name{cite_cr} \alias{cite_cr} \title{Derive citation data from the Crossref database via rcrossref} \usage{ cite_cr(id) } \arguments{ \item{id}{Vector of pmid / doi} } \value{ Dataframe } \description{ Derive citation data from the...
/man/cite_cr.Rd
no_license
bibliometrics/impactr
R
false
true
341
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/cite_cr.R \name{cite_cr} \alias{cite_cr} \title{Derive citation data from the Crossref database via rcrossref} \usage{ cite_cr(id) } \arguments{ \item{id}{Vector of pmid / doi} } \value{ Dataframe } \description{ Derive citation data from the...
##' BcftoolsStats object ##' ##' Representation of bcftools stats output ##' ##' @title BcftoolsStats ##' @slot ID ID section ##' @slot SN summary numbers section ##' @slot TSTV transition/transversion section ##' @slot SiS singleton stats ##' @slot AF stats by non-reference allele frequency ##' @slot QUAL stats by qua...
/R/bcftools.R
no_license
percyfal/manticore
R
false
false
7,248
r
##' BcftoolsStats object ##' ##' Representation of bcftools stats output ##' ##' @title BcftoolsStats ##' @slot ID ID section ##' @slot SN summary numbers section ##' @slot TSTV transition/transversion section ##' @slot SiS singleton stats ##' @slot AF stats by non-reference allele frequency ##' @slot QUAL stats by qua...
#' @title Generate a Single Flip Card #' #' @description HTML and CSS flip card, based on example at https://www.w3schools.com/howto/howto_css_flip_card.asp #' #' @param title character card title #' @param subheading character card subheading #' @param description character card description #' @param img character ...
/R/flip_card.R
no_license
mrjoh3/gallerier
R
false
false
3,241
r
#' @title Generate a Single Flip Card #' #' @description HTML and CSS flip card, based on example at https://www.w3schools.com/howto/howto_css_flip_card.asp #' #' @param title character card title #' @param subheading character card subheading #' @param description character card description #' @param img character ...
suppressMessages(library(Hmisc)) suppressMessages(library(rhdf5)) # read input seed<-as.numeric(commandArgs()[7]) # read options config<-read.table("config",h=T,as.is=2) # load normalize matrix mat<-readRDS("mat") # append environmental parameters if necessary if ( ! is.na(config$env)) { env<-readRDS("env") mat<-...
/rscripts/spearman.R
permissive
lentendu/NetworkNullHPC
R
false
false
1,169
r
suppressMessages(library(Hmisc)) suppressMessages(library(rhdf5)) # read input seed<-as.numeric(commandArgs()[7]) # read options config<-read.table("config",h=T,as.is=2) # load normalize matrix mat<-readRDS("mat") # append environmental parameters if necessary if ( ! is.na(config$env)) { env<-readRDS("env") mat<-...
library(tidyverse) library(plyr) library(dplyr) require(stringr) #Ottenimento degli opinion lexicon per la lingua italiana pos.words = scan('../OpinionLexicon/positive_words_it.txt', what='character', comment.char=';') neg.words = scan('../OpinionLexicon/negative_words_it.txt', what='character', comment.char=';') get...
/ScriptR/RankingBySelectedFeature.R
no_license
DiegoPergolini/TextMiningProject
R
false
false
3,545
r
library(tidyverse) library(plyr) library(dplyr) require(stringr) #Ottenimento degli opinion lexicon per la lingua italiana pos.words = scan('../OpinionLexicon/positive_words_it.txt', what='character', comment.char=';') neg.words = scan('../OpinionLexicon/negative_words_it.txt', what='character', comment.char=';') get...
## Input: original features --> Output: random walk features (edge matrix + paths -- paths need to be saved one at a time, memory will overload otherwise) # aya43@sfu.ca 20161220 #Directory root = "~/projects/flowCAP-II" result_dir = "result"; suppressWarnings(dir.create (result_dir)) setwd(root) ## input directories...
/flowtype_flowcap_pipeline-master/04_data_rw.R
no_license
aya49/flowGraph_experiments
R
false
false
15,025
r
## Input: original features --> Output: random walk features (edge matrix + paths -- paths need to be saved one at a time, memory will overload otherwise) # aya43@sfu.ca 20161220 #Directory root = "~/projects/flowCAP-II" result_dir = "result"; suppressWarnings(dir.create (result_dir)) setwd(root) ## input directories...
ind <- read.table("ind_depth_40.list") genes= read.table("/RQusagers/arsth/hussinju_group/lab_projects/PGX_DENOVO/DATA/CYPGENES/CYPgenes_coordinates_GRCh38_58.BED",col.names=c('chr','start','end','name') ,sep="\t") output=file("genes_oxford_rmdup_40.depth","w") output2=file("genes_oxford_rmdup_40_stat.depth","w") ind_...
/results/2017.09.19/COVERAGE_CYPGENES/mean_depth_genes.R
no_license
arsthilaire/PGX_DENOVO
R
false
false
1,763
r
ind <- read.table("ind_depth_40.list") genes= read.table("/RQusagers/arsth/hussinju_group/lab_projects/PGX_DENOVO/DATA/CYPGENES/CYPgenes_coordinates_GRCh38_58.BED",col.names=c('chr','start','end','name') ,sep="\t") output=file("genes_oxford_rmdup_40.depth","w") output2=file("genes_oxford_rmdup_40_stat.depth","w") ind_...
# library(partycalls) library(data.table) options(stringsAsFactors = FALSE) source("dev/functions-improvement-attempt-1.R") load("inst/extdata/houKHfiles001-111.rdata") load("inst/extdata/votedata-partycalls.RData") setDT(votedata) old_partycalls <- votedata[congress < 110, .(congress, voteno, partycall)] old_partycall...
/old/replication-improvement-attempt-1.R
no_license
Hershberger/partycalls
R
false
false
2,326
r
# library(partycalls) library(data.table) options(stringsAsFactors = FALSE) source("dev/functions-improvement-attempt-1.R") load("inst/extdata/houKHfiles001-111.rdata") load("inst/extdata/votedata-partycalls.RData") setDT(votedata) old_partycalls <- votedata[congress < 110, .(congress, voteno, partycall)] old_partycall...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/get_from_gdrive.R \name{get_from_gdrive} \alias{get_from_gdrive} \title{Get sheets from google drive} \usage{ get_from_gdrive(gdrive_path) } \arguments{ \item{gdrive_path}{A google drive path where the sheets are stored} } \value{ The content...
/man/get_from_gdrive.Rd
permissive
pamelinni/metamanager
R
false
true
572
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/get_from_gdrive.R \name{get_from_gdrive} \alias{get_from_gdrive} \title{Get sheets from google drive} \usage{ get_from_gdrive(gdrive_path) } \arguments{ \item{gdrive_path}{A google drive path where the sheets are stored} } \value{ The content...
### REGRESSION SCRIPT rm(list=ls()) #remove global environment setwd("/Users/Ashley/Documents/Biocomputing_2018/biocomputing_StatsGroupProject") sugar = read.csv("sugar.txt", header = TRUE)
/regression_script.R
no_license
afleishm/biocomputing_StatsGroupProject
R
false
false
190
r
### REGRESSION SCRIPT rm(list=ls()) #remove global environment setwd("/Users/Ashley/Documents/Biocomputing_2018/biocomputing_StatsGroupProject") sugar = read.csv("sugar.txt", header = TRUE)
# Question 1 households > 10 acres and 10,000 worth of agriculture products url <- "https://d396qusza40orc.cloudfront.net/getdata%2Fdata%2Fss06hid.csv" download.file(url,"data/idaho_survey_2006.csv") survey <- read.csv("./data/idaho_survey_2006.csv") head(survey) tail(survey) agricultureLogical <- survey[which(ACR == 3...
/course3_Getting_and_Cleaning_Data/Week_3/Exercises.R
no_license
coichedid/datasciencecoursera
R
false
false
2,278
r
# Question 1 households > 10 acres and 10,000 worth of agriculture products url <- "https://d396qusza40orc.cloudfront.net/getdata%2Fdata%2Fss06hid.csv" download.file(url,"data/idaho_survey_2006.csv") survey <- read.csv("./data/idaho_survey_2006.csv") head(survey) tail(survey) agricultureLogical <- survey[which(ACR == 3...
#' --- #' title: "Basic classification on breast cancer dataset" #' author: "" #' date: "" #' output: #' html_document: #' self_contained: false #' --- library(gmum.r) # We will perform basic classification on breast cancer dataset # using LIBSVM with linear kernel data(svm_breast_cancer_dataset) # We can pass ...
/demo/samples/svm.basic.R
no_license
Silveryu/gng.r
R
false
false
515
r
#' --- #' title: "Basic classification on breast cancer dataset" #' author: "" #' date: "" #' output: #' html_document: #' self_contained: false #' --- library(gmum.r) # We will perform basic classification on breast cancer dataset # using LIBSVM with linear kernel data(svm_breast_cancer_dataset) # We can pass ...
IDMC_BASE_URL <- 'https://api.idmcdb.org'
/R/zzz.R
permissive
chuvanan/idmcapi
R
false
false
43
r
IDMC_BASE_URL <- 'https://api.idmcdb.org'
library(readr) library(dplyr) library(stringr) library(tidyr) library(magrittr) # Read in microdata and government labels. Join the data frames. finances <- read_fwf("2016FinEstDAT_12042018modp_pu.txt", fwf_widths(c(2, 1, 3, 3, 5, 3, 12, 4, 1), c("state"...
/spending.R
no_license
Harrison8/local_govt_finances
R
false
false
1,604
r
library(readr) library(dplyr) library(stringr) library(tidyr) library(magrittr) # Read in microdata and government labels. Join the data frames. finances <- read_fwf("2016FinEstDAT_12042018modp_pu.txt", fwf_widths(c(2, 1, 3, 3, 5, 3, 12, 4, 1), c("state"...
### ORDERING OF T CELLS INTO EFFECTORNESS TRAJECTORIES ### # Author: Eddie Cano-Gamez (ecg@sanger.ac.uk) # # This code performs trajectory inference for groups of T cells exposed to different cytokines # Using the monocle (v2) alogirthm, cells from each cytokine cytokine condition are ordered into a trajectory which st...
/scRNAseq/scRNAseq_T_cell_effectorness_analysis.R
no_license
eddiecg/T-cell-effectorness
R
false
false
8,397
r
### ORDERING OF T CELLS INTO EFFECTORNESS TRAJECTORIES ### # Author: Eddie Cano-Gamez (ecg@sanger.ac.uk) # # This code performs trajectory inference for groups of T cells exposed to different cytokines # Using the monocle (v2) alogirthm, cells from each cytokine cytokine condition are ordered into a trajectory which st...
#' Check Spelling #' #' \code{check_spelling} - Check the spelling for an vector of strings. The #' function use the following technique:\cr #' \itemize{ #' \item Separate the words from a string into a bag of words. #' \item Look those words up in a dictionary to find words not recognized/found (considered poss...
/R/check_spelling.R
no_license
cran/qdap
R
false
false
26,827
r
#' Check Spelling #' #' \code{check_spelling} - Check the spelling for an vector of strings. The #' function use the following technique:\cr #' \itemize{ #' \item Separate the words from a string into a bag of words. #' \item Look those words up in a dictionary to find words not recognized/found (considered poss...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/IGAPI.R \name{IG_update_working_order} \alias{IG_update_working_order} \title{IG API Updates an OTC working order.} \usage{ IG_update_working_order(headers, url = "https://demo-api.ig.com/gateway/deal/workingorders/otc", good_till_date, l...
/man/IG_update_working_order.Rd
permissive
ivanliu1989/RQuantAPI
R
false
true
1,189
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/IGAPI.R \name{IG_update_working_order} \alias{IG_update_working_order} \title{IG API Updates an OTC working order.} \usage{ IG_update_working_order(headers, url = "https://demo-api.ig.com/gateway/deal/workingorders/otc", good_till_date, l...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/PlotDiMDS_SH_Rows.R \name{PlotDiMDS_SH_Rows} \alias{PlotDiMDS_SH_Rows} \title{Plot results from SH on the Rows of DiMDS} \usage{ PlotDiMDS_SH_Rows(res_DiMDS) } \arguments{ \item{res_DiMDS}{Output from DiMDS} } \value{ SH results } \descriptio...
/man/PlotDiMDS_SH_Rows.Rd
no_license
michaelkriegsman/PlotDiDiSTATIS
R
false
true
367
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/PlotDiMDS_SH_Rows.R \name{PlotDiMDS_SH_Rows} \alias{PlotDiMDS_SH_Rows} \title{Plot results from SH on the Rows of DiMDS} \usage{ PlotDiMDS_SH_Rows(res_DiMDS) } \arguments{ \item{res_DiMDS}{Output from DiMDS} } \value{ SH results } \descriptio...
# Internship program at INSOFE # Project: Congressional Voting Records Data Set # Team(size 1): C Vinod Kumar # ------------------------------------------------------------------------------------------------ # Abstract: "Congresssional voting records data" # Objective: Using given voting patterns classify the h...
/Congressional_voting_record.R
no_license
Vinodkumarcvk07/Intership_insofe_vinodkumar
R
false
false
31,388
r
# Internship program at INSOFE # Project: Congressional Voting Records Data Set # Team(size 1): C Vinod Kumar # ------------------------------------------------------------------------------------------------ # Abstract: "Congresssional voting records data" # Objective: Using given voting patterns classify the h...
#' @title Get Weekly AT Internet Data - Set Period #' @description This function allows you to get weekly data from 'AT Internet' using set perdiod, with a start date and an end date. #' METRICS are visits, visitors, conversions visits, conversions rate, visits with sales, time spent per pages, bounce rate #' #' @param...
/R/week_set.R
no_license
remibacha/atInternetR
R
false
false
4,877
r
#' @title Get Weekly AT Internet Data - Set Period #' @description This function allows you to get weekly data from 'AT Internet' using set perdiod, with a start date and an end date. #' METRICS are visits, visitors, conversions visits, conversions rate, visits with sales, time spent per pages, bounce rate #' #' @param...
\name{ncdf4-package} \alias{ncdf4-package} \title{Read, write, and create netCDF files (including version 4 format)} \description{ Read from or write to existing netCDF format files, or create new ones. } \references{ http://dwpierce.com/software } \details{ More information on this package, including detailed insta...
/ncdf4/man/ncdf4-package.Rd
no_license
pmjherman/r-ncdf4-build-opendap-windows
R
false
false
3,527
rd
\name{ncdf4-package} \alias{ncdf4-package} \title{Read, write, and create netCDF files (including version 4 format)} \description{ Read from or write to existing netCDF format files, or create new ones. } \references{ http://dwpierce.com/software } \details{ More information on this package, including detailed insta...
set.seed(1234567890) library(geosphere) stations <- read.csv("stations.csv") temps <- read.csv("temps50k.csv") st <- merge(stations,temps,by="station_number") a <- 58.4274 # latitude b <- 14.826 #longitude longlat<-matrix(c(st[,1],st[,5], st[,4]), ncol=3)#matrix of longitude and lat dist0<-matrix(0,ncol=2,nrow=5...
/Master_subjects/Intro_To_Machine_Learning/Lab/Zaida_Kernel.R
no_license
Ganson2018/MasterStatistics-MachineLearning
R
false
false
3,147
r
set.seed(1234567890) library(geosphere) stations <- read.csv("stations.csv") temps <- read.csv("temps50k.csv") st <- merge(stations,temps,by="station_number") a <- 58.4274 # latitude b <- 14.826 #longitude longlat<-matrix(c(st[,1],st[,5], st[,4]), ncol=3)#matrix of longitude and lat dist0<-matrix(0,ncol=2,nrow=5...
\name{CommuteAtlanta} \alias{CommuteAtlanta} \docType{data} \title{ Commute Atlanta } \description{ Commute times and distance for a sample of 500 people in Atlanta } \usage{data(CommuteAtlanta)} \format{ A data frame with 500 observations on the following 5 variables. \describe{ St. Louis } } \details{ Data from...
/man/CommuteAtlanta.Rd
no_license
statmanrobin/Lock5Data
R
false
false
946
rd
\name{CommuteAtlanta} \alias{CommuteAtlanta} \docType{data} \title{ Commute Atlanta } \description{ Commute times and distance for a sample of 500 people in Atlanta } \usage{data(CommuteAtlanta)} \format{ A data frame with 500 observations on the following 5 variables. \describe{ St. Louis } } \details{ Data from...
#' @include SQLiteConnection.R #' @include SQLiteDriver.R NULL #' Connect to an SQLite database #' #' Together, `SQLite()` and `dbConnect()` allow you to connect to #' a SQLite database file. See [DBI::dbSendQuery()] for how to issue queries #' and receive results. #' #' Connections are automatically cleaned-up after ...
/R/connect.R
permissive
Sparty87/RSQLite
R
false
false
7,460
r
#' @include SQLiteConnection.R #' @include SQLiteDriver.R NULL #' Connect to an SQLite database #' #' Together, `SQLite()` and `dbConnect()` allow you to connect to #' a SQLite database file. See [DBI::dbSendQuery()] for how to issue queries #' and receive results. #' #' Connections are automatically cleaned-up after ...
\alias{gtkTextTagSetPriority} \name{gtkTextTagSetPriority} \title{gtkTextTagSetPriority} \description{Sets the priority of a \code{\link{GtkTextTag}}. Valid priorities are start at 0 and go to one less than \code{\link{gtkTextTagTableGetSize}}. Each tag in a table has a unique priority; setting the priority of one tag ...
/man/gtkTextTagSetPriority.Rd
no_license
cran/RGtk2.10
R
false
false
1,063
rd
\alias{gtkTextTagSetPriority} \name{gtkTextTagSetPriority} \title{gtkTextTagSetPriority} \description{Sets the priority of a \code{\link{GtkTextTag}}. Valid priorities are start at 0 and go to one less than \code{\link{gtkTextTagTableGetSize}}. Each tag in a table has a unique priority; setting the priority of one tag ...
## clipPolygons.r ## by Fabrizio Manco, 13/10/2010 ## clip two polygons, used to remove lands some study polygon area for DCF7 clipPolygons <- function ( shapeAll, europa) { require(adehabitat) require(PBSmapping) if (!exists("europa")) {load("europa.rda")} allSourc...
/vmstools/R/old/clipPolygons.r
no_license
nielshintzen/vmstools
R
false
false
1,272
r
## clipPolygons.r ## by Fabrizio Manco, 13/10/2010 ## clip two polygons, used to remove lands some study polygon area for DCF7 clipPolygons <- function ( shapeAll, europa) { require(adehabitat) require(PBSmapping) if (!exists("europa")) {load("europa.rda")} allSourc...
#' @describeIn linters Check that the `[[` operator is used when extracting a single element from #' an object, not `[` (subsetting) nor `$` (interactive use). #' @export extraction_operator_linter <- function(source_file) { tokens <- source_file[["parsed_content"]] <- filter_out_token_type(...
/R/extraction_operator_linter.R
permissive
naupaka/lintr
R
false
false
2,038
r
#' @describeIn linters Check that the `[[` operator is used when extracting a single element from #' an object, not `[` (subsetting) nor `$` (interactive use). #' @export extraction_operator_linter <- function(source_file) { tokens <- source_file[["parsed_content"]] <- filter_out_token_type(...
################## DMC Lesson 5: Advanced Multiple Subjects ### Lesson 5.4: Population covariates and plausible values. # !!!!!!!!!!!!!!!!!!!!!!!!!!!!!! # # THIS LESSON ALSO REQUIRES # # PACKAGE hypergeo # # !!!!!!!!!!!!!!!!!!!!!!!!!!!!!! # # Demonstrates the use of "plausible values", a full...
/tutorial/dmc_5_4_Plausible.R
permissive
russell-j-boag/methods-dmc-tutorial
R
false
false
12,914
r
################## DMC Lesson 5: Advanced Multiple Subjects ### Lesson 5.4: Population covariates and plausible values. # !!!!!!!!!!!!!!!!!!!!!!!!!!!!!! # # THIS LESSON ALSO REQUIRES # # PACKAGE hypergeo # # !!!!!!!!!!!!!!!!!!!!!!!!!!!!!! # # Demonstrates the use of "plausible values", a full...
#' Write age control file to disk formatted for either Bacon or Clam #' #' Passing in a download object the function outputs a Bacon or Clam formatted file to a #' user defined destination for age modelling with existing age-depth modeling software. #' #' @importFrom utils write.csv write.table #' @param download A sin...
/R/write_agefile.R
no_license
andydawson/neotoma
R
false
false
6,712
r
#' Write age control file to disk formatted for either Bacon or Clam #' #' Passing in a download object the function outputs a Bacon or Clam formatted file to a #' user defined destination for age modelling with existing age-depth modeling software. #' #' @importFrom utils write.csv write.table #' @param download A sin...
################################################################# ### ### This Script creates a subset of RNAseq data ### for the N selected genes. ### source data : ### "./2 DATA/TCGA BC MA/BRCA.MA.TCGA.ASSEMBLER.CLEANED.RData" ### "./2 DATA/TCGA RNAseq/RNASeq_BRCA_EDASeq/BRCA.RNASeq.TCGA.ASSEMBLER.NORMALIZED.RData" ...
/METABRIC/METABRIC.Subset.RNASeq.SelectedGenes.WHX.R
no_license
dudious/QCRI-SIDRA-ICR
R
false
false
2,582
r
################################################################# ### ### This Script creates a subset of RNAseq data ### for the N selected genes. ### source data : ### "./2 DATA/TCGA BC MA/BRCA.MA.TCGA.ASSEMBLER.CLEANED.RData" ### "./2 DATA/TCGA RNAseq/RNASeq_BRCA_EDASeq/BRCA.RNASeq.TCGA.ASSEMBLER.NORMALIZED.RData" ...
library("qcc") #pg 128 defect.counts <- c(12,29,18,3,34,4) names(defect.counts) <- c("Weather","Overslept", "Alarm Failure", "Time Change","Traffic","Other") summary(defect.counts) pareto.chart(defect.counts) #pg 129 mnms <- readr::read_csv("http://qualityandinnovation.com/spring-summer-2017...
/ch02_07/examples.R
permissive
MikeMKH/statistics-the-easier-way-with-r
R
false
false
563
r
library("qcc") #pg 128 defect.counts <- c(12,29,18,3,34,4) names(defect.counts) <- c("Weather","Overslept", "Alarm Failure", "Time Change","Traffic","Other") summary(defect.counts) pareto.chart(defect.counts) #pg 129 mnms <- readr::read_csv("http://qualityandinnovation.com/spring-summer-2017...
#' @include ast.R NULL #' Graphs from R Expressions #' #' Creates a plottable (DiagrammeR) expression graph from an unevaluated R expression. #' By default, merges the innermost symbols (input variables) with the same label into #' common nodes, similarly to the kind of expression graph one would see in a neural #' ne...
/R/express.R
permissive
gmega/expRess
R
false
false
4,595
r
#' @include ast.R NULL #' Graphs from R Expressions #' #' Creates a plottable (DiagrammeR) expression graph from an unevaluated R expression. #' By default, merges the innermost symbols (input variables) with the same label into #' common nodes, similarly to the kind of expression graph one would see in a neural #' ne...
#' NILL algorithm #' #' Moderates a energy demand series using a rechargable battery #' and applying NILL algorithm to obscure actual energy usage. #' @param lpo Energy demand series as nummeric vector, unit: kWh #' @param max.be Battery's maximum capacity, unit: kWh #' @param max.bp Battery's maximum charing and disc...
/R/alg_nill.R
permissive
Arzik1987/bpriv
R
false
false
5,225
r
#' NILL algorithm #' #' Moderates a energy demand series using a rechargable battery #' and applying NILL algorithm to obscure actual energy usage. #' @param lpo Energy demand series as nummeric vector, unit: kWh #' @param max.be Battery's maximum capacity, unit: kWh #' @param max.bp Battery's maximum charing and disc...
######################################################### ### A) Installing and loading required packages ######################################################### if (!require("gplots")) { install.packages("gplots", dependencies = TRUE) library(gplots) } if (!require("RColorBrewer")) { install.packages("RC...
/SMClusterAnalysis/SMClusterAccurance/clusterPresenceAbsence_generic.R
no_license
cmgvesth/300asp
R
false
false
9,266
r
######################################################### ### A) Installing and loading required packages ######################################################### if (!require("gplots")) { install.packages("gplots", dependencies = TRUE) library(gplots) } if (!require("RColorBrewer")) { install.packages("RC...
### This script is for Advanced BA course assignment #3, from Team 3 library(ggplot2) ## 1.Load data and check structure data.raw <- read.csv(file = 'ccFraud.csv') head(data.raw) sapply(data.raw, function(x) sum(is.na(x))) # no missing value # drop custID since it does not influence the accessment result data.raw$cu...
/hw3.R
no_license
Coelacanss/C_Adv_BA
R
false
false
7,347
r
### This script is for Advanced BA course assignment #3, from Team 3 library(ggplot2) ## 1.Load data and check structure data.raw <- read.csv(file = 'ccFraud.csv') head(data.raw) sapply(data.raw, function(x) sum(is.na(x))) # no missing value # drop custID since it does not influence the accessment result data.raw$cu...
% Generated by roxygen2 (4.1.1): do not edit by hand % Please edit documentation in R/facet-grid-.r \name{facet_grid} \alias{facet_grid} \title{Lay out panels in a grid.} \usage{ facet_grid(facets, margins = FALSE, scales = "fixed", space = "fixed", shrink = TRUE, labeller = "label_value", as.table = TRUE, drop = TRU...
/man/facet_grid.Rd
no_license
veraanadi/ggplot2
R
false
false
6,703
rd
% Generated by roxygen2 (4.1.1): do not edit by hand % Please edit documentation in R/facet-grid-.r \name{facet_grid} \alias{facet_grid} \title{Lay out panels in a grid.} \usage{ facet_grid(facets, margins = FALSE, scales = "fixed", space = "fixed", shrink = TRUE, labeller = "label_value", as.table = TRUE, drop = TRU...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/utils_ui.R \name{ppgEditingTools} \alias{ppgEditingTools} \title{Utility for \code{ibiVizEdit} that generates UI components for ibi editing tab tools} \usage{ ppgEditingTools() } \description{ Utility for \code{ibiVizEdit} that generates UI c...
/man/ppgEditingTools.Rd
no_license
dr-consulting/ibi_VizEdit
R
false
true
358
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/utils_ui.R \name{ppgEditingTools} \alias{ppgEditingTools} \title{Utility for \code{ibiVizEdit} that generates UI components for ibi editing tab tools} \usage{ ppgEditingTools() } \description{ Utility for \code{ibiVizEdit} that generates UI c...
context("compile reactions") params <- c( "a" = 1, "b" = 2, "c" = 3, "d" = 4.5321 ) state <- c( "a_very_long_state_name_value_is_just_to_try_and_see_if_it_works" = 12.34, "short_one" = 7, "x" = 1, "y" = 0, "z" = 0 ) reactions <- list( reaction("a", c(x = +1, y = +1), "react1"), reaction("b", c(x ...
/tests/testthat/test-compile_reactions.R
no_license
rcannood/GillespieSSA2
R
false
false
3,585
r
context("compile reactions") params <- c( "a" = 1, "b" = 2, "c" = 3, "d" = 4.5321 ) state <- c( "a_very_long_state_name_value_is_just_to_try_and_see_if_it_works" = 12.34, "short_one" = 7, "x" = 1, "y" = 0, "z" = 0 ) reactions <- list( reaction("a", c(x = +1, y = +1), "react1"), reaction("b", c(x ...
# render the figures.Rmd to the docs folder # the docs folder pushes to gh-pages # https://ssj-delta-cu.github.io/ssj-graphs-r/report-figures.html rmarkdown::render('figs/figures.Rmd', 'html_document', output_file = 'report-figures.html', output_dir = 'docs') rmarkdown::render('figs/figures-daily.Rmd', 'html_docu...
/figs/render2ghpages.R
no_license
ssj-delta-cu/ssj-graphs-r
R
false
false
885
r
# render the figures.Rmd to the docs folder # the docs folder pushes to gh-pages # https://ssj-delta-cu.github.io/ssj-graphs-r/report-figures.html rmarkdown::render('figs/figures.Rmd', 'html_document', output_file = 'report-figures.html', output_dir = 'docs') rmarkdown::render('figs/figures-daily.Rmd', 'html_docu...
testlist <- list(phi = c(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), x = c(1.36656528938164e-311, -1.657912...
/dcurver/inst/testfiles/ddc/AFL_ddc/ddc_valgrind_files/1609868280-test.R
no_license
akhikolla/updated-only-Issues
R
false
false
831
r
testlist <- list(phi = c(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), x = c(1.36656528938164e-311, -1.657912...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/T3Clusf.R \name{T3Clusf} \alias{T3Clusf} \title{T3Clusf: Tucker3 Fuzzy Cluster Analysis} \usage{ T3Clusf(X, Q, R = Q, G = 2, margin = 3L, alpha = 1, eps = 1e-08, maxit = 100L, verbose = 1, nstart = 1L, parallel = TRUE, mc.cores = detectCo...
/lsbclust/man/T3Clusf.Rd
no_license
akhikolla/InformationHouse
R
false
true
1,992
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/T3Clusf.R \name{T3Clusf} \alias{T3Clusf} \title{T3Clusf: Tucker3 Fuzzy Cluster Analysis} \usage{ T3Clusf(X, Q, R = Q, G = 2, margin = 3L, alpha = 1, eps = 1e-08, maxit = 100L, verbose = 1, nstart = 1L, parallel = TRUE, mc.cores = detectCo...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/rdataretriever.R \name{get_citation} \alias{get_citation} \title{Get dataset citation information and a description} \usage{ get_citation(dataset) } \arguments{ \item{dataset}{name of the dataset} } \value{ returns a string with the citation ...
/man/get_citation.Rd
permissive
pranita-s/rdataretriever
R
false
true
474
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/rdataretriever.R \name{get_citation} \alias{get_citation} \title{Get dataset citation information and a description} \usage{ get_citation(dataset) } \arguments{ \item{dataset}{name of the dataset} } \value{ returns a string with the citation ...
# require(Defaults) # setDefaults(q, save="no") # useDefaults(q) reload <- function() { source('tree.r') } .First <- function () { reload() }
/assignment1/.Rprofile
no_license
oleander/data-mining
R
false
false
148
rprofile
# require(Defaults) # setDefaults(q, save="no") # useDefaults(q) reload <- function() { source('tree.r') } .First <- function () { reload() }
e1_g <- function(u1.var,ej.var){ if ((ej.var+u1.var-1)/u1.var > 0){ value <- (ej.var+u1.var-1)/u1.var } else { value <- ((ej.var+u1.var-1)/u1.var)*exp(10*((ej.var+u1.var-1)/u1.var)) } return(value) }
/additional_functions/e1_g.R
no_license
astrostat/BASCS
R
false
false
215
r
e1_g <- function(u1.var,ej.var){ if ((ej.var+u1.var-1)/u1.var > 0){ value <- (ej.var+u1.var-1)/u1.var } else { value <- ((ej.var+u1.var-1)/u1.var)*exp(10*((ej.var+u1.var-1)/u1.var)) } return(value) }
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/converters.R \name{convert_1_nn_doc} \alias{convert_1_nn_doc} \title{Converts 1-nn file from rosstat to tibble} \usage{ convert_1_nn_doc( path_to_source = "http://www.gks.ru/bgd/regl/b18_02/IssWWW.exe/Stg/d010/1-08.doc", access_date = Sys...
/man/convert_1_nn_doc.Rd
permissive
rrhellstorm/kassandr
R
false
true
1,395
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/converters.R \name{convert_1_nn_doc} \alias{convert_1_nn_doc} \title{Converts 1-nn file from rosstat to tibble} \usage{ convert_1_nn_doc( path_to_source = "http://www.gks.ru/bgd/regl/b18_02/IssWWW.exe/Stg/d010/1-08.doc", access_date = Sys...
#' Get a glimpse of your data. #' #' This is like a transposed version of print: columns run down the page, #' and data runs across. This makes it possible to see every column in #' a data frame. It's a little like [str()] applied to a data frame #' but it tries to show you as much data as possible. (And it always show...
/R/glimpse.R
no_license
calculus-ask/tibble
R
false
false
2,951
r
#' Get a glimpse of your data. #' #' This is like a transposed version of print: columns run down the page, #' and data runs across. This makes it possible to see every column in #' a data frame. It's a little like [str()] applied to a data frame #' but it tries to show you as much data as possible. (And it always show...
NAME OFFSET KND SCP FLAG TYPE var 8 scl glb w D type (pointer) (size 8)
/test/unittest/variables/gvar/tst.alignment-ptr.r
permissive
oracle/dtrace-utils
R
false
false
105
r
NAME OFFSET KND SCP FLAG TYPE var 8 scl glb w D type (pointer) (size 8)
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/1615765700-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/species_params.R \name{get_h_default} \alias{get_h_default} \title{Get default value for h} \usage{ get_h_default(params) } \arguments{ \item{params}{A MizerParams object or a species parameter data frame} } \value{ A vector with the values o...
/man/get_h_default.Rd
no_license
sizespectrum/mizer
R
false
true
1,007
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/species_params.R \name{get_h_default} \alias{get_h_default} \title{Get default value for h} \usage{ get_h_default(params) } \arguments{ \item{params}{A MizerParams object or a species parameter data frame} } \value{ A vector with the values o...
#mets2GoogleEarth # reads the Stage1 AERMET input for upper, onsite and surface location # and exports them to Google Earth mets2GoogleEarth <- function(startYear, stopYear){ require(plyr) years <- seq(startYear, stopYear, by=1) sdExist <- sapply(as.character(years), FUN=file.exists ) if(!all(sdExist)) stop(...
/mets2GoogleEarth.R
permissive
ArvindhSomanathan/R-MET-R-MOD
R
false
false
2,116
r
#mets2GoogleEarth # reads the Stage1 AERMET input for upper, onsite and surface location # and exports them to Google Earth mets2GoogleEarth <- function(startYear, stopYear){ require(plyr) years <- seq(startYear, stopYear, by=1) sdExist <- sapply(as.character(years), FUN=file.exists ) if(!all(sdExist)) stop(...
# Load packages library(dplyr) library(tidyr) library(readr) library(here) library(shiny) library(shinyWidgets) library(ggplot2) library(plotly) library(RColorBrewer) library(tidyselect) library(tm) #prevent shiny from overwriting our error message #not used right now, using safeError below instead #options(shiny.sani...
/other/old files/app (2).R
no_license
CEIDatUGA/COVID-shiny-tracker
R
false
false
52,625
r
# Load packages library(dplyr) library(tidyr) library(readr) library(here) library(shiny) library(shinyWidgets) library(ggplot2) library(plotly) library(RColorBrewer) library(tidyselect) library(tm) #prevent shiny from overwriting our error message #not used right now, using safeError below instead #options(shiny.sani...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/Lixn.R \name{Lixn} \alias{Lixn} \title{Minta's Spatial-temporal interaction statistics} \usage{ Lixn(traj1, traj2, method = "spatial", tc = 0, hr1, hr2, OZ = NULL) } \arguments{ \item{traj1}{an object of the class \code{ltraj} which ...
/man/Lixn.Rd
no_license
cran/wildlifeDI
R
false
true
5,837
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/Lixn.R \name{Lixn} \alias{Lixn} \title{Minta's Spatial-temporal interaction statistics} \usage{ Lixn(traj1, traj2, method = "spatial", tc = 0, hr1, hr2, OZ = NULL) } \arguments{ \item{traj1}{an object of the class \code{ltraj} which ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/lisst.R \name{as.lisst} \alias{as.lisst} \title{Coerce Data Into a LISST Object} \usage{ as.lisst(data, filename = "", year = 0, tz = "UTC", longitude = NA, latitude = NA) } \arguments{ \item{data}{A table (or matrix) containing 42 columns,...
/pkgs/oce/man/as.lisst.Rd
no_license
vaguiar/EDAV_Project_2017
R
false
true
1,434
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/lisst.R \name{as.lisst} \alias{as.lisst} \title{Coerce Data Into a LISST Object} \usage{ as.lisst(data, filename = "", year = 0, tz = "UTC", longitude = NA, latitude = NA) } \arguments{ \item{data}{A table (or matrix) containing 42 columns,...
#' Chi Square Plotter #' @md #' This function quickly plots a summarised plot for outlier detection with numeric variables #' @param input_df a dataframe with named rows #' #' @export #' @rdname chi_square_plotter chi_square_plotter <- function(input_df){ numeric_vars <- as.matrix(dplyr::select_if(input_df, is.nu...
/R/chi_square_plotter.R
permissive
medewitt/datademon
R
false
false
847
r
#' Chi Square Plotter #' @md #' This function quickly plots a summarised plot for outlier detection with numeric variables #' @param input_df a dataframe with named rows #' #' @export #' @rdname chi_square_plotter chi_square_plotter <- function(input_df){ numeric_vars <- as.matrix(dplyr::select_if(input_df, is.nu...
#ORTHOWATCH if(.Platform$OS.type == "unix") {dir.ow.syno<-'/export/globcrop/RW_Orthowatch' dir.fig<-'/home/dandrimont/Dropbox/Ch3/PaperOW/Figs/' dir.ow.oasis<-'/export/eli-enge-Orthowatch-rw-2014/'} if (.Platform$OS.type == "windows") { dir.ow.syno<-'Q:/RW_Orthowatch' dir.ow.oasis<-'T:/'} ######################...
/__GENERIC_FUNCTIONS__.R
no_license
rdandrimont/Rutils
R
false
false
2,596
r
#ORTHOWATCH if(.Platform$OS.type == "unix") {dir.ow.syno<-'/export/globcrop/RW_Orthowatch' dir.fig<-'/home/dandrimont/Dropbox/Ch3/PaperOW/Figs/' dir.ow.oasis<-'/export/eli-enge-Orthowatch-rw-2014/'} if (.Platform$OS.type == "windows") { dir.ow.syno<-'Q:/RW_Orthowatch' dir.ow.oasis<-'T:/'} ######################...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/class.Ico.R \name{class.Ico} \alias{class.Ico} \title{class.Ico} \usage{ class.Ico(path, image.type = c("jpg", "png", "tiff")) } \arguments{ \item{path}{character: path of an image file} \item{image.type}{character: image format f...
/man/class.Ico.Rd
no_license
AProfico/MicroWeaR
R
false
true
632
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/class.Ico.R \name{class.Ico} \alias{class.Ico} \title{class.Ico} \usage{ class.Ico(path, image.type = c("jpg", "png", "tiff")) } \arguments{ \item{path}{character: path of an image file} \item{image.type}{character: image format f...
library(rnrfa) ### Name: stationSummary ### Title: stationSummary ### Aliases: stationSummary ### Keywords: datasets ### ** Examples data(stationSummary)
/data/genthat_extracted_code/rnrfa/examples/stationSummary.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
163
r
library(rnrfa) ### Name: stationSummary ### Title: stationSummary ### Aliases: stationSummary ### Keywords: datasets ### ** Examples data(stationSummary)
% Generated by roxygen2 (4.1.0): do not edit by hand % Please edit documentation in R/data.r \docType{data} \name{Wage} \alias{Wage} \title{Mid-Atlantic Wage Data} \format{A data frame with 3000 rows and 12 columns: \describe{ \item{\code{year}}{Year that wage information was recorded} \item{\code{age}}{Age of work...
/man/Wage.Rd
no_license
gschofl/coursedata
R
false
false
1,948
rd
% Generated by roxygen2 (4.1.0): do not edit by hand % Please edit documentation in R/data.r \docType{data} \name{Wage} \alias{Wage} \title{Mid-Atlantic Wage Data} \format{A data frame with 3000 rows and 12 columns: \describe{ \item{\code{year}}{Year that wage information was recorded} \item{\code{age}}{Age of work...
library(plotly) ##load data data1 <- read.csv("//gobo/USER40/u/u1474467/Documents/PHD/Bias Paper/double violins/scen1 050.csv") data2 <- read.csv("//gobo/USER40/u/u1474467/Documents/PHD/Bias Paper/double violins/scen2 050.csv") data3 <- read.csv("//gobo/USER40/u/u1474467/Documents/PHD/Bias Paper/double violin...
/dv code.R
permissive
daniel-g-92/heterogeneity
R
false
false
17,967
r
library(plotly) ##load data data1 <- read.csv("//gobo/USER40/u/u1474467/Documents/PHD/Bias Paper/double violins/scen1 050.csv") data2 <- read.csv("//gobo/USER40/u/u1474467/Documents/PHD/Bias Paper/double violins/scen2 050.csv") data3 <- read.csv("//gobo/USER40/u/u1474467/Documents/PHD/Bias Paper/double violin...
library(glmnet) # glmnet (lasso/ridge/elastic net/logistic) library("MASS") # lda, qda library(class) # knn library(e1071) # svm library(tree) # tree library(randomForest) # rf library(gbm) # gbm library(caret) # caret # lm # lasso/ridge # logistic # svm # nnt # rf # gbm knn_model <-function(erp_train, erp_v...
/src/models.R
no_license
Jieatgit/decode_brain_signal_MS_Azure_ML_Competition
R
false
false
10,481
r
library(glmnet) # glmnet (lasso/ridge/elastic net/logistic) library("MASS") # lda, qda library(class) # knn library(e1071) # svm library(tree) # tree library(randomForest) # rf library(gbm) # gbm library(caret) # caret # lm # lasso/ridge # logistic # svm # nnt # rf # gbm knn_model <-function(erp_train, erp_v...
library(ggpubr) # Multiple plot function # # ggplot objects can be passed in ..., or to plotlist (as a list of ggplot objects) # - cols: Number of columns in layout # - layout: A matrix specifying the layout. If present, 'cols' is ignored. # # If the layout is something like matrix(c(1,2,3,3), nrow=2, byrow=TRUE), # ...
/r_docs/Multiple_plot_function.R
no_license
kiante-fernandez/RiskBenefit_Neuroethics
R
false
false
1,543
r
library(ggpubr) # Multiple plot function # # ggplot objects can be passed in ..., or to plotlist (as a list of ggplot objects) # - cols: Number of columns in layout # - layout: A matrix specifying the layout. If present, 'cols' is ignored. # # If the layout is something like matrix(c(1,2,3,3), nrow=2, byrow=TRUE), # ...
#' Check input spe #' #' This function checks that the `spe` object has the appropriate structure. #' For more details please check the vignette documentation. #' #' @inheritParams sce_to_spe #' @inheritParams vis_clus #' @param variables A `character()` vector of variable names expected to #' be present in `colData(sp...
/R/check_spe.R
no_license
realyuyangyang/spatialLIBD
R
false
false
3,607
r
#' Check input spe #' #' This function checks that the `spe` object has the appropriate structure. #' For more details please check the vignette documentation. #' #' @inheritParams sce_to_spe #' @inheritParams vis_clus #' @param variables A `character()` vector of variable names expected to #' be present in `colData(sp...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/LPP_lp.R \name{LPPHonest} \alias{LPPHonest} \title{Honest inference at a point} \usage{ LPPHonest(formula, data, subset, point = 0, M, kern = "triangular", na.action, opt.criterion, h, se.method = "nn", alpha = 0.05, beta = 0.8, J = 3, sc...
/man/LPPHonest.Rd
no_license
mdroste/RDHonest
R
false
true
7,624
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/LPP_lp.R \name{LPPHonest} \alias{LPPHonest} \title{Honest inference at a point} \usage{ LPPHonest(formula, data, subset, point = 0, M, kern = "triangular", na.action, opt.criterion, h, se.method = "nn", alpha = 0.05, beta = 0.8, J = 3, sc...
library(WRTDStidal) ### Name: gridplot ### Title: Plot variable response to salinity/flow as a gridded surface for ### all months ### Aliases: gridplot gridplot.tidal gridplot.tidalmean ### ** Examples ## Not run: ##D ## load a fitted tidal object ##D data(tidfit) ##D ##D ## defaults to the fiftieth quantile ##...
/data/genthat_extracted_code/WRTDStidal/examples/gridplot.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
668
r
library(WRTDStidal) ### Name: gridplot ### Title: Plot variable response to salinity/flow as a gridded surface for ### all months ### Aliases: gridplot gridplot.tidal gridplot.tidalmean ### ** Examples ## Not run: ##D ## load a fitted tidal object ##D data(tidfit) ##D ##D ## defaults to the fiftieth quantile ##...
suppressPackageStartupMessages(library(DESeq2)) suppressPackageStartupMessages(library(ggplot2)) suppressPackageStartupMessages(library(sva)) dir.create("output/") # Deg By Time # CT17 vs 30 min rm(list=ls()) RPKM=read.table("inputs/RPKM_LighSim_EXON.txt",sep="\t",header=T) COUNT=read.table("inputs/COUNT_LighSim_EXON...
/Light_Stimulation/01_Light_Stim_DEGs.R
no_license
konopkalab/SCN_Proj
R
false
false
7,645
r
suppressPackageStartupMessages(library(DESeq2)) suppressPackageStartupMessages(library(ggplot2)) suppressPackageStartupMessages(library(sva)) dir.create("output/") # Deg By Time # CT17 vs 30 min rm(list=ls()) RPKM=read.table("inputs/RPKM_LighSim_EXON.txt",sep="\t",header=T) COUNT=read.table("inputs/COUNT_LighSim_EXON...
# Downloading and unzipping the dataset if(!file.exists("./project")) {dir.create("./project")} datalink <- "https://d396qusza40orc.cloudfront.net/getdata%2Fprojectfiles%2FUCI%20HAR%20Dataset.zip" download.file(datalink,destfile="./project/Dataset.zip") unzip(zipfile="./project/Dataset.zip",exdir="./project") # 1. M...
/run_analysis.R
no_license
cmr-manish/Assignment-Getting-and-Cleaning-Data
R
false
false
2,520
r
# Downloading and unzipping the dataset if(!file.exists("./project")) {dir.create("./project")} datalink <- "https://d396qusza40orc.cloudfront.net/getdata%2Fprojectfiles%2FUCI%20HAR%20Dataset.zip" download.file(datalink,destfile="./project/Dataset.zip") unzip(zipfile="./project/Dataset.zip",exdir="./project") # 1. M...
# ==================================== # == Script: Plot1.R # == Description: # == Authour: Michael Dovel # ==================================== # Clean data and setup working directories rm(list=ls()) setwd("~/GitHub/CourseProject1") # Load Libraries library(dplyr) # Read in the data (Data has be...
/plot2.R
no_license
mykraniu/CourseProject1
R
false
false
1,411
r
# ==================================== # == Script: Plot1.R # == Description: # == Authour: Michael Dovel # ==================================== # Clean data and setup working directories rm(list=ls()) setwd("~/GitHub/CourseProject1") # Load Libraries library(dplyr) # Read in the data (Data has be...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/is_alphacuts_17102018.R \name{tr.gfuzz} \alias{tr.gfuzz} \title{Fuzzifies a variable modelled by trapezoidal or triangular fuzzy numbers} \usage{ tr.gfuzz(data, breakpoints = 100) } \arguments{ \item{data}{a matrix of 4 columns (p,q,r,s), whe...
/man/tr.gfuzz.Rd
no_license
cran/FuzzySTs
R
false
true
814
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/is_alphacuts_17102018.R \name{tr.gfuzz} \alias{tr.gfuzz} \title{Fuzzifies a variable modelled by trapezoidal or triangular fuzzy numbers} \usage{ tr.gfuzz(data, breakpoints = 100) } \arguments{ \item{data}{a matrix of 4 columns (p,q,r,s), whe...
\name{describe.gamma.gee} \alias{describe.gamma.gee} \title{Describe the \code{gamma.gee} model to Zelig} \usage{ \method{describe}{gamma.gee}(...) } \arguments{ \item{...}{ignored parameters} } \value{ a list of important information } \description{ Describe the \code{gamma.gee} model to Zelig } \author{ Pat...
/man/describe.gamma.gee.Rd
no_license
zeligdev/ZeligGEE
R
false
false
332
rd
\name{describe.gamma.gee} \alias{describe.gamma.gee} \title{Describe the \code{gamma.gee} model to Zelig} \usage{ \method{describe}{gamma.gee}(...) } \arguments{ \item{...}{ignored parameters} } \value{ a list of important information } \description{ Describe the \code{gamma.gee} model to Zelig } \author{ Pat...
#****************************************************************************** ## Description .......: Pairs all M/W pair per race and year and calculate speed differences ## ## Author ............: Franck Le Mat ## Date ..............: 2021-07-01 ## License ...........: GPL ## ## Inputs ............: 'DRV_result.csv'...
/data_analysis/MLM_fitting/pairing_MLM_60s.R
no_license
LibmUtmb/Perf_UTMB_article
R
false
false
8,351
r
#****************************************************************************** ## Description .......: Pairs all M/W pair per race and year and calculate speed differences ## ## Author ............: Franck Le Mat ## Date ..............: 2021-07-01 ## License ...........: GPL ## ## Inputs ............: 'DRV_result.csv'...
# Convert isvdb variant file from keele to vcf files library('dplyr') library('tidyr') library('purrr') main <- function(cmdArgs=commandArgs(T)) { input_rds <- cmdArgs[1] output_vcf <- cmdArgs[2] #input_rds <- '/scratch/users/paedugar/cnv_gtex_project/expression_datasets/keele/data_all/isv...
/pipelines/R/process_keele_isvdb_to_vcf.R
no_license
pablo-gar/transcriptome_diversity_paper
R
false
false
3,388
r
# Convert isvdb variant file from keele to vcf files library('dplyr') library('tidyr') library('purrr') main <- function(cmdArgs=commandArgs(T)) { input_rds <- cmdArgs[1] output_vcf <- cmdArgs[2] #input_rds <- '/scratch/users/paedugar/cnv_gtex_project/expression_datasets/keele/data_all/isv...
library(shiny) library (plyr) source("lottery.R") # Read data and convert date type data <- readLotteryData() # Sever logic shinyServer(function(input, output) { # get the desiered data frame (dates range) useData <- reactive ({ updateData(data, as.Date(input$timeline[1]), ...
/02_DataScience/09_DevelopingDataProducts/server.R
no_license
idolustig/school
R
false
false
1,209
r
library(shiny) library (plyr) source("lottery.R") # Read data and convert date type data <- readLotteryData() # Sever logic shinyServer(function(input, output) { # get the desiered data frame (dates range) useData <- reactive ({ updateData(data, as.Date(input$timeline[1]), ...
library(RUnit) ## Create HM450 R data table.meth <- read.table(file="../../../../RawData/TCGAprad/mysql_cbio_methHM450.csv", header=F, skip=3, as.is=T) ## 451 samples(patients) x 16183 genes sampleString <- readLines(con="../../../../RawData/TCGAprad/mysql_cbio_methHM450.csv", n=2)[[2]] samples <- strsplit(sampleStrin...
/r_modules/dataPackages/TCGAprad/inst/import/methylation/createMethylationMatrix.R
permissive
pablopunk/Oncoscape
R
false
false
1,443
r
library(RUnit) ## Create HM450 R data table.meth <- read.table(file="../../../../RawData/TCGAprad/mysql_cbio_methHM450.csv", header=F, skip=3, as.is=T) ## 451 samples(patients) x 16183 genes sampleString <- readLines(con="../../../../RawData/TCGAprad/mysql_cbio_methHM450.csv", n=2)[[2]] samples <- strsplit(sampleStrin...
########################### # Inferential Statistics # ########################### ## Regression Preparation # Create dataframe of independent variables DF_Independent <- data.frame(as.numeric(Dataset_1$gtypesup_cat), as.numeric(Dataset_1$rtypesup_cat), as.numeric(Dataset_1$gov.supXfight.cap), as.numeric(Dataset_1$l...
/FinalPaper/Final_InferentialStatistics.R
no_license
KatrinHeger/CollaborativeResearchProject
R
false
false
10,541
r
########################### # Inferential Statistics # ########################### ## Regression Preparation # Create dataframe of independent variables DF_Independent <- data.frame(as.numeric(Dataset_1$gtypesup_cat), as.numeric(Dataset_1$rtypesup_cat), as.numeric(Dataset_1$gov.supXfight.cap), as.numeric(Dataset_1$l...
#' Annotate the lines in the make db #' #' @param x char(n) Character vector, probably from readLines #' #' @return a data frame with the original lines in \code{Lines} and various flags in other columns labelLines <- function(x) { df <- data.frame(ID = seq_along(x), Line = x, S...
/R/labelLines.R
no_license
dougmet/makeparse
R
false
false
1,121
r
#' Annotate the lines in the make db #' #' @param x char(n) Character vector, probably from readLines #' #' @return a data frame with the original lines in \code{Lines} and various flags in other columns labelLines <- function(x) { df <- data.frame(ID = seq_along(x), Line = x, S...
library(shiny) library(ggplot2) library(itertools2) library(grid) library(ggthemes) prop.sale.raw<-readRDS("data/propsale.rds") prop.sale<-prop.sale.raw[,sapply(prop.sale.raw, is.numeric)] prop.sale.factor<-prop.sale.raw[,sapply(prop.sale.raw,is.factor)] prop.sale<-cbind(prop.sale,prop.sale.factor) #Pregenerate data s...
/histshiny2/app.R
no_license
EGjohnson/ImputationClusterAnalysis
R
false
false
6,613
r
library(shiny) library(ggplot2) library(itertools2) library(grid) library(ggthemes) prop.sale.raw<-readRDS("data/propsale.rds") prop.sale<-prop.sale.raw[,sapply(prop.sale.raw, is.numeric)] prop.sale.factor<-prop.sale.raw[,sapply(prop.sale.raw,is.factor)] prop.sale<-cbind(prop.sale,prop.sale.factor) #Pregenerate data s...
# Do cross-validation external to caret, for the purpose *only* of estimating # out-of-sample error, not for parameter tuning, which is apparently what # caret's internal CV and bootstrapping training methods are for. That renders # them useless for true OOS error estimation, as they have been used to select # the par...
/do_cv_acc_only.R
no_license
ptressel/Titanic
R
false
false
3,686
r
# Do cross-validation external to caret, for the purpose *only* of estimating # out-of-sample error, not for parameter tuning, which is apparently what # caret's internal CV and bootstrapping training methods are for. That renders # them useless for true OOS error estimation, as they have been used to select # the par...
#' One-Hot encode a dataframe #' #' One-hot encodes a dataframe whose features are all categorical #' #' @param encodable_df data.frame #' A dataframe of categorical features. #' #' @return data.frame #' Returns the same dataframe with useful column names and one-hot encoded features #' #' @export #' #' @examples #' my...
/R/onehot.R
permissive
UBC-MDS/PrepR
R
false
false
2,458
r
#' One-Hot encode a dataframe #' #' One-hot encodes a dataframe whose features are all categorical #' #' @param encodable_df data.frame #' A dataframe of categorical features. #' #' @return data.frame #' Returns the same dataframe with useful column names and one-hot encoded features #' #' @export #' #' @examples #' my...
#' Fixed est_lm_basic #'@export est_lm_basic <- function(S,yv,k,start=0,mod=0,tol=10^-8,maxit=1000,out_se=FALSE,piv=NULL,Pi=NULL,Psi=NULL){ # Preliminaries check_der = FALSE # to check derivatives n = sum(yv) sS = dim(S) ns = sS[1] TT = sS[2] if(min(S,na.rm=T)>0){ cat("|------------------- WA...
/R/est_lm_basic.R
no_license
reuning/LMestCV
R
false
false
14,748
r
#' Fixed est_lm_basic #'@export est_lm_basic <- function(S,yv,k,start=0,mod=0,tol=10^-8,maxit=1000,out_se=FALSE,piv=NULL,Pi=NULL,Psi=NULL){ # Preliminaries check_der = FALSE # to check derivatives n = sum(yv) sS = dim(S) ns = sS[1] TT = sS[2] if(min(S,na.rm=T)>0){ cat("|------------------- WA...
testlist <- list(m = NULL, repetitions = -304992360L, in_m = structure(c(7.10543131304307e-15, 9.53818252170339e+295, 1.22810536108214e+146), .Dim = c(3L, 1L ))) result <- do.call(CNull:::communities_individual_based_sampling_alpha,testlist) str(result)
/CNull/inst/testfiles/communities_individual_based_sampling_alpha/AFL_communities_individual_based_sampling_alpha/communities_individual_based_sampling_alpha_valgrind_files/1615786169-test.R
no_license
akhikolla/updatedatatype-list2
R
false
false
254
r
testlist <- list(m = NULL, repetitions = -304992360L, in_m = structure(c(7.10543131304307e-15, 9.53818252170339e+295, 1.22810536108214e+146), .Dim = c(3L, 1L ))) result <- do.call(CNull:::communities_individual_based_sampling_alpha,testlist) str(result)
###Prepare a classification model using "Naive Bayes"### #Problem-1 :- SMS Raw Data sms_data <- read.csv("C:/Users/admin/Desktop/sms_raw_NB.csv") View(sms_data) #here "Type" is our output data. that whether it is "ham" or "spam". class(sms_data) str(sms_data) table(sms_data$type) #our problem is classificstion pr...
/rgNBsmsraw.R
no_license
rahulgadekar070/Naive_Bayes-through-R-
R
false
false
4,566
r
###Prepare a classification model using "Naive Bayes"### #Problem-1 :- SMS Raw Data sms_data <- read.csv("C:/Users/admin/Desktop/sms_raw_NB.csv") View(sms_data) #here "Type" is our output data. that whether it is "ham" or "spam". class(sms_data) str(sms_data) table(sms_data$type) #our problem is classificstion pr...
## This function creates a special "matrix" ## object that can cache its inverse. makeCacheMatrix <- function(x = matrix()) { inversa <- NULL set <- function(y) { x <<- y inversa <<- NULL } get <- function() x setInversa <- function(invers...
/cachematrix.R
no_license
gerardolml/ProgrammingAssigment3
R
false
false
986
r
## This function creates a special "matrix" ## object that can cache its inverse. makeCacheMatrix <- function(x = matrix()) { inversa <- NULL set <- function(y) { x <<- y inversa <<- NULL } get <- function() x setInversa <- function(invers...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/plotfunctions.R \name{SurvExt.KMPlot} \alias{SurvExt.KMPlot} \title{SurvExt.KMPlot} \usage{ SurvExt.KMPlot(x) } \arguments{ \item{x}{An SurvExt object created with SurvExt()} } \description{ KM plot of a SurvExt object using GGally and some d...
/man/SurvExt.KMPlot.Rd
permissive
iain-t-bennett/SwitchPack
R
false
true
603
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/plotfunctions.R \name{SurvExt.KMPlot} \alias{SurvExt.KMPlot} \title{SurvExt.KMPlot} \usage{ SurvExt.KMPlot(x) } \arguments{ \item{x}{An SurvExt object created with SurvExt()} } \description{ KM plot of a SurvExt object using GGally and some d...
context("test phrase() function") test_that("test phrase for character", { txt <- c("capital gains tax", "one two", "three") expect_equivalent( phrase(txt), list(c("capital", "gains", "tax"), c("one", "two"), "three") ) expect_equivalent( phrase(letters), as.list(letters...
/quanteda/tests/testthat/test-phrases.R
no_license
akhikolla/updatedatatype-list4
R
false
false
2,212
r
context("test phrase() function") test_that("test phrase for character", { txt <- c("capital gains tax", "one two", "three") expect_equivalent( phrase(txt), list(c("capital", "gains", "tax"), c("one", "two"), "three") ) expect_equivalent( phrase(letters), as.list(letters...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/parlay_calc.R \name{parlay_calc} \alias{parlay_calc} \title{Parlay Calculation} \usage{ parlay_calc(risk, odds, type = "us") } \arguments{ \item{risk}{Odds for your bet(s)} \item{odds}{Vector of odds for each leg of the parlay (-132, -115, -...
/man/parlay_calc.Rd
permissive
ian-shepherd/bettoR
R
false
true
816
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/parlay_calc.R \name{parlay_calc} \alias{parlay_calc} \title{Parlay Calculation} \usage{ parlay_calc(risk, odds, type = "us") } \arguments{ \item{risk}{Odds for your bet(s)} \item{odds}{Vector of odds for each leg of the parlay (-132, -115, -...
########################################################################### ########################################################################### ############### STATS 255 : FINAL EXAM #################################### ############### Lars Hertel ############################################### ################...
/stats255final_diagnostics_modelD.R
no_license
LarsHH/serumAlbuminAnalysis
R
false
false
4,553
r
########################################################################### ########################################################################### ############### STATS 255 : FINAL EXAM #################################### ############### Lars Hertel ############################################### ################...
mapit <- function(ABCE = ABCE) { ggplot2::ggplot(ABCE, aes(x = x, y = y)) + ggplot2::geom_tile(data = ABCE, aes(fill = statistic), width = width, height = height) + coord_equal() } spec_fcn <- function(g = TRUE){ list(scale_fill_distiller(palette = "Spectral", ...
/HMCI-App/mapit.R
no_license
cwcomiskey/ResearchRepo
R
false
false
1,782
r
mapit <- function(ABCE = ABCE) { ggplot2::ggplot(ABCE, aes(x = x, y = y)) + ggplot2::geom_tile(data = ABCE, aes(fill = statistic), width = width, height = height) + coord_equal() } spec_fcn <- function(g = TRUE){ list(scale_fill_distiller(palette = "Spectral", ...
# Ryan Keeney #4/25/2017 #LeapYearCalculatorExamples LeapYearCalculator(2017) LeapYearCalculator(1900) LeapYearCalculator(2000) LeapYearCalculator(1804) LeapYearCalculator(1805) LeapYearCalculator(1992) LeapYearCalculator("blah") ...
/Lesson3/Exercise3/main.R
no_license
ryankeeney/Geoscripting
R
false
false
327
r
# Ryan Keeney #4/25/2017 #LeapYearCalculatorExamples LeapYearCalculator(2017) LeapYearCalculator(1900) LeapYearCalculator(2000) LeapYearCalculator(1804) LeapYearCalculator(1805) LeapYearCalculator(1992) LeapYearCalculator("blah") ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/getTips.r \name{getTips} \alias{getTips} \title{List all tips ancestral to a node} \usage{ getTips(tree, node) } \arguments{ \item{tree}{an object of class 'phylo'.} \item{node}{number of interest.} } \value{ vector of tip numbers. } \descri...
/Evomap_Previous Version/V3/man/getTips.Rd
permissive
elifesciences-publications/evomap
R
false
true
364
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/getTips.r \name{getTips} \alias{getTips} \title{List all tips ancestral to a node} \usage{ getTips(tree, node) } \arguments{ \item{tree}{an object of class 'phylo'.} \item{node}{number of interest.} } \value{ vector of tip numbers. } \descri...