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
\name{rp.ci} \alias{rp.ci} \title{Simulations of normal-based confidence intervals} \description{ This function shows simulated confidence intervals for the mean of a normal distribution. It also creates a panel which controls the mean and standard deviation of the population and the size of the sim...
/man/rp.ci.Rd
no_license
cran/rpanel
R
false
false
2,005
rd
\name{rp.ci} \alias{rp.ci} \title{Simulations of normal-based confidence intervals} \description{ This function shows simulated confidence intervals for the mean of a normal distribution. It also creates a panel which controls the mean and standard deviation of the population and the size of the sim...
test_that("Some data that cannot be fitted with nls_list also fail with nlme", { # with this seed, cf[10] does not fit with nls_list data = cleanup_data(simulate_breathtest_data(seed = 100)$data) fit = nlme_fit(data) expect_null(fit$coef) }) test_that("One-group nlme fit returns valid result", { data("usz_13...
/tests/testthat/test_nlme_fit.R
no_license
dmenne/breathtestcore
R
false
false
2,732
r
test_that("Some data that cannot be fitted with nls_list also fail with nlme", { # with this seed, cf[10] does not fit with nls_list data = cleanup_data(simulate_breathtest_data(seed = 100)$data) fit = nlme_fit(data) expect_null(fit$coef) }) test_that("One-group nlme fit returns valid result", { data("usz_13...
# Introduction to R Name = c("Yash", "Yash2") Mark = c(90,91) Data = data.frame(Name,Mark) #To convert into different datatypes a=85/23 #a=3.69 b=as.integer(a) #a=3 #to round off the numbers, use ceiling() floor() round(a,digits=1) #To repeat numbers or vectors x <- rep(c(1,2,3),c(2,1,4) ...
/commands.r
no_license
yashreds/hello-world
R
false
false
6,085
r
# Introduction to R Name = c("Yash", "Yash2") Mark = c(90,91) Data = data.frame(Name,Mark) #To convert into different datatypes a=85/23 #a=3.69 b=as.integer(a) #a=3 #to round off the numbers, use ceiling() floor() round(a,digits=1) #To repeat numbers or vectors x <- rep(c(1,2,3),c(2,1,4) ...
test_that("KeptPaths() works", { tree <- BalancedTree(7) tree$edge.length <- 1:12 paths <- PathLengths(tree) keptTips <- c(2, 4, 6) kept <- KeptVerts(tree, 1:7 %in% keptTips) lengths <- c(1 + 2 + 4, 2 + 4, 1 + 5 + 7, 5 + 7, 8 + 9 + 11, ...
/tests/testthat/test-KeptPaths.R
no_license
cran/TreeTools
R
false
false
669
r
test_that("KeptPaths() works", { tree <- BalancedTree(7) tree$edge.length <- 1:12 paths <- PathLengths(tree) keptTips <- c(2, 4, 6) kept <- KeptVerts(tree, 1:7 %in% keptTips) lengths <- c(1 + 2 + 4, 2 + 4, 1 + 5 + 7, 5 + 7, 8 + 9 + 11, ...
#make cellxgene
/make_cellxgene.R
no_license
GKild/neuroblastoma
R
false
false
16
r
#make cellxgene
#' Values as Functions #' #' @description #' A **constant** is a fixed value that incorporates its very computation. This #' is none other than a _function_ that computes a fixed value when called #' without arguments. `constant()` declares such a function as a bona fide #' constant by transforming it to a function tha...
/R/constant.R
permissive
mkcor/gestalt
R
false
false
3,763
r
#' Values as Functions #' #' @description #' A **constant** is a fixed value that incorporates its very computation. This #' is none other than a _function_ that computes a fixed value when called #' without arguments. `constant()` declares such a function as a bona fide #' constant by transforming it to a function tha...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/slim_setup.R \name{slim_setup} \alias{slim_setup} \title{Attempt to install and / or setup SLiM for use with slimr} \usage{ slim_setup(verbose = TRUE, force = FALSE) } \arguments{ \item{verbose}{Whether to print out progress of the installati...
/man/slim_setup.Rd
permissive
rdinnager/slimr
R
false
true
1,354
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/slim_setup.R \name{slim_setup} \alias{slim_setup} \title{Attempt to install and / or setup SLiM for use with slimr} \usage{ slim_setup(verbose = TRUE, force = FALSE) } \arguments{ \item{verbose}{Whether to print out progress of the installati...
# Adobe Experience Manager OSGI config (AEM) API # # Swagger AEM OSGI is an OpenAPI specification for Adobe Experience Manager (AEM) OSGI Configurations API # # OpenAPI spec version: 1.0.0-pre.0 # Contact: opensource@shinesolutions.com # Generated by: https://openapi-generator.tech #' ComDayCqReplicationImplReplicati...
/clients/r/generated/R/ComDayCqReplicationImplReplicationContentFactoryProviderImplProperties.r
permissive
shinesolutions/swagger-aem-osgi
R
false
false
4,745
r
# Adobe Experience Manager OSGI config (AEM) API # # Swagger AEM OSGI is an OpenAPI specification for Adobe Experience Manager (AEM) OSGI Configurations API # # OpenAPI spec version: 1.0.0-pre.0 # Contact: opensource@shinesolutions.com # Generated by: https://openapi-generator.tech #' ComDayCqReplicationImplReplicati...
########################################################## # Section 3.3 Estimating a Heart Transplant Mortality Rate ########################################################## alpha=16;beta=15174 yobs=1; ex=66 y=0:10 lam=alpha/beta py=dpois(y, lam*ex)*dgamma(lam, shape = alpha, rate = beta)/dgamma(la...
/LearnBayes/demo/Chapter.3.3.R
permissive
solgenomics/R_libs
R
false
false
1,108
r
########################################################## # Section 3.3 Estimating a Heart Transplant Mortality Rate ########################################################## alpha=16;beta=15174 yobs=1; ex=66 y=0:10 lam=alpha/beta py=dpois(y, lam*ex)*dgamma(lam, shape = alpha, rate = beta)/dgamma(la...
# https://www.hcup-us.ahrq.gov/db/nation/nis/tools/stats/FileSpecifications_NIS_2017_Core.TXT nis_core[, .(n = sum(DISCWT), los = sum(LOS * DISCWT)), by = .(YEAR)] nis_core[, .(n = sum(DISCWT)), by = .(YEAR, DRG)] %>% pivot_wider(names_from = YEAR, values_from = n) plot_yq <- function(.df, .group_var, .value_var = ...
/202105_eda.R
permissive
healthpolicy/HPA.inpatientProjection
R
false
false
1,320
r
# https://www.hcup-us.ahrq.gov/db/nation/nis/tools/stats/FileSpecifications_NIS_2017_Core.TXT nis_core[, .(n = sum(DISCWT), los = sum(LOS * DISCWT)), by = .(YEAR)] nis_core[, .(n = sum(DISCWT)), by = .(YEAR, DRG)] %>% pivot_wider(names_from = YEAR, values_from = n) plot_yq <- function(.df, .group_var, .value_var = ...
library(dplyr) # Read datasets and clean dates setwd("C:/Users/rr5743/Projects/2017/Data Science/Exploratory analysis/Wk1") powerdata <- read.table("household_power_consumption.txt", header =TRUE,sep=";",na.strings="?") powerdata$Date <- as.Date(powerdata$Date,"%d/%m/%Y") # Filter for Feb data and plot histogr...
/plot1.r
no_license
ramrkris/Exploratory-analysis
R
false
false
585
r
library(dplyr) # Read datasets and clean dates setwd("C:/Users/rr5743/Projects/2017/Data Science/Exploratory analysis/Wk1") powerdata <- read.table("household_power_consumption.txt", header =TRUE,sep=";",na.strings="?") powerdata$Date <- as.Date(powerdata$Date,"%d/%m/%Y") # Filter for Feb data and plot histogr...
library(testthat) library(viafr) test_check("viafr")
/tests/testthat.R
no_license
cran/viafr
R
false
false
58
r
library(testthat) library(viafr) test_check("viafr")
\name{SDMXType-class} \docType{class} \alias{SDMXType-class} \alias{SDMXType} \alias{SDMXType-method} \title{Class "SDMXType"} \description{ A basic class to handle the type of a SDMX-ML document} \section{Objects from the Class}{are never to be generated; used by SDMX derived classes} \section{Slots}{ \describe{ ...
/man/SDMXType-class.Rd
no_license
johndharrison/rsdmx
R
false
false
1,193
rd
\name{SDMXType-class} \docType{class} \alias{SDMXType-class} \alias{SDMXType} \alias{SDMXType-method} \title{Class "SDMXType"} \description{ A basic class to handle the type of a SDMX-ML document} \section{Objects from the Class}{are never to be generated; used by SDMX derived classes} \section{Slots}{ \describe{ ...
#' @rdname put_object #' @title Put object #' @description Puts an object into an S3 bucket #' @param file A character string containing the filename (or full path) of the file you want to upload to S3. Alternatively, an raw vector containing the file can be passed directly, in which case \code{object} needs to be spec...
/R/put_object.R
no_license
kaneplusplus/aws.s3
R
false
false
8,387
r
#' @rdname put_object #' @title Put object #' @description Puts an object into an S3 bucket #' @param file A character string containing the filename (or full path) of the file you want to upload to S3. Alternatively, an raw vector containing the file can be passed directly, in which case \code{object} needs to be spec...
library(phylosim) ### Name: omegaVarM4.CodonSequence ### Title: The M4 (freqs) model of variable omega ratios among sites ### Aliases: omegaVarM4.CodonSequence CodonSequence.omegaVarM4 ### omegaVarM4,CodonSequence-method ### ** Examples # create a GY94 object p<-GY94(kappa=2) # create a CodonSequence object, a...
/data/genthat_extracted_code/phylosim/examples/omegaVarM4.CodonSequence.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
642
r
library(phylosim) ### Name: omegaVarM4.CodonSequence ### Title: The M4 (freqs) model of variable omega ratios among sites ### Aliases: omegaVarM4.CodonSequence CodonSequence.omegaVarM4 ### omegaVarM4,CodonSequence-method ### ** Examples # create a GY94 object p<-GY94(kappa=2) # create a CodonSequence object, a...
testlist <- list(A = structure(c(2.31584307392677e+77, 9.19683994249215e+295, 1.22810536108214e+146, 4.12396251261199e-221, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), .Dim = c(5L, 7L)), B = structure(0, .Dim = c(1L, 1L))) result <- do.call(multivariance:::match_row...
/multivariance/inst/testfiles/match_rows/AFL_match_rows/match_rows_valgrind_files/1613102577-test.R
no_license
akhikolla/updatedatatype-list3
R
false
false
343
r
testlist <- list(A = structure(c(2.31584307392677e+77, 9.19683994249215e+295, 1.22810536108214e+146, 4.12396251261199e-221, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), .Dim = c(5L, 7L)), B = structure(0, .Dim = c(1L, 1L))) result <- do.call(multivariance:::match_row...
% Generated by roxygen2 (4.1.0): do not edit by hand % Please edit documentation in R/result.R \docType{class} \name{PqResult-class} \alias{PqResult-class} \alias{dbColumnInfo,PqResult-method} \alias{dbGetRowCount,PqResult-method} \alias{dbGetRowsAffected,PqResult-method} \alias{dbGetStatement,PqResult-method} \alias{d...
/man/PqResult-class.Rd
no_license
CesarMaalouf/RPostgres
R
false
false
735
rd
% Generated by roxygen2 (4.1.0): do not edit by hand % Please edit documentation in R/result.R \docType{class} \name{PqResult-class} \alias{PqResult-class} \alias{dbColumnInfo,PqResult-method} \alias{dbGetRowCount,PqResult-method} \alias{dbGetRowsAffected,PqResult-method} \alias{dbGetStatement,PqResult-method} \alias{d...
# # Author: Rui La <larui529@gmail.com> # # Note: this code can be run on Mac OSX # ## download zip file from internet fileURL <- "https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip" fileName <- "powerData.zip" #check if the file is exist if (!file.exists(fileName)) { message ("do...
/plot1.R
no_license
larui529/ExData_Plotting1
R
false
false
1,112
r
# # Author: Rui La <larui529@gmail.com> # # Note: this code can be run on Mac OSX # ## download zip file from internet fileURL <- "https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip" fileName <- "powerData.zip" #check if the file is exist if (!file.exists(fileName)) { message ("do...
#' Format p values. #' #' @param pvalues P values (scalar or vector). #' #' @author \href{https://dominiquemakowski.github.io/}{Dominique Makowski} #' #' @export format_p <- function(pvalues) { ifelse(pvalues < 0.001, "< .001***", ifelse(pvalues < 0.01, "< .01**", ifelse(pvalues < 0.05, "< .05*", if...
/R/format_p.R
permissive
ericker/psycho.R
R
false
false
404
r
#' Format p values. #' #' @param pvalues P values (scalar or vector). #' #' @author \href{https://dominiquemakowski.github.io/}{Dominique Makowski} #' #' @export format_p <- function(pvalues) { ifelse(pvalues < 0.001, "< .001***", ifelse(pvalues < 0.01, "< .01**", ifelse(pvalues < 0.05, "< .05*", if...
setwd("~/my-papers-2017/phyloBayesHMM/ontoFast/ontoFast/data") library("plyr", lib.loc="~/.local/R/site-library") # Operations over matrices and chars reports give the follwoing subobjects id_characters name_characters id_character_states name_character_states #coding_states_report contains_inapplicable contains_mis...
/test/Matrix_chrs_report.R
no_license
sergeitarasov/ontoFAST
R
false
false
8,209
r
setwd("~/my-papers-2017/phyloBayesHMM/ontoFast/ontoFast/data") library("plyr", lib.loc="~/.local/R/site-library") # Operations over matrices and chars reports give the follwoing subobjects id_characters name_characters id_character_states name_character_states #coding_states_report contains_inapplicable contains_mis...
# Install and load packages package_names <- c("survey","dplyr","foreign","devtools") lapply(package_names, function(x) if(!x %in% installed.packages()) install.packages(x)) lapply(package_names, require, character.only=T) install_github("e-mitchell/meps_r_pkg/MEPS") library(MEPS) options(survey.lonely.ps...
/mepstrends/hc_use/json/code/r/meanEVT__event__agegrps__.r
permissive
HHS-AHRQ/MEPS-summary-tables
R
false
false
3,121
r
# Install and load packages package_names <- c("survey","dplyr","foreign","devtools") lapply(package_names, function(x) if(!x %in% installed.packages()) install.packages(x)) lapply(package_names, require, character.only=T) install_github("e-mitchell/meps_r_pkg/MEPS") library(MEPS) options(survey.lonely.ps...
\name{wormParse} \alias{wormParse} \title{ Parse chromosome, bp matched and allignment lenght from wormBLAST output } \description{ Parses relevant information from returned by wormDownload. Returns some of the information in a named list. The names of each entry is the name of the corresponding chromosome. At ...
/Build-Package/BLASTnParse/man/wormParse.Rd
no_license
GerbenGaastra/BLASTnParse
R
false
false
1,247
rd
\name{wormParse} \alias{wormParse} \title{ Parse chromosome, bp matched and allignment lenght from wormBLAST output } \description{ Parses relevant information from returned by wormDownload. Returns some of the information in a named list. The names of each entry is the name of the corresponding chromosome. At ...
# Title: Devereux Student Strengths Assessment (DESSA) - Spring 2019 # Author: Annick Eudes JB Research Manager # Date: July 23, 2018 # Version: 1.0 # Reviewd by : # Date : # ---- Preliminaries ---- # Loading the packages that we might need : # Don't forget to load these at each session.... # l...
/Post_test/05_DESSA_post_test_Percentiles.R
no_license
aejb22122/Youth-Social-and-emotional-learning
R
false
false
47,395
r
# Title: Devereux Student Strengths Assessment (DESSA) - Spring 2019 # Author: Annick Eudes JB Research Manager # Date: July 23, 2018 # Version: 1.0 # Reviewd by : # Date : # ---- Preliminaries ---- # Loading the packages that we might need : # Don't forget to load these at each session.... # l...
library(data.table) args<-commandArgs(TRUE) getScriptPath <- function(){ cmd.args <- commandArgs() m <- regexpr("(?<=^--file=).+", cmd.args, perl=TRUE) script.dir <- dirname(regmatches(cmd.args, m)) if(length(script.dir) == 0) stop("can't determine script dir: please call the script with Rscript") ...
/required_tools/check_vcf_build/.ipynb_checkpoints/check_vcf_build-checkpoint.R
no_license
bioinformatics-lab/Genotype_Imputation_Pipeline
R
false
false
3,411
r
library(data.table) args<-commandArgs(TRUE) getScriptPath <- function(){ cmd.args <- commandArgs() m <- regexpr("(?<=^--file=).+", cmd.args, perl=TRUE) script.dir <- dirname(regmatches(cmd.args, m)) if(length(script.dir) == 0) stop("can't determine script dir: please call the script with Rscript") ...
# Generated by using Rcpp::compileAttributes() -> do not edit by hand # Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393 render_scene_rcpp <- function(nx, ny, ns, fov, ambient_light, lookfromvec, lookatvec, aperture, camera_up, type, radius, shape, x, y, z, properties, velocity, moving, n, bghigh, bglow, shuttero...
/R/RcppExports.R
no_license
javierluraschi/rayrender
R
false
false
1,558
r
# Generated by using Rcpp::compileAttributes() -> do not edit by hand # Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393 render_scene_rcpp <- function(nx, ny, ns, fov, ambient_light, lookfromvec, lookatvec, aperture, camera_up, type, radius, shape, x, y, z, properties, velocity, moving, n, bghigh, bglow, shuttero...
library(mlbench) library(parallel) library(RMySQL) source('./main.r') #DB connection con <- dbConnect(MySQL(), user='root', password='demos30', dbname='memoria', host='localhost') set.seed(1) #Data data(Glass) data(PimaIndiansDiabetes) data(iris) dataGlass<-Glass[,1:9] dataDiabetes<-PimaIndiansDiabetes[,1:8] dataIri...
/src/par_exec.r
no_license
fealuin/app-genetic-mds-2d
R
false
false
2,460
r
library(mlbench) library(parallel) library(RMySQL) source('./main.r') #DB connection con <- dbConnect(MySQL(), user='root', password='demos30', dbname='memoria', host='localhost') set.seed(1) #Data data(Glass) data(PimaIndiansDiabetes) data(iris) dataGlass<-Glass[,1:9] dataDiabetes<-PimaIndiansDiabetes[,1:8] dataIri...
load("benchmark with dakar dataset/person.state.d.RData") #240 person.state.d=person.state.d[(240+1):nrow(person.state.d),] n.row=nrow(person.state.d) n.col=ncol(person.state.d) n.locations=length(unique(as.vector(person.state.d))) person.state.d=matrix(match(as.vector(person.state.d), sort(unique(as.vector(person.st...
/Inference/VI/Senegal/1.preprocessing-senegal.R
no_license
Fanfanyang/Projects
R
false
false
5,776
r
load("benchmark with dakar dataset/person.state.d.RData") #240 person.state.d=person.state.d[(240+1):nrow(person.state.d),] n.row=nrow(person.state.d) n.col=ncol(person.state.d) n.locations=length(unique(as.vector(person.state.d))) person.state.d=matrix(match(as.vector(person.state.d), sort(unique(as.vector(person.st...
## The functions provided below can calculate the inverse of ## a matrix in a faster way by caching the result, since we ## suppose that the input matrix will not be changed in the ## future. ## Function name: makeCacheMatrix ## Inputs: A matrix x ## Outputs: A special matrix, with its inverse cached. makeCacheMatri...
/datascience/R_Programming/ProgrammingAssignment2/cachematrix.R
no_license
elfinhuangcat/coursera
R
false
false
1,119
r
## The functions provided below can calculate the inverse of ## a matrix in a faster way by caching the result, since we ## suppose that the input matrix will not be changed in the ## future. ## Function name: makeCacheMatrix ## Inputs: A matrix x ## Outputs: A special matrix, with its inverse cached. makeCacheMatri...
% Generated by roxygen2 (4.1.0): do not edit by hand % Please edit documentation in R/pcm03extractProtFP.R \name{extractProtFP} \alias{extractProtFP} \title{Amino Acid Properties Based Scales Descriptors (Protein Fingerprint)} \usage{ extractProtFP(x, index = NULL, pc, lag, scale = TRUE, silent = TRUE) } \arguments{ \i...
/man/extractProtFP.Rd
no_license
Jmonee/protr
R
false
false
1,942
rd
% Generated by roxygen2 (4.1.0): do not edit by hand % Please edit documentation in R/pcm03extractProtFP.R \name{extractProtFP} \alias{extractProtFP} \title{Amino Acid Properties Based Scales Descriptors (Protein Fingerprint)} \usage{ extractProtFP(x, index = NULL, pc, lag, scale = TRUE, silent = TRUE) } \arguments{ \i...
## Compile/Filter Gene Coordinates ## ## Called by Gene_Score Pipeline ## ## February 18, 2015 ## ## Kristopher Standish ## ## Usage ## # Rscript 2-Compile_Gene_Coords.R <Path/To/Out_Dir> ############################################################### ## PARSE COMMAND LINE ######################################### #...
/2-Compile_Gene_Coords.R
no_license
k26stan/Gene_Score
R
false
false
2,944
r
## Compile/Filter Gene Coordinates ## ## Called by Gene_Score Pipeline ## ## February 18, 2015 ## ## Kristopher Standish ## ## Usage ## # Rscript 2-Compile_Gene_Coords.R <Path/To/Out_Dir> ############################################################### ## PARSE COMMAND LINE ######################################### #...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/coverage_matrix.R \name{coverage_matrix} \alias{coverage_matrix} \title{Given a set of regions for a chromosome, compute the coverage matrix for a given SRA study.} \usage{ coverage_matrix( project, chr, regions, chunksize = 1000, b...
/man/coverage_matrix.Rd
no_license
leekgroup/recount
R
false
true
4,409
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/coverage_matrix.R \name{coverage_matrix} \alias{coverage_matrix} \title{Given a set of regions for a chromosome, compute the coverage matrix for a given SRA study.} \usage{ coverage_matrix( project, chr, regions, chunksize = 1000, b...
print("This file is created in RStudio") print("And now it's live on GitHub") data <- c("East","West","East","North","North","East","West","West","West","East","North") print(data) print(is.factor(data)) factor_data <- factor(data) print(factor_data) print(is.factor(factor_data))
/Demo.R
no_license
sanketpanasuriya/datasciencecoursera
R
false
false
284
r
print("This file is created in RStudio") print("And now it's live on GitHub") data <- c("East","West","East","North","North","East","West","West","West","East","North") print(data) print(is.factor(data)) factor_data <- factor(data) print(factor_data) print(is.factor(factor_data))
# read the stub lines = readLines("analyses/empirical_analyses/haemulids/step_5/src/template.Rev") dir.create("analyses/empirical_analyses/haemulids/step_5/jobs", showWarnings=FALSE) background_model = c("constant_rate","lognormal_noise") vcv_model = c("univariate","variance_covariance") nruns = 4 ...
/analyses/empirical_analyses/haemulids/step_5/src/write_jobs.R
no_license
mikeryanmay/musscrat_supp_archive
R
false
false
1,127
r
# read the stub lines = readLines("analyses/empirical_analyses/haemulids/step_5/src/template.Rev") dir.create("analyses/empirical_analyses/haemulids/step_5/jobs", showWarnings=FALSE) background_model = c("constant_rate","lognormal_noise") vcv_model = c("univariate","variance_covariance") nruns = 4 ...
## This code is part of the ips package ## © C. Heibl 2014 (last update 2019-11-05) #' @title Trim Alignment Ends #' @description Trims both ends of a DNA sequence alignment to the first and #' last alignment positions that contain a minimum number of IUPAC base #' characters (\code{"a"}, \code{"c"}, \code{"g"}, \...
/R/trimEnds.R
no_license
heibl/ips
R
false
false
4,278
r
## This code is part of the ips package ## © C. Heibl 2014 (last update 2019-11-05) #' @title Trim Alignment Ends #' @description Trims both ends of a DNA sequence alignment to the first and #' last alignment positions that contain a minimum number of IUPAC base #' characters (\code{"a"}, \code{"c"}, \code{"g"}, \...
#loading required libraries library(tidyverse) library(Stat2Data) #loading data data("Hawks") # Filtering and selecting columns hSF <- Hawks %>% filter(Species == "RT", Weight >= 1000 ) %>% select("Wing","Weight","Tail") # Displaying first 5 rows of df sorted by ascending order of Wing size head(hSF %>% ...
/ass_4_data_wrangling.R
no_license
noah-sheldon/firstRProject
R
false
false
1,689
r
#loading required libraries library(tidyverse) library(Stat2Data) #loading data data("Hawks") # Filtering and selecting columns hSF <- Hawks %>% filter(Species == "RT", Weight >= 1000 ) %>% select("Wing","Weight","Tail") # Displaying first 5 rows of df sorted by ascending order of Wing size head(hSF %>% ...
testlist <- list(Beta = 0, CAL = numeric(0), CVLinf = 0, L50 = 0, L95 = 0, LenBins = numeric(0), LenMids = numeric(0), Linf = 0, MK = 0, Ml = numeric(0), Prob = structure(0, .Dim = c(1L, 1L)), nage = 0L, nlen = 0L, pars = c(3.81959242373749e-313, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), r...
/DLMtool/inst/testfiles/LBSPRopt/AFL_LBSPRopt/LBSPRopt_valgrind_files/1615838156-test.R
no_license
akhikolla/updatedatatype-list2
R
false
false
397
r
testlist <- list(Beta = 0, CAL = numeric(0), CVLinf = 0, L50 = 0, L95 = 0, LenBins = numeric(0), LenMids = numeric(0), Linf = 0, MK = 0, Ml = numeric(0), Prob = structure(0, .Dim = c(1L, 1L)), nage = 0L, nlen = 0L, pars = c(3.81959242373749e-313, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), r...
#0+x+y library(rgl) x<-seq(-5,5,by=0.5) y<-seq(-5,5,by=0.5) f<-function(x,y){ min(0,x,y) } z<-matrix(1:441) dim(z)<-c(21,21) for(i in 1:length(x)){ for(j in 1:length(y)){ z[i,j]<-f(x[i],y[j]) } } dim(x)<-c(21,1) X<-cbind(x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x) dim(y)<-c(1:21) Y<-rbind(y,y,...
/max.R
no_license
LZW-0313/Some-small-exercises-on-R
R
false
false
1,581
r
#0+x+y library(rgl) x<-seq(-5,5,by=0.5) y<-seq(-5,5,by=0.5) f<-function(x,y){ min(0,x,y) } z<-matrix(1:441) dim(z)<-c(21,21) for(i in 1:length(x)){ for(j in 1:length(y)){ z[i,j]<-f(x[i],y[j]) } } dim(x)<-c(21,1) X<-cbind(x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x) dim(y)<-c(1:21) Y<-rbind(y,y,...
#' Monthly Australian Wine Sale #' #' Monthly sales of wine (in thousands of liters) in Australia from January 1980 through July 1995. #' #' #' @format A data frame with 187 observations of 7 variables #' \describe{ #' \item{winet}{month 1-187} #' \item{fortw}{fortified wine} #' \item{dryw}{dry white} #' \ite...
/R/auswine.R
no_license
richujos/tswrdata
R
false
false
520
r
#' Monthly Australian Wine Sale #' #' Monthly sales of wine (in thousands of liters) in Australia from January 1980 through July 1995. #' #' #' @format A data frame with 187 observations of 7 variables #' \describe{ #' \item{winet}{month 1-187} #' \item{fortw}{fortified wine} #' \item{dryw}{dry white} #' \ite...
## Assignment: Caching the Inverse of a Matrix #Matrix inversion is usually a costly computation and there may be some #benefit to caching the inverse of a matrix rather than computing it #repeatedly ## This function creates a special "matrix" object that can cache its inverse makeCacheMatrix <- function(x = matri...
/cachematrix.R
no_license
Devashree26-rai/ProgrammingAssignment2
R
false
false
986
r
## Assignment: Caching the Inverse of a Matrix #Matrix inversion is usually a costly computation and there may be some #benefit to caching the inverse of a matrix rather than computing it #repeatedly ## This function creates a special "matrix" object that can cache its inverse makeCacheMatrix <- function(x = matri...
library(tidyverse) library(tswge) #Read in file df <-read.csv(file="C:/users/bodie/Documents/CAPSTONE_DATA.csv") #Change Date format df$DAY <- as.Date(df$DAY,format="%m/%d/%Y") #Subset dataframe Load_df <- df %>% select('DAY','TOTAL_LOAD') #Quick check for na's and types summary(Load_df) str(Load_df) ...
/Version_Two_Capstone_Time_Series.R
no_license
bodief/Time_Series
R
false
false
8,918
r
library(tidyverse) library(tswge) #Read in file df <-read.csv(file="C:/users/bodie/Documents/CAPSTONE_DATA.csv") #Change Date format df$DAY <- as.Date(df$DAY,format="%m/%d/%Y") #Subset dataframe Load_df <- df %>% select('DAY','TOTAL_LOAD') #Quick check for na's and types summary(Load_df) str(Load_df) ...
##' Access to FAOSTAT data ##' ##' A wrapper function to obtain multiple data sets under the FAOSTAT ##' domains: "Production"; "Trade" (excluding "Detailed trade matrix"); ##' "Food Balance"; the subdomain "Suite of Food Security Indicators" ##' under the domain "Food Security"; "Prices"; "Inputs" (excluding ##' "Em...
/Codes/R/FAOSTAT.R
no_license
sebastian-c/FAOSTATpackage
R
false
false
9,616
r
##' Access to FAOSTAT data ##' ##' A wrapper function to obtain multiple data sets under the FAOSTAT ##' domains: "Production"; "Trade" (excluding "Detailed trade matrix"); ##' "Food Balance"; the subdomain "Suite of Food Security Indicators" ##' under the domain "Food Security"; "Prices"; "Inputs" (excluding ##' "Em...
#' Compute similarity scores between strings #' #' \code{stringsim} computes pairwise string similarities between elements of #' \code{character} vectors \code{a} and \code{b}, where the vector with less #' elements is recycled. #' #' @param a R object (target); will be converted by \code{as.character}. #' @param b R ...
/pkg/R/stringsim.R
no_license
huisman/stringdist
R
false
false
5,365
r
#' Compute similarity scores between strings #' #' \code{stringsim} computes pairwise string similarities between elements of #' \code{character} vectors \code{a} and \code{b}, where the vector with less #' elements is recycled. #' #' @param a R object (target); will be converted by \code{as.character}. #' @param b R ...
## The two functions below are used to create a special object that stores a matrix ## and cache's its inverse. ## This function creates a special "matrix" object that can cache its inverse. makeCacheMatrix <- function(x = matrix()) { i<-NULL set <-function(y){ x<<-y i<<-NULL } get<-function() x set...
/cachematrix.R
no_license
nvvrajan/ProgrammingAssignment2
R
false
false
790
r
## The two functions below are used to create a special object that stores a matrix ## and cache's its inverse. ## This function creates a special "matrix" object that can cache its inverse. makeCacheMatrix <- function(x = matrix()) { i<-NULL set <-function(y){ x<<-y i<<-NULL } get<-function() x set...
args <- commandArgs(TRUE) input <- args[1] sel <- args[2] l <- args[3] dati <- read.delim(input, sep='\t') dats <- read.delim(sel, sep='\t') dati.freq <- tabulate(dati$start[as.numeric(dati$start) < l])/length(dati$start) dats.freq <- tabulate(dats$start[as.numeric(dats$start) < l])/length(dats$start) enrichments <- ...
/compareBED.R
no_license
msr2009/SCRIPTS
R
false
false
518
r
args <- commandArgs(TRUE) input <- args[1] sel <- args[2] l <- args[3] dati <- read.delim(input, sep='\t') dats <- read.delim(sel, sep='\t') dati.freq <- tabulate(dati$start[as.numeric(dati$start) < l])/length(dati$start) dats.freq <- tabulate(dats$start[as.numeric(dats$start) < l])/length(dats$start) enrichments <- ...
Skeleton_R <- function(data, # data alpha, # pvalue for CI test p){ # num of permutation in dcov.test n = ncol(data) G = diag(x = -1, nrow = n, ncol = n)+1 # graph matrix with 0 on the diagonal sepstep = list() # I create the separation list check =...
/Skeleton_R.R
no_license
NinaDes/code-bPC
R
false
false
4,362
r
Skeleton_R <- function(data, # data alpha, # pvalue for CI test p){ # num of permutation in dcov.test n = ncol(data) G = diag(x = -1, nrow = n, ncol = n)+1 # graph matrix with 0 on the diagonal sepstep = list() # I create the separation list check =...
# Built in R 3.6.1 # This script scrapes all available tiger road data for a given year from the US census FTP site. # The script then unzips all files for Virginia and combines into a single shapefile for further # spatial analyses. # This script was built to ease the labor intensive process of acquiring and comb...
/tigerRoadsWebScrapingScript.R
no_license
EmmaVJones/LandcoverAnalysis
R
false
false
5,544
r
# Built in R 3.6.1 # This script scrapes all available tiger road data for a given year from the US census FTP site. # The script then unzips all files for Virginia and combines into a single shapefile for further # spatial analyses. # This script was built to ease the labor intensive process of acquiring and comb...
library(shiny) library(tidyverse) library(ggplot2) library(knitr) library(DT) library(psych) library(rpart) library(partykit) library(randomForest) library(readr) dat.car <- read_delim("car.txt",delim=";",col_names = TRUE) dat.car$Origin <- as.factor(dat.car$Origin) car.int <- dat.car %>% select(-c(Car)) ...
/ui.R
no_license
srhvng/CarsRshiny
R
false
false
12,784
r
library(shiny) library(tidyverse) library(ggplot2) library(knitr) library(DT) library(psych) library(rpart) library(partykit) library(randomForest) library(readr) dat.car <- read_delim("car.txt",delim=";",col_names = TRUE) dat.car$Origin <- as.factor(dat.car$Origin) car.int <- dat.car %>% select(-c(Car)) ...
load('Fi_gdsc1000_RESULTS/gdscANOVA/PANCAN_GDSC1000_newModel_new_data/OUTPUT/ANOVA_results.rdata') nnTOTRES<-TOTRES load('Fi_gdsc1000_RESULTS/gdscANOVA/PANCAN_GDSC1000_newModel_old_data/OUTPUT/ANOVA_results.rdata') noTOTRES<-TOTRES # load('Fi_gdsc1000_RESULTS/gdscANOVA/PANCAN_GDSC1000_oldModel_old_data/OUTPUT/MANOVA_...
/R/Project_bench_01.R
no_license
francescojm/FI.GDSC.ANOVA.MULTIFACTORIAL
R
false
false
1,320
r
load('Fi_gdsc1000_RESULTS/gdscANOVA/PANCAN_GDSC1000_newModel_new_data/OUTPUT/ANOVA_results.rdata') nnTOTRES<-TOTRES load('Fi_gdsc1000_RESULTS/gdscANOVA/PANCAN_GDSC1000_newModel_old_data/OUTPUT/ANOVA_results.rdata') noTOTRES<-TOTRES # load('Fi_gdsc1000_RESULTS/gdscANOVA/PANCAN_GDSC1000_oldModel_old_data/OUTPUT/MANOVA_...
% Generated by roxygen2 (4.1.0): do not edit by hand % Please edit documentation in R/NNshapeReg.r \name{NNshapeReg} \alias{NNshapeReg} \title{Estimate the shape by averaging the shape of the nearest neighbours.} \usage{ NNshapeReg(x, y = NULL, n = 3, mahalanobis = FALSE, mc.cores = parallel::detectCores()) } \argume...
/man/NNshapeReg.Rd
no_license
zedyautja/Morpho
R
false
false
1,633
rd
% Generated by roxygen2 (4.1.0): do not edit by hand % Please edit documentation in R/NNshapeReg.r \name{NNshapeReg} \alias{NNshapeReg} \title{Estimate the shape by averaging the shape of the nearest neighbours.} \usage{ NNshapeReg(x, y = NULL, n = 3, mahalanobis = FALSE, mc.cores = parallel::detectCores()) } \argume...
#' Joint Random Forest for the simultaneous estimation of multiple related networks #' #' MAIN FUNCTION -- > iJRFNet importance <- function(x, scale=TRUE) { # --- Function importance is a modified version of function importance from R package randomForest type=NULL; class=NULL; if (!inherits(x, "randomFor...
/R/iJRFNet.R
no_license
petraf01/iJRF
R
false
false
40,225
r
#' Joint Random Forest for the simultaneous estimation of multiple related networks #' #' MAIN FUNCTION -- > iJRFNet importance <- function(x, scale=TRUE) { # --- Function importance is a modified version of function importance from R package randomForest type=NULL; class=NULL; if (!inherits(x, "randomFor...
#install packages install.packages("tidyverse") library(tidyverse) library(ggplot2) library(reshape2) library(RColorBrewer) install.packages("cowplot") library(cowplot) install.packages('Rmisc') library(dplyr) #load data library(readxl) LK135_pa <- read_excel("LK135_pa.xlsx") LK369_pa <- read_excel("LK369_pa.xlsx") DM...
/gcurve_LK135_LK369_DMSOpa.R
no_license
unguyen2/growth_curve_pa
R
false
false
3,071
r
#install packages install.packages("tidyverse") library(tidyverse) library(ggplot2) library(reshape2) library(RColorBrewer) install.packages("cowplot") library(cowplot) install.packages('Rmisc') library(dplyr) #load data library(readxl) LK135_pa <- read_excel("LK135_pa.xlsx") LK369_pa <- read_excel("LK369_pa.xlsx") DM...
library(dplyr) df_total = data.frame() start_outer = Sys.time() for(data_id in 1:4){ message("Reading data...") path = paste0("NetflixPrizeData/combined_data_", data_id ,".txt") data = readLines(path) total = length(data) start = Sys.time() item_id_loc = rep(NA, length(data)) # get location of i...
/Handling Large Data/netflix_data_parsing.R
no_license
jacobmunson/RecommenderSystems
R
false
false
2,488
r
library(dplyr) df_total = data.frame() start_outer = Sys.time() for(data_id in 1:4){ message("Reading data...") path = paste0("NetflixPrizeData/combined_data_", data_id ,".txt") data = readLines(path) total = length(data) start = Sys.time() item_id_loc = rep(NA, length(data)) # get location of i...
\name{ht_opt} \alias{ht_opt} \title{ Global Options for Heatmaps } \description{ Global Options for Heatmaps } \usage{ ht_opt(..., RESET = FALSE, READ.ONLY = NULL, LOCAL = FALSE, ADD = FALSE) } \arguments{ \item{...}{Options, see 'Details' section.} \item{RESET}{Reset all the option values.} \item{READ.ONLY}{Ple...
/man/ht_opt.Rd
permissive
jokergoo/ComplexHeatmap
R
false
false
3,864
rd
\name{ht_opt} \alias{ht_opt} \title{ Global Options for Heatmaps } \description{ Global Options for Heatmaps } \usage{ ht_opt(..., RESET = FALSE, READ.ONLY = NULL, LOCAL = FALSE, ADD = FALSE) } \arguments{ \item{...}{Options, see 'Details' section.} \item{RESET}{Reset all the option values.} \item{READ.ONLY}{Ple...
testlist <- list(ends = c(-1125300777L, 765849512L, -1760774663L, 791623263L, 1358782356L, -128659642L, -14914341L, 1092032927L, 1837701012L, 1635476531L), pts = c(1758370433L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L,...
/IntervalSurgeon/inst/testfiles/rcpp_pile/AFL_rcpp_pile/rcpp_pile_valgrind_files/1609875160-test.R
no_license
akhikolla/updated-only-Issues
R
false
false
729
r
testlist <- list(ends = c(-1125300777L, 765849512L, -1760774663L, 791623263L, 1358782356L, -128659642L, -14914341L, 1092032927L, 1837701012L, 1635476531L), pts = c(1758370433L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L,...
.onLoad = function(...) { addShinyEventsUIRessourcePath() } addShinyEventsUIRessourcePath = addShinyRessourcePath = function() { www.dir = system.file('www', package='shinyEventsUI') # init ressource paths shiny::addResourcePath( prefix = 'shinyEventsUI', directoryPath = www.dir ) } to.style = fu...
/R/shinyEventsUI.R
no_license
skranz/shinyEventsUI
R
false
false
733
r
.onLoad = function(...) { addShinyEventsUIRessourcePath() } addShinyEventsUIRessourcePath = addShinyRessourcePath = function() { www.dir = system.file('www', package='shinyEventsUI') # init ressource paths shiny::addResourcePath( prefix = 'shinyEventsUI', directoryPath = www.dir ) } to.style = fu...
library(CGP) ### Name: print.CGP ### Title: CGP model summary information ### Aliases: print.CGP ### ** Examples x1<-c(0,.02,.075,.08,.14,.15,.155,.156,.18,.22,.29,.32,.36, .37,.42,.5,.57,.63,.72,.785,.8,.84,.925,1) x2<-c(.29,.02,.12,.58,.38,.87,.01,.12,.22,.08,.34,.185,.64, .02,.93,.15,.42,.71,1,0,.21,...
/data/genthat_extracted_code/CGP/examples/print.CGP.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
481
r
library(CGP) ### Name: print.CGP ### Title: CGP model summary information ### Aliases: print.CGP ### ** Examples x1<-c(0,.02,.075,.08,.14,.15,.155,.156,.18,.22,.29,.32,.36, .37,.42,.5,.57,.63,.72,.785,.8,.84,.925,1) x2<-c(.29,.02,.12,.58,.38,.87,.01,.12,.22,.08,.34,.185,.64, .02,.93,.15,.42,.71,1,0,.21,...
############################################################################### # R (https://r-project.org/) Numeric Methods for Optimization of Portfolios # # Copyright (c) 2004-2021 Brian G. Peterson, Peter Carl, Ross Bennett, Kris Boudt # # This library is distributed under the terms of the GNU Public License (GPL) ...
/R/constrained_objective.R
no_license
crconline/PortfolioAnalytics
R
false
false
37,337
r
############################################################################### # R (https://r-project.org/) Numeric Methods for Optimization of Portfolios # # Copyright (c) 2004-2021 Brian G. Peterson, Peter Carl, Ross Bennett, Kris Boudt # # This library is distributed under the terms of the GNU Public License (GPL) ...
library(EDISON) ### Name: EDISON.run ### Title: Wrapper function for starting an MCMC simulation ### Aliases: EDISON.run ### ** Examples # Generate random gene network and simulate data from it dataset = simulateNetwork(l=25) # Run MCMC simulation to infer networks and changepoint locations # Uses default setting...
/data/genthat_extracted_code/EDISON/examples/EDISON.run.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
1,009
r
library(EDISON) ### Name: EDISON.run ### Title: Wrapper function for starting an MCMC simulation ### Aliases: EDISON.run ### ** Examples # Generate random gene network and simulate data from it dataset = simulateNetwork(l=25) # Run MCMC simulation to infer networks and changepoint locations # Uses default setting...
#' @title Pluscode South Neighbour #' #' @description This package retrieves the southerly neighbour of a valid pluscode, with a precision of 2, 4, 8, or 10 excluding the plus sign (which can be included) #' #' @param pluscode A valid pluscod 2, 4, 8, or 10 characters in length excluding the plus sign (which can be inc...
/R/pluscode_southneighbour.R
no_license
cran/pluscode
R
false
false
3,405
r
#' @title Pluscode South Neighbour #' #' @description This package retrieves the southerly neighbour of a valid pluscode, with a precision of 2, 4, 8, or 10 excluding the plus sign (which can be included) #' #' @param pluscode A valid pluscod 2, 4, 8, or 10 characters in length excluding the plus sign (which can be inc...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/f7Card.R \name{f7ListCardItem} \alias{f7ListCardItem} \title{Create a Framework7 list card item} \usage{ f7ListCardItem(url = NULL, title = NULL) } \arguments{ \item{url}{Item url.} \item{title}{item title.} } \description{ Build a Framework...
/man/f7ListCardItem.Rd
no_license
irudolf16/shinyF7
R
false
true
392
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/f7Card.R \name{f7ListCardItem} \alias{f7ListCardItem} \title{Create a Framework7 list card item} \usage{ f7ListCardItem(url = NULL, title = NULL) } \arguments{ \item{url}{Item url.} \item{title}{item title.} } \description{ Build a Framework...
# ############################################################################## # Author: Georgios Kampolis # # Description: Loads the hourly wind speed train & test sets for model building # and validation. Returns teh forecast horizon (length of the test set) and both # data frames and msts objects. # # ############...
/scripts/4_1Load.R
permissive
gkampolis/ChilWind
R
false
false
1,080
r
# ############################################################################## # Author: Georgios Kampolis # # Description: Loads the hourly wind speed train & test sets for model building # and validation. Returns teh forecast horizon (length of the test set) and both # data frames and msts objects. # # ############...
library(tidyverse) library(vegan) rushdata <- read.csv("data/rushdata_w.csv", header = TRUE, row.names = 1) rushdata <- rushdata %>% mutate_at(funs(as.factor), .vars = 1:5) # Abbreviate species names #make species list lookup head(names(rushdata), 20) #check where species start #spp start at col 17 spp_list <- d...
/scripts/rush_01.4_prep_species.R
no_license
bogsnork/rushtrial
R
false
false
11,227
r
library(tidyverse) library(vegan) rushdata <- read.csv("data/rushdata_w.csv", header = TRUE, row.names = 1) rushdata <- rushdata %>% mutate_at(funs(as.factor), .vars = 1:5) # Abbreviate species names #make species list lookup head(names(rushdata), 20) #check where species start #spp start at col 17 spp_list <- d...
#### load required libraries #### library(ggplot2) library(dplyr) #### load data #### df <- read.csv("Metadata.csv",nrows=77) #of na.exclude(df) verwijderd elke rij met een NA # rowSums(if.na(df)) == ncol(df) #na.omit() rijen die NA bevatten, worden weggefilterd maar regressiefunctie weet nog dat je die gefilterd he...
/dplyrexercises.R
no_license
KlaasVanderpoorten/SWC_test
R
false
false
3,114
r
#### load required libraries #### library(ggplot2) library(dplyr) #### load data #### df <- read.csv("Metadata.csv",nrows=77) #of na.exclude(df) verwijderd elke rij met een NA # rowSums(if.na(df)) == ncol(df) #na.omit() rijen die NA bevatten, worden weggefilterd maar regressiefunctie weet nog dat je die gefilterd he...
foo = function() { "B" }
/B/R/foo.R
no_license
dsidavis/RPackagesWorkshop
R
false
false
28
r
foo = function() { "B" }
#Loading required libraries for cleaning and managing the data library(dplyr) #Downloading the data. First we check if we have the file - #-already in our working directory. If not we download it. if(!file.exists("UCI HAR Dataset")){ fileURL <- "https://d396qusza40orc.cloudfront.net/getdata%2Fprojectfiles%2FUCI%2...
/run_analysis.R
no_license
EPriske/Getting-and-Cleaning-Data-Course-Project
R
false
false
4,072
r
#Loading required libraries for cleaning and managing the data library(dplyr) #Downloading the data. First we check if we have the file - #-already in our working directory. If not we download it. if(!file.exists("UCI HAR Dataset")){ fileURL <- "https://d396qusza40orc.cloudfront.net/getdata%2Fprojectfiles%2FUCI%2...
c DCNF-Autarky [version 0.0.1]. c Copyright (c) 2018-2019 Swansea University. c c Input Clause Count: 4636 c Performing E1-Autarky iteration. c Remaining clauses count after E-Reduction: 4635 c c Performing E1-Autarky iteration. c Remaining clauses count after E-Reduction: 4635 c c Input Parameter (command line, fil...
/code/dcnf-ankit-optimized/Results/QBFLIB-2018/E1/Experiments/Basler/terminator/stmt21_79_91/stmt21_79_91.R
no_license
arey0pushpa/dcnf-autarky
R
false
false
709
r
c DCNF-Autarky [version 0.0.1]. c Copyright (c) 2018-2019 Swansea University. c c Input Clause Count: 4636 c Performing E1-Autarky iteration. c Remaining clauses count after E-Reduction: 4635 c c Performing E1-Autarky iteration. c Remaining clauses count after E-Reduction: 4635 c c Input Parameter (command line, fil...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/get_sections.R \name{get_sections} \alias{get_sections} \title{A function that returns sections delimited by local maxima with height > hmin.} \usage{ get_sections(sr, hmin, hmax) } \arguments{ \item{sr}{tibble with columns l and z describing...
/man/get_sections.Rd
no_license
lvaudor/riverbed
R
false
true
695
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/get_sections.R \name{get_sections} \alias{get_sections} \title{A function that returns sections delimited by local maxima with height > hmin.} \usage{ get_sections(sr, hmin, hmax) } \arguments{ \item{sr}{tibble with columns l and z describing...
trace_coverage_log <- function(eventlog, threshold = NULL) { stop_eventlog(eventlog) if(is.null(threshold)) { warning("Threshold defaulted to 0.8. Use `threshold = x` to adjust this") threshold = 0.8 } tra <- traces(eventlog) tr <- tra %>% arrange(desc(relative_frequency)) %>% group_by(r...
/edeaR/R/trace_coverage_log.R
no_license
ingted/R-Examples
R
false
false
951
r
trace_coverage_log <- function(eventlog, threshold = NULL) { stop_eventlog(eventlog) if(is.null(threshold)) { warning("Threshold defaulted to 0.8. Use `threshold = x` to adjust this") threshold = 0.8 } tra <- traces(eventlog) tr <- tra %>% arrange(desc(relative_frequency)) %>% group_by(r...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/average_vegpar.R \name{get_basin_avg} \alias{get_basin_avg} \title{Get Basin Average} \usage{ get_basin_avg(r) } \arguments{ \item{r}{Input raster stack of monthly average parameter values} } \description{ Calculates the basin average values ...
/man/get_basin_avg.Rd
no_license
jschap1/vegpar
R
false
true
606
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/average_vegpar.R \name{get_basin_avg} \alias{get_basin_avg} \title{Get Basin Average} \usage{ get_basin_avg(r) } \arguments{ \item{r}{Input raster stack of monthly average parameter values} } \description{ Calculates the basin average values ...
## MODIFYING THE PREDICT.DIRICHLETREGMODEL FUNCTION TO MAKE IT PREDICT FROM A NEW SET OF COVARIATES ## USED IN THE EN MATRIX REGRESSION PROCESS ## BASE FUNCTION THAT I'VE CHANGED IS FROM HERE: https://github.com/cran/DirichletReg/blob/master/R/predict.DirichletRegModel.R predict.DirichletRegModel.newcoef <- functi...
/gbd_2017/nonfatal_code/nonfatal_injuries/prep/en_matrices/dirichlet_predict_fun.R
no_license
Nermin-Ghith/ihme-modeling
R
false
false
3,003
r
## MODIFYING THE PREDICT.DIRICHLETREGMODEL FUNCTION TO MAKE IT PREDICT FROM A NEW SET OF COVARIATES ## USED IN THE EN MATRIX REGRESSION PROCESS ## BASE FUNCTION THAT I'VE CHANGED IS FROM HERE: https://github.com/cran/DirichletReg/blob/master/R/predict.DirichletRegModel.R predict.DirichletRegModel.newcoef <- functi...
is.3dpoints <- function (x) { is <- FALSE if (is.array(x)) if (length(dim(x)) == 2) if (dim(x)[2] >= 3) is <- TRUE is }
/stpp/R/is.3dpoints.R
no_license
albrizre/spatstat.revdep
R
false
false
176
r
is.3dpoints <- function (x) { is <- FALSE if (is.array(x)) if (length(dim(x)) == 2) if (dim(x)[2] >= 3) is <- TRUE is }
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/dates.R \name{monthly} \alias{monthly} \title{Add a monthly variable to group by.} \usage{ monthly(df, col) } \arguments{ \item{df}{Data frame.} \item{col}{Column name of Date or POSIXct type.} } \value{ Data frame with a new c...
/man/monthly.Rd
no_license
pdrhlik/pdtools
R
false
true
396
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/dates.R \name{monthly} \alias{monthly} \title{Add a monthly variable to group by.} \usage{ monthly(df, col) } \arguments{ \item{df}{Data frame.} \item{col}{Column name of Date or POSIXct type.} } \value{ Data frame with a new c...
testlist <- list(a = -1L, b = -1342221858L, x = c(-55794L, 134898732L, -768856879L, -741081336L, 16751333L, -16187640L, -9605779L, 1835887981L, -16187640L, 1090519031L, -16187640L, -1L, -248L, -16252929L, -16742L, -1L, -1414852865L, 134898732L, -766375926L, -2133718785L, -29044224L, -134217902L, 134921257L, NA, -11...
/grattan/inst/testfiles/anyOutside/libFuzzer_anyOutside/anyOutside_valgrind_files/1610387044-test.R
no_license
akhikolla/updated-only-Issues
R
false
false
813
r
testlist <- list(a = -1L, b = -1342221858L, x = c(-55794L, 134898732L, -768856879L, -741081336L, 16751333L, -16187640L, -9605779L, 1835887981L, -16187640L, 1090519031L, -16187640L, -1L, -248L, -16252929L, -16742L, -1L, -1414852865L, 134898732L, -766375926L, -2133718785L, -29044224L, -134217902L, 134921257L, NA, -11...
x<-rnorm(100) y<-rnorm(100) plot(x,y) #nikhiltesting #test
/Nikhil Trial/Nikhil's_Code_Test.R
no_license
wcornwell/bigdatatest
R
false
false
59
r
x<-rnorm(100) y<-rnorm(100) plot(x,y) #nikhiltesting #test
source("template_function_count_table_corrected.R") rm(count_table_corrected) source("template_function_metadata_fixed.R") rm(metadata_fixed) source("template_function_remove_ercc.R") rm(remove_ercc) source("template_function_lymph_node_filtered.R") rm(lymph_node_filtered) source("template_function_DEG_lymph.R") rm(DEG...
/Workbook_2/run_pipeline_R.R
no_license
NCI-VB/pavlakis_TNBC_hetIL-15
R
false
false
806
r
source("template_function_count_table_corrected.R") rm(count_table_corrected) source("template_function_metadata_fixed.R") rm(metadata_fixed) source("template_function_remove_ercc.R") rm(remove_ercc) source("template_function_lymph_node_filtered.R") rm(lymph_node_filtered) source("template_function_DEG_lymph.R") rm(DEG...
# # This is a Shiny web application. You can run the application by clicking # the 'Run App' button above. # # Find out more about building applications with Shiny here: # # http://shiny.rstudio.com/ # library(shiny) library(shinydashboard) getallMenu <- function(){ #extract a df of all menu items ...
/maxcode.R
no_license
max-koh/ESA-2021-Team10
R
false
false
3,680
r
# # This is a Shiny web application. You can run the application by clicking # the 'Run App' button above. # # Find out more about building applications with Shiny here: # # http://shiny.rstudio.com/ # library(shiny) library(shinydashboard) getallMenu <- function(){ #extract a df of all menu items ...
# Unit tests for cpp backend of CMF\ context("Data Generation") test_that("Data generation works", { # generate data set.seed(45) apaths <- runif(100, -1, 1) bpaths <- runif(100, -1, 1) d <<- generateMed(50, apaths, bpaths, r2y = .6, dir = F) expect_s3_class(d, "data.frame") }) test_that("Complex data gen...
/tests/testthat/test_01_cpp_backend.R
permissive
guhjy/cmfilter
R
false
false
3,974
r
# Unit tests for cpp backend of CMF\ context("Data Generation") test_that("Data generation works", { # generate data set.seed(45) apaths <- runif(100, -1, 1) bpaths <- runif(100, -1, 1) d <<- generateMed(50, apaths, bpaths, r2y = .6, dir = F) expect_s3_class(d, "data.frame") }) test_that("Complex data gen...
#' Find the three best-performing and worst-performing commodities #' #' This function takes in a data set and returns the best three and worst three #' commodity names and their respective pnls. All these data will be presented #' as a formatted table. #' #' @param x A data frame that contains data for individual co...
/R/best_worst_three.R
no_license
rynkwn/backtestGraphics
R
false
false
1,977
r
#' Find the three best-performing and worst-performing commodities #' #' This function takes in a data set and returns the best three and worst three #' commodity names and their respective pnls. All these data will be presented #' as a formatted table. #' #' @param x A data frame that contains data for individual co...
########################################################################################################### ############################ Exploring data for indiviudal bid offers #################################### ########################################################################################################...
/Scripts/Exploredata_Individualbids.R
no_license
wainwrigh/Zambia-CWR-Data-
R
false
false
15,888
r
########################################################################################################### ############################ Exploring data for indiviudal bid offers #################################### ########################################################################################################...
\name{qType} \alias{qType} \title{Determines question type as single/grid question and single/multi response.} \usage{ qType(s) } \arguments{ \item{s}{A surveyorStats object} } \description{ Determines question type as single/grid question and single/multi response. } \seealso{ \code{\link{as.surveyorStats}} ...
/man/qType.Rd
no_license
andrie/surveyor
R
false
false
732
rd
\name{qType} \alias{qType} \title{Determines question type as single/grid question and single/multi response.} \usage{ qType(s) } \arguments{ \item{s}{A surveyorStats object} } \description{ Determines question type as single/grid question and single/multi response. } \seealso{ \code{\link{as.surveyorStats}} ...
### reading data RT <- read.csv("household_power_consumption.txt", sep=";", colClasses=c("character", "character","numeric","numeric","numeric","numeric","numeric","numeric","numeric"), na.strings = c("NA", "NaN", "?")) ### subset to two specific dates RS1 <- RT[RT$Date=="1/2/2007",] RS2 <- RT[RT$Date=="2/2/2007",] SS ...
/figure/plot1.R
no_license
vivtyng/ExData_Plotting1
R
false
false
698
r
### reading data RT <- read.csv("household_power_consumption.txt", sep=";", colClasses=c("character", "character","numeric","numeric","numeric","numeric","numeric","numeric","numeric"), na.strings = c("NA", "NaN", "?")) ### subset to two specific dates RS1 <- RT[RT$Date=="1/2/2007",] RS2 <- RT[RT$Date=="2/2/2007",] SS ...
#' Google geocoding #' #' Geocoding is the process of converting addresses (like "1600 Amphitheatre #' Parkway, Mountain View, CA") into geographic coordinates (like latitude 37.423021 #' and longitude -122.083739), which you can use to place markers on a map, or position the map. #' #' @param address \code{string}. Th...
/R/google_geocode.R
no_license
HONG1992/googleway
R
false
false
3,812
r
#' Google geocoding #' #' Geocoding is the process of converting addresses (like "1600 Amphitheatre #' Parkway, Mountain View, CA") into geographic coordinates (like latitude 37.423021 #' and longitude -122.083739), which you can use to place markers on a map, or position the map. #' #' @param address \code{string}. Th...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/connectparticipant_service.R \name{connectparticipant} \alias{connectparticipant} \title{Amazon Connect Participant Service} \usage{ connectparticipant(config = list()) } \arguments{ \item{config}{Optional configuration of credentials, endpoi...
/paws/man/connectparticipant.Rd
permissive
ryanb8/paws
R
false
true
1,658
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/connectparticipant_service.R \name{connectparticipant} \alias{connectparticipant} \title{Amazon Connect Participant Service} \usage{ connectparticipant(config = list()) } \arguments{ \item{config}{Optional configuration of credentials, endpoi...
################################################################ # Build adjacency matrices from dyadic data # Dyad data must identify countries by variables # ccode_1 & ccode_2 and the time aspect by a variable called year # time is a simple vector of years # panel is a dataset with country codes DyadBuild <- function...
/RCode/Funcs/adjMatHelpers.R
no_license
s7minhas/ForeignAid
R
false
false
3,465
r
################################################################ # Build adjacency matrices from dyadic data # Dyad data must identify countries by variables # ccode_1 & ccode_2 and the time aspect by a variable called year # time is a simple vector of years # panel is a dataset with country codes DyadBuild <- function...
testlist <- list(ends = c(-1125300777L, 765849512L, -1760774663L, 791623263L, 1358782356L, -128659642L, -14914341L, 1092032927L, 1837701012L, 1632068659L), pts = c(1758370433L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L,...
/IntervalSurgeon/inst/testfiles/rcpp_pile/AFL_rcpp_pile/rcpp_pile_valgrind_files/1609873728-test.R
no_license
akhikolla/updated-only-Issues
R
false
false
729
r
testlist <- list(ends = c(-1125300777L, 765849512L, -1760774663L, 791623263L, 1358782356L, -128659642L, -14914341L, 1092032927L, 1837701012L, 1632068659L), pts = c(1758370433L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L,...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/estpoly.R \name{arx} \alias{arx} \title{Estimate ARX Models} \usage{ arx(x, order = c(1, 1, 1), lambda = 0.1, intNoise = FALSE, fixed = NULL) } \arguments{ \item{x}{an object of class \code{idframe}} \item{order}{Specification of ...
/man/arx.Rd
no_license
cran/sysid
R
false
true
2,404
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/estpoly.R \name{arx} \alias{arx} \title{Estimate ARX Models} \usage{ arx(x, order = c(1, 1, 1), lambda = 0.1, intNoise = FALSE, fixed = NULL) } \arguments{ \item{x}{an object of class \code{idframe}} \item{order}{Specification of ...
plot_ts_icos_affected <- function() { df_spei <- read_SDI("SPEI", agg = 365) df_spi <- read_SDI("SPI", agg = 365) df_smi <- read_SDI("SMI", agg = "full") df <- left_join(df_spei, df_spi) %>% left_join(df_smi) %>% pivot_longer(-c(Date, site), names_to = "index") %>% drop_na() %>% mutate(d...
/code/plot_ts_icos_affected.R
no_license
pohlf/icosdroughtindices
R
false
false
2,251
r
plot_ts_icos_affected <- function() { df_spei <- read_SDI("SPEI", agg = 365) df_spi <- read_SDI("SPI", agg = 365) df_smi <- read_SDI("SMI", agg = "full") df <- left_join(df_spei, df_spi) %>% left_join(df_smi) %>% pivot_longer(-c(Date, site), names_to = "index") %>% drop_na() %>% mutate(d...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/conserveR-package.R \docType{data} \name{traits} \alias{traits} \title{Traits} \format{ A data frame with thirty-one variables: \describe{ \item{author}{The last name of the first author.} \item{year}{The publication year.} \item{acronym}{The...
/man/traits.Rd
no_license
cd-barratt/conserveR
R
false
true
4,223
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/conserveR-package.R \docType{data} \name{traits} \alias{traits} \title{Traits} \format{ A data frame with thirty-one variables: \describe{ \item{author}{The last name of the first author.} \item{year}{The publication year.} \item{acronym}{The...
if(!requireNamespace("nycflights13")) install.packages("nycflights13") library(nycflights13) nycflights13::flights str(flights) #dplyr 패키지 library(dplyr) #열 방향 : 선택 - select() # 데이터에서 컬럼을 선택해 사용, 선언된 순서대로 컬럼을 결정 select(flights,year,month,day) # 숫자에서만 제공하던 from:to 문법을 컬럼 순서를 기준으로 지원 select(flights, year:day) # -(마이...
/dplyr package.R
no_license
KCY0409/data-retreatment
R
false
false
5,711
r
if(!requireNamespace("nycflights13")) install.packages("nycflights13") library(nycflights13) nycflights13::flights str(flights) #dplyr 패키지 library(dplyr) #열 방향 : 선택 - select() # 데이터에서 컬럼을 선택해 사용, 선언된 순서대로 컬럼을 결정 select(flights,year,month,day) # 숫자에서만 제공하던 from:to 문법을 컬럼 순서를 기준으로 지원 select(flights, year:day) # -(마이...
## ---- echo=FALSE--------------------------------------------------------- library(ggplot2) ## ---- fig.width=6, fig.height=6------------------------------------------ ggplot(mtcars) + geom_point(aes(x=hp, y=wt, colour=factor(cyl)))
/data/genthat_extracted_code/ggconf/vignettes/Introduction-to-ggconf.R
no_license
surayaaramli/typeRrh
R
false
false
238
r
## ---- echo=FALSE--------------------------------------------------------- library(ggplot2) ## ---- fig.width=6, fig.height=6------------------------------------------ ggplot(mtcars) + geom_point(aes(x=hp, y=wt, colour=factor(cyl)))
setMethod("alignPeaks",signature(x='RangedDataList', strand='character'), function(x, strand, npeaks=1000, bandwidth=150, mc.cores=1) { x <- as.list(x) ans <- parallel::mclapply(x, FUN=function(z) alignPeaks(z, strand=strand, npeaks=npeaks, bandwidth=bandwidth), mc.cores=mc.cores, mc.preschedule=FALSE) an...
/R/alignPeaks.R
no_license
singlecoated/htSeqTools
R
false
false
4,831
r
setMethod("alignPeaks",signature(x='RangedDataList', strand='character'), function(x, strand, npeaks=1000, bandwidth=150, mc.cores=1) { x <- as.list(x) ans <- parallel::mclapply(x, FUN=function(z) alignPeaks(z, strand=strand, npeaks=npeaks, bandwidth=bandwidth), mc.cores=mc.cores, mc.preschedule=FALSE) an...
library(lubridate) #Import the data to a dataframe ############################################################################## # # PART I: import data, filter and subset # ############################################################################## # 1. Setting directory and files #1.a Check if working d...
/Plot2.R
no_license
Pedro-Agudo/ExData_Plotting1
R
false
false
2,179
r
library(lubridate) #Import the data to a dataframe ############################################################################## # # PART I: import data, filter and subset # ############################################################################## # 1. Setting directory and files #1.a Check if working d...
############################################# ### Positive unlabelled ensemble learning ### ############################################# ################################################################# ## Apply the ensemblePrediction to the feature enhanced data ## ###################################...
/R/learning.R
no_license
kristopherlopez/imbalanced_unlabelled_learning
R
false
false
18,559
r
############################################# ### Positive unlabelled ensemble learning ### ############################################# ################################################################# ## Apply the ensemblePrediction to the feature enhanced data ## ###################################...
#-------------------- DATA Layer #import data movies <- read.csv("Section6Datafile - Movie-Ratings.csv") movies # check data out head(movies) # Grammer of Graphics - a cool hisotry of some useful stuff to know # https://sds-platform-private.s3-us-east-2.amazonaws.com/uploads/P2-Section6-Grammar-Of-Graphics.pdf col...
/Section6Lecture60 - Overriding Aethetics.R
no_license
ghettocounselor/R
R
false
false
2,888
r
#-------------------- DATA Layer #import data movies <- read.csv("Section6Datafile - Movie-Ratings.csv") movies # check data out head(movies) # Grammer of Graphics - a cool hisotry of some useful stuff to know # https://sds-platform-private.s3-us-east-2.amazonaws.com/uploads/P2-Section6-Grammar-Of-Graphics.pdf col...
train <- read.csv(file.choose(),header = T) str(train) train[train==-999.000] <- NA train$Label=as.numeric(train$Label)-1 train$Label <- as.factor(train$Label) summary(train) #Scaling: Normalization normalizer <- function(x){ return((x-min(x))/(max(x)-min(x))) } #Converting to dataframe train_missing <- subset(tra...
/knn.R
no_license
puneetgajwal/higgs-boson-decay-detection
R
false
false
1,462
r
train <- read.csv(file.choose(),header = T) str(train) train[train==-999.000] <- NA train$Label=as.numeric(train$Label)-1 train$Label <- as.factor(train$Label) summary(train) #Scaling: Normalization normalizer <- function(x){ return((x-min(x))/(max(x)-min(x))) } #Converting to dataframe train_missing <- subset(tra...
library(ape) testtree <- read.tree("5359_2.txt") unrooted_tr <- unroot(testtree) write.tree(unrooted_tr, file="5359_2_unrooted.txt")
/codeml_files/newick_trees_processed/5359_2/rinput.R
no_license
DaniBoo/cyanobacteria_project
R
false
false
135
r
library(ape) testtree <- read.tree("5359_2.txt") unrooted_tr <- unroot(testtree) write.tree(unrooted_tr, file="5359_2_unrooted.txt")
# DMR Overlaps # Plots and enrichment analyses for overlaps between datasets from the genomic coordinate and gene symbol perspectives # Ben Laufer # Packages ---------------------------------------------------------------- .libPaths("/share/lasallelab/programs/DMRichR/R_4.0") if (!requireNamespace("Vennerable", quie...
/DMRoverlaps_region.R
permissive
ben-laufer/PCB-Placenta-and-Brain
R
false
false
24,054
r
# DMR Overlaps # Plots and enrichment analyses for overlaps between datasets from the genomic coordinate and gene symbol perspectives # Ben Laufer # Packages ---------------------------------------------------------------- .libPaths("/share/lasallelab/programs/DMRichR/R_4.0") if (!requireNamespace("Vennerable", quie...
\name{OBrienKaiserLong} \alias{OBrienKaiserLong} \docType{data} \title{O'Brien and Kaiser's Repeated-Measures Data in "Long" Format} \description{Contrived repeated-measures data from O'Brien and Kaiser (1985). For details see \code{\link{OBrienKaiser}}, which is for the "wide" form of the same data.} \usage{OBrienK...
/man/OBrienKaiserLong.Rd
no_license
cran/carData
R
false
false
1,236
rd
\name{OBrienKaiserLong} \alias{OBrienKaiserLong} \docType{data} \title{O'Brien and Kaiser's Repeated-Measures Data in "Long" Format} \description{Contrived repeated-measures data from O'Brien and Kaiser (1985). For details see \code{\link{OBrienKaiser}}, which is for the "wide" form of the same data.} \usage{OBrienK...
#' Data for three letter airport code lookup #' #' This table contains a list of airports in three letter codes #' Each airport code has a corresponding longitude and latitude in degrees #' #' @format the latitude of YYJ is 48.64694 and the longitude is negative 123.425833 #' @source from the web "airport_codes"
/hw09/carbonfly/R/airport_codes.R
no_license
swynes/carbonfly
R
false
false
315
r
#' Data for three letter airport code lookup #' #' This table contains a list of airports in three letter codes #' Each airport code has a corresponding longitude and latitude in degrees #' #' @format the latitude of YYJ is 48.64694 and the longitude is negative 123.425833 #' @source from the web "airport_codes"
############################################################### # DetermineStateSpace_out.R # # Organizes output for DetermineStateSpace.R ############################################################### # Ryan Hastings, 26 May 2020..stage four 11 jun ############################################################### H=H+...
/model_v3.0/DetermineStateSpaceStageFiveAugust_out.R
no_license
RyanHastings/COVID19
R
false
false
1,632
r
############################################################### # DetermineStateSpace_out.R # # Organizes output for DetermineStateSpace.R ############################################################### # Ryan Hastings, 26 May 2020..stage four 11 jun ############################################################### H=H+...