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/dienfar.R \name{make_filename} \alias{make_filename} \title{Create custom filename with certain year#'} \usage{ make_filename(year) } \arguments{ \item{year}{A string of lenght 4 which gives the year added to the filename.} } \value{ This fun...
/man/make_filename.Rd
no_license
khanhthuong2804/dienfar
R
false
true
482
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/dienfar.R \name{make_filename} \alias{make_filename} \title{Create custom filename with certain year#'} \usage{ make_filename(year) } \arguments{ \item{year}{A string of lenght 4 which gives the year added to the filename.} } \value{ This fun...
## Put comments here that give an overall description of what your ## functions do ## Write a short comment describing this function makeCacheMatrix <- function(x = matrix()) { s <- NULL set <- function(y) { x <<- y s <<- NULL } get <- function() x setsolve <- function(solve) s <<- solve getsolve ...
/cachematrix.R
no_license
andronikoss/ProgrammingAssignment2
R
false
false
665
r
## Put comments here that give an overall description of what your ## functions do ## Write a short comment describing this function makeCacheMatrix <- function(x = matrix()) { s <- NULL set <- function(y) { x <<- y s <<- NULL } get <- function() x setsolve <- function(solve) s <<- solve getsolve ...
#size frequencies females require(bio.survey) require(bio.lobster) require(bio.groundfish) p = bio.lobster::load.environment() p$libs = NULL fp = file.path(project.datadirectory('bio.lobster'),"analysis",'lfa41Assessment') la() <<<<<<< HEAD load_all('~/GitHub/bio.survey/') ======= #load_all('~/git/bio.survey/') >>>>>>>...
/inst/Assessments/LFA41Assessment/2e.femalestratifiedSizeFrequencies.r
no_license
jfontestad/bio.lobster
R
false
false
4,405
r
#size frequencies females require(bio.survey) require(bio.lobster) require(bio.groundfish) p = bio.lobster::load.environment() p$libs = NULL fp = file.path(project.datadirectory('bio.lobster'),"analysis",'lfa41Assessment') la() <<<<<<< HEAD load_all('~/GitHub/bio.survey/') ======= #load_all('~/git/bio.survey/') >>>>>>>...
# rxDForest model library(RevoScaleR) vars <- paste(colnames(Readmission)[-25],collapse='+')#all column names except the 25th variable form <- paste('unplanned_readmit_28_Days~',vars) form #build model d_forest <- rxDForest(form, data=Readmission.Train) d_forest1 <- rxDForest(form, data=data_balanced_both)...
/rxDForest.R
no_license
yangl-github/Readmission_alrogithm_samples
R
false
false
1,455
r
# rxDForest model library(RevoScaleR) vars <- paste(colnames(Readmission)[-25],collapse='+')#all column names except the 25th variable form <- paste('unplanned_readmit_28_Days~',vars) form #build model d_forest <- rxDForest(form, data=Readmission.Train) d_forest1 <- rxDForest(form, data=data_balanced_both)...
# The overall concept of these functions is to save computation power # by saving calculations. # R scoping rules allow to cache previous calculations and therefore it # allows to save computation power. # These two functions "makeCacheMatrix" and "cacheSolve" # are using R scoping rules to check if a specific ...
/cachematrix.R
no_license
shaharbener/ProgrammingAssignment2
R
false
false
1,927
r
# The overall concept of these functions is to save computation power # by saving calculations. # R scoping rules allow to cache previous calculations and therefore it # allows to save computation power. # These two functions "makeCacheMatrix" and "cacheSolve" # are using R scoping rules to check if a specific ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/fast_load_write.R \name{write_genome} \alias{write_genome} \title{Save a genome in fasta format This function writes to a file. It assumes that the object to be written #' is a data.table object.} \usage{ write_genome(genome, file.name, nbch...
/man/write_genome.Rd
no_license
ssarda/genomeutils
R
false
true
684
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/fast_load_write.R \name{write_genome} \alias{write_genome} \title{Save a genome in fasta format This function writes to a file. It assumes that the object to be written #' is a data.table object.} \usage{ write_genome(genome, file.name, nbch...
## The functions can be used to cache the inverse of matrix ## This function creats a special "matrix" object that can cache its inverse makeCacheMatrix <- function(x = matrix()) { invrs <- NULL set <- function(y){ x <<- y invrs <<- NULL } get <- functio...
/cachematrix.R
no_license
danaodai92/ProgrammingAssignment2
R
false
false
962
r
## The functions can be used to cache the inverse of matrix ## This function creats a special "matrix" object that can cache its inverse makeCacheMatrix <- function(x = matrix()) { invrs <- NULL set <- function(y){ x <<- y invrs <<- NULL } get <- functio...
pollutantmean <- function(directory, pollutant, id = 1:332) { ## 'directory' is a character vector of length 1 indicating ## the location of the CSV files ## 'pollutant' is a character vector of length 1 indicating ## the name of the pollutant for which we will calculate the ## mean; either "sulfat...
/ProgrammingAssignment1/pollutantmean.R
no_license
hanks/R_language_open_course
R
false
false
985
r
pollutantmean <- function(directory, pollutant, id = 1:332) { ## 'directory' is a character vector of length 1 indicating ## the location of the CSV files ## 'pollutant' is a character vector of length 1 indicating ## the name of the pollutant for which we will calculate the ## mean; either "sulfat...
data <- read.csv('/Users/qidiwang1/Desktop/疫情数据库/merge.csv') merge <- data.frame(JDATE = data$JDATE, Date = data$Date, Country = data$Country, Total_death = data$death, Total_recover = data$Recover, Total_cases = data$confirm, Total_tests = data$Total.tests, New_death = data$New.death,New_recover =...
/10月24号为止的r code/现在用到的部分R代码/标准化表格模板.R
no_license
qidiwang1/Rstudio
R
false
false
3,953
r
data <- read.csv('/Users/qidiwang1/Desktop/疫情数据库/merge.csv') merge <- data.frame(JDATE = data$JDATE, Date = data$Date, Country = data$Country, Total_death = data$death, Total_recover = data$Recover, Total_cases = data$confirm, Total_tests = data$Total.tests, New_death = data$New.death,New_recover =...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/detleafs.R \name{det.de} \alias{det.de} \title{Extract Distribution Element Characteristics} \usage{ det.de(det, ind) } \arguments{ \item{det}{distribution element tree object resulting from \code{\link{det.construct}}.} \item{ind}{index of ...
/man/det.de.Rd
no_license
cran/detpack
R
false
true
799
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/detleafs.R \name{det.de} \alias{det.de} \title{Extract Distribution Element Characteristics} \usage{ det.de(det, ind) } \arguments{ \item{det}{distribution element tree object resulting from \code{\link{det.construct}}.} \item{ind}{index of ...
### LOADING THE REQUIRED FILES FOR CLEANING ################################# features <- read.table("features.txt") # A vector (total 561 rows) contains feature index (1,2,3...) and # features i.e mean,std-deviation,mean absolute deviation (mad),frequency etc. along 3 axis X_test <- read.table("test/X_test.txt",col...
/run_analysis.R
no_license
MEGA-MIND/getting-and-cleaning-data
R
false
false
4,570
r
### LOADING THE REQUIRED FILES FOR CLEANING ################################# features <- read.table("features.txt") # A vector (total 561 rows) contains feature index (1,2,3...) and # features i.e mean,std-deviation,mean absolute deviation (mad),frequency etc. along 3 axis X_test <- read.table("test/X_test.txt",col...
library(babynames) library(tidyverse) library(jsonlite) names <- babynames applicants <- applicants heather <- names %>% filter(name == 'Heather') namePlot <- function(inputName, inputSex) { name <- names %>% filter(name == inputName & sex == inputSex) ggplot(name, aes(x = year, y = prop)) + geom_li...
/r/babynames.R
permissive
inspectordanno/baby_names
R
false
false
811
r
library(babynames) library(tidyverse) library(jsonlite) names <- babynames applicants <- applicants heather <- names %>% filter(name == 'Heather') namePlot <- function(inputName, inputSex) { name <- names %>% filter(name == inputName & sex == inputSex) ggplot(name, aes(x = year, y = prop)) + geom_li...
\docType{package} \name{ggdendro-package} \alias{ggdendro} \alias{ggdendro-package} \title{Tools for creating dendrograms, regresion tree and classification tree plots using ggplot in [R]} \description{ Tools for extracting dendrogram and tree diagram plot data for use with ggplot. } \details{ This is a set of to...
/man/ggdendro-package.Rd
no_license
joey711/ggdendro
R
false
false
1,792
rd
\docType{package} \name{ggdendro-package} \alias{ggdendro} \alias{ggdendro-package} \title{Tools for creating dendrograms, regresion tree and classification tree plots using ggplot in [R]} \description{ Tools for extracting dendrogram and tree diagram plot data for use with ggplot. } \details{ This is a set of to...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/rules.R \name{sv_lt} \alias{sv_lt} \title{Validate that a field is less than a specified value} \usage{ sv_lt( rhs, message_fmt = "Must be less than {rhs}.", allow_multiple = FALSE, allow_na = FALSE, allow_nan = FALSE, allow_inf =...
/man/sv_lt.Rd
permissive
SamanthaToet/shinyvalidate
R
false
true
3,206
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/rules.R \name{sv_lt} \alias{sv_lt} \title{Validate that a field is less than a specified value} \usage{ sv_lt( rhs, message_fmt = "Must be less than {rhs}.", allow_multiple = FALSE, allow_na = FALSE, allow_nan = FALSE, allow_inf =...
require(Matrix) #library(QuasiSeq) library(edgeR) require(reshape) require(plyr) library(fields) library(reshape) library(fdrtool) library("QuasiSeq") #resultdir <- '/run/user/1000/gvfs/smb-share:server=cyfiles.iastate.edu,share=09/22/ntyet/R/RA/Data/RFI-newdata/resultpaired' resultdir <- "U:/R/RA/Data/RFI-newdata/Qua...
/RFIG9P2logcbcpairedendQuaSiSeq104.R
no_license
nguyenty/rfi
R
false
false
12,149
r
require(Matrix) #library(QuasiSeq) library(edgeR) require(reshape) require(plyr) library(fields) library(reshape) library(fdrtool) library("QuasiSeq") #resultdir <- '/run/user/1000/gvfs/smb-share:server=cyfiles.iastate.edu,share=09/22/ntyet/R/RA/Data/RFI-newdata/resultpaired' resultdir <- "U:/R/RA/Data/RFI-newdata/Qua...
\name{BIITE-package} \alias{BIITE-package} \alias{BIITE} \docType{package} \title{ Bayesian Immunogenicity Inference Tool for ELISpot } \description{ A Bayesian method to infer peptide:HLA-II immunogenicity from ELISpot data } \details{ \tabular{ll}{ Package: \tab BIITE\cr Type: \tab Package\cr Versio...
/man/BIITE-package.Rd
no_license
liesb/BIITE
R
false
false
2,857
rd
\name{BIITE-package} \alias{BIITE-package} \alias{BIITE} \docType{package} \title{ Bayesian Immunogenicity Inference Tool for ELISpot } \description{ A Bayesian method to infer peptide:HLA-II immunogenicity from ELISpot data } \details{ \tabular{ll}{ Package: \tab BIITE\cr Type: \tab Package\cr Versio...
# # # R script for assignment for course # Course "Getting and Cleaning Data" course : Dec 7, 15 - Jan 03, 16 # # Create tidy data from raw data. Steps (1 -5 as per instruction) # # 0. Load all the data into tables; Create training and test data sets # 1. Merges the training and the test sets to create one data set # 2...
/run_analysis.R
no_license
venki2404/GCDataProjectRepo
R
false
false
4,894
r
# # # R script for assignment for course # Course "Getting and Cleaning Data" course : Dec 7, 15 - Jan 03, 16 # # Create tidy data from raw data. Steps (1 -5 as per instruction) # # 0. Load all the data into tables; Create training and test data sets # 1. Merges the training and the test sets to create one data set # 2...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/celda_G.R \name{calculateLoglikFromVariables.celda_G} \alias{calculateLoglikFromVariables.celda_G} \title{Calculate the celda_G log likelihood for user-provided cluster assignments} \usage{ calculateLoglikFromVariables.celda_G(counts, y, L, b...
/man/calculateLoglikFromVariables.celda_G.Rd
permissive
AndrewGr12/celda
R
false
true
1,199
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/celda_G.R \name{calculateLoglikFromVariables.celda_G} \alias{calculateLoglikFromVariables.celda_G} \title{Calculate the celda_G log likelihood for user-provided cluster assignments} \usage{ calculateLoglikFromVariables.celda_G(counts, y, L, b...
#' Create a plot for the TSC report #' #' Creates a plot of catch and spawning biomass from the output of #' \code{\link{SS_output}} for the NOAA TSC report. #' #' It creates a plot on the current graphics device, in a pdf file, or as a png #' image of the figure used in the TSC report produced by the NWFSC. I...
/r4ss/R/TSCplot.R
no_license
ingted/R-Examples
R
false
false
7,440
r
#' Create a plot for the TSC report #' #' Creates a plot of catch and spawning biomass from the output of #' \code{\link{SS_output}} for the NOAA TSC report. #' #' It creates a plot on the current graphics device, in a pdf file, or as a png #' image of the figure used in the TSC report produced by the NWFSC. I...
library(datasus) ### Name: sim_inf10_mun ### Title: Scrapes SIM's ICD-10 child mortality data from cities ### Aliases: sim_inf10_mun ### Keywords: SIM child datasus mortality ### ** Examples ## Not run: ##D ## Requesting data from the city of Campo Grande/MS ##D sim_inf10_mun(municipio = 500270) ## End(Not run) ...
/data/genthat_extracted_code/datasus/examples/sim_inf10_mun.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
322
r
library(datasus) ### Name: sim_inf10_mun ### Title: Scrapes SIM's ICD-10 child mortality data from cities ### Aliases: sim_inf10_mun ### Keywords: SIM child datasus mortality ### ** Examples ## Not run: ##D ## Requesting data from the city of Campo Grande/MS ##D sim_inf10_mun(municipio = 500270) ## End(Not run) ...
############################################################################# # Generate the first plot. # Include the function to read the data source("read_hpc_feb.R") plot2 <- function() { df <- readpwrdata(); png("plot2.png") plot(x=df$DateTime, y=df$GlobalActivePower, type="l", ylab="Globa...
/plot2.R
no_license
GipFunny/ExData_Plotting1
R
false
false
374
r
############################################################################# # Generate the first plot. # Include the function to read the data source("read_hpc_feb.R") plot2 <- function() { df <- readpwrdata(); png("plot2.png") plot(x=df$DateTime, y=df$GlobalActivePower, type="l", ylab="Globa...
#!/usr/bin/env Rscript ###################### # rCNV Project # ###################### # Copyright (c) 2020 Ryan L. Collins and the Talkowski Laboratory # Distributed under terms of the MIT License (see LICENSE) # Contact: Ryan L. Collins <rlcollins@g.harvard.edu> # Compute permuted FDR for a single phenotype f...
/analysis/paper/scripts/large_segments/calc_permuted_fdr.single_pheno.R
permissive
JPMirandaM/rCNV2
R
false
false
2,156
r
#!/usr/bin/env Rscript ###################### # rCNV Project # ###################### # Copyright (c) 2020 Ryan L. Collins and the Talkowski Laboratory # Distributed under terms of the MIT License (see LICENSE) # Contact: Ryan L. Collins <rlcollins@g.harvard.edu> # Compute permuted FDR for a single phenotype f...
install.packages("ggplot2") install.packages("Hmisc")
/install.R
no_license
cvisger/Bio100-R
R
false
false
54
r
install.packages("ggplot2") install.packages("Hmisc")
# required libs przy pierwszym odpalaniu odkomentowac # source("http://bioconductor.org/biocLite.R")#ściąga skrypt instalacyjny # biocLite("biocUpgrade") # biocLite("affy") # biocLite("gahgu95av2.db")#Kamila - wer 3.5 nie działa # biocLite("gplots") # install.packages(paste(getwd(),"/packages/gahgu95av2.db_2.2.0.tar.g...
/R/libs.R
permissive
wopoczynski/wsp_2018
R
false
false
632
r
# required libs przy pierwszym odpalaniu odkomentowac # source("http://bioconductor.org/biocLite.R")#ściąga skrypt instalacyjny # biocLite("biocUpgrade") # biocLite("affy") # biocLite("gahgu95av2.db")#Kamila - wer 3.5 nie działa # biocLite("gplots") # install.packages(paste(getwd(),"/packages/gahgu95av2.db_2.2.0.tar.g...
\name{getScanDate} \alias{getScanDate} \title{ Extract scan dates from CEL files } \description{ Extract the scan dates from CEL file headers. } \usage{ getScanDate(filenames = list.celfiles()) } \arguments{ \item{filenames}{ Character vector of file names. } } \value{ A vector of class \code{\link{Date}}. } \not...
/man/getScanDate.Rd
no_license
aroneklund/bias
R
false
false
698
rd
\name{getScanDate} \alias{getScanDate} \title{ Extract scan dates from CEL files } \description{ Extract the scan dates from CEL file headers. } \usage{ getScanDate(filenames = list.celfiles()) } \arguments{ \item{filenames}{ Character vector of file names. } } \value{ A vector of class \code{\link{Date}}. } \not...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/contrast.R \name{unit_contrast} \alias{unit_contrast} \title{Unit Contrast} \usage{ unit_contrast(A, name, where = NULL) } \arguments{ \item{A}{A formula representing the contrast expression.} \item{name}{A character string specifying the na...
/man/unit_contrast.Rd
no_license
bbuchsbaum/fmrireg
R
false
true
685
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/contrast.R \name{unit_contrast} \alias{unit_contrast} \title{Unit Contrast} \usage{ unit_contrast(A, name, where = NULL) } \arguments{ \item{A}{A formula representing the contrast expression.} \item{name}{A character string specifying the na...
# Load the dataset library(readxl) ea <- read_excel(file.choose()) ea1 <- ea[,c (2,4,7:11)] mydata <- as.data.frame(ea1) summary(mydata) str(mydata) # Normalize the data normalized_data <- scale(mydata[, ]) summary(normalized_data) # Distance matrix d <- dist(normalized_data, method = "euclidean")...
/HC question num 1.R
no_license
Rohika379/Hierarchical-Clustering
R
false
false
739
r
# Load the dataset library(readxl) ea <- read_excel(file.choose()) ea1 <- ea[,c (2,4,7:11)] mydata <- as.data.frame(ea1) summary(mydata) str(mydata) # Normalize the data normalized_data <- scale(mydata[, ]) summary(normalized_data) # Distance matrix d <- dist(normalized_data, method = "euclidean")...
# mcmc_demo.R rm(list=ls()) require(wrightscape) require(snowfall) source("labrid_data.R") MaxTime = 1e6 spec = list(alpha="fixed", sigma="indep", theta="global") trait <- "open" nchains <- 10 burnin <- 1:1e3 # START SMART PLEASE start <- multiTypeOU(data=labrid$data[trait], tree=labrid$tree, regimes=pharyngeal, m...
/inst/examples/labrid_mcmc.R
permissive
cboettig/wrightscape
R
false
false
1,272
r
# mcmc_demo.R rm(list=ls()) require(wrightscape) require(snowfall) source("labrid_data.R") MaxTime = 1e6 spec = list(alpha="fixed", sigma="indep", theta="global") trait <- "open" nchains <- 10 burnin <- 1:1e3 # START SMART PLEASE start <- multiTypeOU(data=labrid$data[trait], tree=labrid$tree, regimes=pharyngeal, m...
\name{+.lws_table} \alias{+.lws_table} \title{Combine \code{lws_table} objects} \usage{ \method{+}{lws_table}(..., check = TRUE) } \arguments{ \item{...}{\code{lws_table} object} \item{check}{logical, if TRUE checks that the each \code{lws_table} object is named a list with names \code{c("weights","lags","star...
/man/lws_table-add.Rd
no_license
snowdj/midasr
R
false
false
892
rd
\name{+.lws_table} \alias{+.lws_table} \title{Combine \code{lws_table} objects} \usage{ \method{+}{lws_table}(..., check = TRUE) } \arguments{ \item{...}{\code{lws_table} object} \item{check}{logical, if TRUE checks that the each \code{lws_table} object is named a list with names \code{c("weights","lags","star...
################################################################################ ## ms_community.R: Examining community responses to removals in Smith master's plots. ## ## Author: Kimberly Komatsu ## Date created: June 17, 2019 ################################################################################ librar...
/masters/ms_community.R
no_license
klapierre/konza_removals
R
false
false
4,081
r
################################################################################ ## ms_community.R: Examining community responses to removals in Smith master's plots. ## ## Author: Kimberly Komatsu ## Date created: June 17, 2019 ################################################################################ librar...
library(testthat) library(pointszr) test_check("pointszr") # [END]
/tests/testthat.R
permissive
harrig12/pointszr
R
false
false
69
r
library(testthat) library(pointszr) test_check("pointszr") # [END]
#------------------------------------------------------------------------------- # Copyright (c) 2012 University of Illinois, NCSA. # All rights reserved. This program and the accompanying materials # are made available under the terms of the # University of Illinois/NCSA Open Source License # which accompanies this d...
/db/R/query.prior.R
permissive
jschen3/pecan
R
false
false
2,547
r
#------------------------------------------------------------------------------- # Copyright (c) 2012 University of Illinois, NCSA. # All rights reserved. This program and the accompanying materials # are made available under the terms of the # University of Illinois/NCSA Open Source License # which accompanies this d...
library(tidyverse) library(data.table) # Загрузка таблицы со стандартной статистикой игркоов table <- fread("F:/NBA_20190720/Excel/positionML.csv") # Выбор нужных переменных table1 <- table %>% select(PLAYER_NAME, GP, MIN, FG_PCT, FG3A, FG3_PCT, FT_PCT, ...
/xg_2.R
no_license
shufinskiy/Classification_ML
R
false
false
4,318
r
library(tidyverse) library(data.table) # Загрузка таблицы со стандартной статистикой игркоов table <- fread("F:/NBA_20190720/Excel/positionML.csv") # Выбор нужных переменных table1 <- table %>% select(PLAYER_NAME, GP, MIN, FG_PCT, FG3A, FG3_PCT, FT_PCT, ...
library(data.table) # Workaround for data.table bug with na strings in numeric columns data <- fread('household_power_consumption.txt', sep=';', colClasses=c('character', 'character', 'character', 'character', ...
/read_data.R
no_license
romadinov/ExData_Plotting1
R
false
false
1,117
r
library(data.table) # Workaround for data.table bug with na strings in numeric columns data <- fread('household_power_consumption.txt', sep=';', colClasses=c('character', 'character', 'character', 'character', ...
context("Match Stata output") test_that("Match stata on AK data", { ## This takes 9.8s on XPS13, while Stata (ak.do) takes several mins ## Table II r0 <- IVreg(lwage~education | qob=="Q1", data=ak80, inference="standard", subset=division=="Pacific") r1 <- IVreg(ak80$lwage~ak80$education...
/tests/testthat/test_stata.R
no_license
shizelong1985/ManyIV
R
false
false
3,063
r
context("Match Stata output") test_that("Match stata on AK data", { ## This takes 9.8s on XPS13, while Stata (ak.do) takes several mins ## Table II r0 <- IVreg(lwage~education | qob=="Q1", data=ak80, inference="standard", subset=division=="Pacific") r1 <- IVreg(ak80$lwage~ak80$education...
\name{numPed} \alias{numPed} \alias{is.numPed} \alias{ronPed} \title{Integer Format Pedigree} \description{ Conversion, checking, and row re-ordering of a pedigree in integer form of class \sQuote{numPed}.} \usage{ numPed(pedigree, check = TRUE) is.numPed(x) ronPed(x, i, \dots) } \arguments{ \item{pedigree }...
/man/numPed.Rd
no_license
DuyDN/nadiv
R
false
false
1,700
rd
\name{numPed} \alias{numPed} \alias{is.numPed} \alias{ronPed} \title{Integer Format Pedigree} \description{ Conversion, checking, and row re-ordering of a pedigree in integer form of class \sQuote{numPed}.} \usage{ numPed(pedigree, check = TRUE) is.numPed(x) ronPed(x, i, \dots) } \arguments{ \item{pedigree }...
library(dplyr) fileUrl <- "https://d396qusza40orc.cloudfront.net/getdata%2Fprojectfiles%2FUCI%20HAR%20Dataset.zip" fileName <- "rawData.zip" # Check whether the file exists or not if (!file.exists(fileName)) { download.file(fileUrl, fileName, method = 'curl') } # Check whether the file is unzipped or not if (!fi...
/run_analysis.R
no_license
dycding/get-clean-data
R
false
false
2,683
r
library(dplyr) fileUrl <- "https://d396qusza40orc.cloudfront.net/getdata%2Fprojectfiles%2FUCI%20HAR%20Dataset.zip" fileName <- "rawData.zip" # Check whether the file exists or not if (!file.exists(fileName)) { download.file(fileUrl, fileName, method = 'curl') } # Check whether the file is unzipped or not if (!fi...
% Generated by roxygen2 (4.0.2): do not edit by hand \docType{package} \name{svmfortopic} \alias{svmfortopic} \alias{svmfortopic-package} \title{Package providing all data and programs used in the topic XXX by Andreas Keller Leth Laursen} \description{ Provides all data used in the project topic by Andreas Keller Leth ...
/man/svmfortopic.Rd
no_license
AKLLaursen/svmfortopic
R
false
false
682
rd
% Generated by roxygen2 (4.0.2): do not edit by hand \docType{package} \name{svmfortopic} \alias{svmfortopic} \alias{svmfortopic-package} \title{Package providing all data and programs used in the topic XXX by Andreas Keller Leth Laursen} \description{ Provides all data used in the project topic by Andreas Keller Leth ...
# Main function to create the tex and csv tables for the VaR report for a # given run. # # Written by Adrian Dragulescu on 24-Nov-2006 make.VaR.summary <- function(PnL, class.Factors, file){ summary.Fun <- function(x){c(4*sd(x), mean(x)-quantile(x, probs=0.05), min(x))} OutT <- array(0, dim=c(3,3), dimnames=li...
/R Extension/RMG/Energy/VaR/Base/make.VaR.tables.R
no_license
uhasan1/QLExtension-backup
R
false
false
4,918
r
# Main function to create the tex and csv tables for the VaR report for a # given run. # # Written by Adrian Dragulescu on 24-Nov-2006 make.VaR.summary <- function(PnL, class.Factors, file){ summary.Fun <- function(x){c(4*sd(x), mean(x)-quantile(x, probs=0.05), min(x))} OutT <- array(0, dim=c(3,3), dimnames=li...
library(glmnet) mydata = read.table("../../../../TrainingSet/FullSet/Correlation/kidney.csv",head=T,sep=",") x = as.matrix(mydata[,4:ncol(mydata)]) y = as.matrix(mydata[,1]) set.seed(123) glm = cv.glmnet(x,y,nfolds=10,type.measure="mse",alpha=0.6,family="gaussian",standardize=FALSE) sink('./kidney_066.txt',append=TRUE)...
/Model/EN/Correlation/kidney/kidney_066.R
no_license
esbgkannan/QSMART
R
false
false
350
r
library(glmnet) mydata = read.table("../../../../TrainingSet/FullSet/Correlation/kidney.csv",head=T,sep=",") x = as.matrix(mydata[,4:ncol(mydata)]) y = as.matrix(mydata[,1]) set.seed(123) glm = cv.glmnet(x,y,nfolds=10,type.measure="mse",alpha=0.6,family="gaussian",standardize=FALSE) sink('./kidney_066.txt',append=TRUE)...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/plotting.R \name{plot_normal} \alias{plot_normal} \title{Plot Normal Distributions} \usage{ plot_normal(normals, title = "Normal Distribution", color = "#f65335", support_level = 0.99) } \arguments{ \item{normals}{A list of lists of normal ...
/man/plot_normal.Rd
permissive
sambrilleman/abayes
R
false
true
651
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/plotting.R \name{plot_normal} \alias{plot_normal} \title{Plot Normal Distributions} \usage{ plot_normal(normals, title = "Normal Distribution", color = "#f65335", support_level = 0.99) } \arguments{ \item{normals}{A list of lists of normal ...
remove_NA_data_frame <- function( formula , data , weights=NULL) { #-- include weights N <- nrow(data) if ( is.null(weights) ){ weights <- rep(1,N) } #--- remove missings data_vars <- stats::get_all_vars(formula=formula, data = data ) ind <- which( rowMeans( 1 - is.na(data_vars) ) == 1 ) data <- data[ in...
/R/remove_NA_data_frame.R
no_license
strategist922/mdmb
R
false
false
432
r
remove_NA_data_frame <- function( formula , data , weights=NULL) { #-- include weights N <- nrow(data) if ( is.null(weights) ){ weights <- rep(1,N) } #--- remove missings data_vars <- stats::get_all_vars(formula=formula, data = data ) ind <- which( rowMeans( 1 - is.na(data_vars) ) == 1 ) data <- data[ in...
library(RcppCNPy) library(clue) library(glue) args = commandArgs(trailingOnly=TRUE) parcellation_level = args[1] resolution = args[2] random_seed = strtoi(args[3]) path = "/data01/ayagoz/sparse_32_concon_HCP/parcellations/" folder = glue("{path}connectivity_parcellation_level{parcellation_level}/{resolution}/") step...
/connective_parcellation/parcellation_processing/R_scripts/ensemble_for_loop.R
no_license
kurmukovai/connectivity-brain-parcellation
R
false
false
1,066
r
library(RcppCNPy) library(clue) library(glue) args = commandArgs(trailingOnly=TRUE) parcellation_level = args[1] resolution = args[2] random_seed = strtoi(args[3]) path = "/data01/ayagoz/sparse_32_concon_HCP/parcellations/" folder = glue("{path}connectivity_parcellation_level{parcellation_level}/{resolution}/") step...
% Generated by roxygen2 (4.1.1): do not edit by hand % Please edit documentation in R/formatter.r \name{dollar_format} \alias{dollar} \alias{dollar_format} \title{Currency formatter: round to nearest cent and display dollar sign.} \usage{ dollar_format(largest_with_cents = 1e+05) dollar(x) } \arguments{ \item{largest_...
/man/dollar_format.Rd
no_license
jcheng5/scales
R
false
false
1,006
rd
% Generated by roxygen2 (4.1.1): do not edit by hand % Please edit documentation in R/formatter.r \name{dollar_format} \alias{dollar} \alias{dollar_format} \title{Currency formatter: round to nearest cent and display dollar sign.} \usage{ dollar_format(largest_with_cents = 1e+05) dollar(x) } \arguments{ \item{largest_...
testlist <- list(Rs = numeric(0), atmp = 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), relh = -1.72131968218895e+83, temp = c(8.5728629954997e-312, 1.56898424065867e+82, 8.96970809549085e-158, -1.32584952537786e-113, 2.79620616433656e-119, -6.80033518...
/meteor/inst/testfiles/ET0_Makkink/AFL_ET0_Makkink/ET0_Makkink_valgrind_files/1615848175-test.R
no_license
akhikolla/updatedatatype-list3
R
false
false
719
r
testlist <- list(Rs = numeric(0), atmp = 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), relh = -1.72131968218895e+83, temp = c(8.5728629954997e-312, 1.56898424065867e+82, 8.96970809549085e-158, -1.32584952537786e-113, 2.79620616433656e-119, -6.80033518...
CovFunc <-function(x1,x2,x,y,extraParam,varFuncSqHyp,lengthHyp,covFuncForm){ #--------------------------------------------------------------------------# # K Lloyd 2016_09_16 #--------------------------------------------------------------------------# # Inputs x1 and x2 are always [dimension,nSamples] or [dimen...
/toSource/CovFunc.R
permissive
kllloyd/Thesis
R
false
false
3,349
r
CovFunc <-function(x1,x2,x,y,extraParam,varFuncSqHyp,lengthHyp,covFuncForm){ #--------------------------------------------------------------------------# # K Lloyd 2016_09_16 #--------------------------------------------------------------------------# # Inputs x1 and x2 are always [dimension,nSamples] or [dimen...
\name{computeSunPositionDoyHour} \alias{computeSunPositionDoyHour} \title{computeSunPositionDoyHour} \description{Compute the position of the sun (solar angle)} \usage{computeSunPositionDoyHour(doy, hour, latDeg, longDeg = NA, timeZone = NA, isCorrectSolartime = TRUE)} \arguments{ \item{doy}{integer vector with ...
/man/computeSunPositionDoyHour.Rd
no_license
mt-climate-office/solartime
R
false
false
1,602
rd
\name{computeSunPositionDoyHour} \alias{computeSunPositionDoyHour} \title{computeSunPositionDoyHour} \description{Compute the position of the sun (solar angle)} \usage{computeSunPositionDoyHour(doy, hour, latDeg, longDeg = NA, timeZone = NA, isCorrectSolartime = TRUE)} \arguments{ \item{doy}{integer vector with ...
coralDelayModel <- function( y, parameters) { M <- y[1] C <- y[2] a <- parameters[1] g <- parameters[2] gamma <- parameters[3] r <- parameters[4] d <- parameters[5] dy[1] <- a*M*C - (g*M)/(1-C) + gamma*M - gamma*M*M - gamma*M*C dy[2] <- r*C - r*M*C - r*C*C - d*C - a*M*C list(dy) ...
/simulations/Coral/coralDifferentialSys.r
permissive
SUNY-SDE-2015/REU15
R
false
false
321
r
coralDelayModel <- function( y, parameters) { M <- y[1] C <- y[2] a <- parameters[1] g <- parameters[2] gamma <- parameters[3] r <- parameters[4] d <- parameters[5] dy[1] <- a*M*C - (g*M)/(1-C) + gamma*M - gamma*M*M - gamma*M*C dy[2] <- r*C - r*M*C - r*C*C - d*C - a*M*C list(dy) ...
# id, file, read, channel, mux, pass out <- tryCatch(readInfo(summaryData), error = function(cond){return (tibble())}) temp <- tryCatch(select(out, id), error = function(cond){return (tibble(id = numeric()))}) id <- matrix(as.numeric(unlist(temp)), nrow = nrow(temp)) temp <- tryCatch(select(out, file), error = funct...
/backend/src/main/resources/r_script_temp/readInfo.R
permissive
ambro01/NanoporeQC
R
false
false
750
r
# id, file, read, channel, mux, pass out <- tryCatch(readInfo(summaryData), error = function(cond){return (tibble())}) temp <- tryCatch(select(out, id), error = function(cond){return (tibble(id = numeric()))}) id <- matrix(as.numeric(unlist(temp)), nrow = nrow(temp)) temp <- tryCatch(select(out, file), error = funct...
library(plyr) ### Name: progress_tk ### Title: Graphical progress bar, powered by Tk. ### Aliases: progress_tk ### ** Examples ## Not run: ##D l_ply(1:100, identity, .progress = "tk") ##D l_ply(1:100, identity, .progress = progress_tk(width=400)) ##D l_ply(1:100, identity, .progress = progress_tk(label="")) ## End...
/data/genthat_extracted_code/plyr/examples/progress_tk.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
333
r
library(plyr) ### Name: progress_tk ### Title: Graphical progress bar, powered by Tk. ### Aliases: progress_tk ### ** Examples ## Not run: ##D l_ply(1:100, identity, .progress = "tk") ##D l_ply(1:100, identity, .progress = progress_tk(width=400)) ##D l_ply(1:100, identity, .progress = progress_tk(label="")) ## End...
launch <- read.csv("challenger.csv") str(launch) # optimal parameters for the linear equation y = a + bx b <- cov(launch$temperature, launch$distress_ct) / var(launch$temperature) b a <- mean(launch$distress_ct) - b * mean(launch$temperature) a # compute the correlation r <- cov(launch$temperature, launch$distress...
/regression_challenger/regchal.R
no_license
rogerzanoni/machine-learning-with-r
R
false
false
760
r
launch <- read.csv("challenger.csv") str(launch) # optimal parameters for the linear equation y = a + bx b <- cov(launch$temperature, launch$distress_ct) / var(launch$temperature) b a <- mean(launch$distress_ct) - b * mean(launch$temperature) a # compute the correlation r <- cov(launch$temperature, launch$distress...
#This makes nice 3D outputs of the files for publications as well (such as the M.Mirus) #script for converting binary to ASCII .ply files #rm(list=ls()) install.packages("Rvcg") install.packages("rgl") library(Rvcg) library(rgl) #set working directory with ascii or binary ply files #put the .ply files you want to c...
/Methods/Binary_to_ASCII.R
no_license
EllenJCoombs/SICB_2021
R
false
false
1,778
r
#This makes nice 3D outputs of the files for publications as well (such as the M.Mirus) #script for converting binary to ASCII .ply files #rm(list=ls()) install.packages("Rvcg") install.packages("rgl") library(Rvcg) library(rgl) #set working directory with ascii or binary ply files #put the .ply files you want to c...
# This file contains the following functions: # gev.fit gev.diag gev.pp gev.qq gev.rl gev.his # gevf gevq gev.dens gev.profxi gev.prof "gev.fit"<- function(xdat, ydat = NULL, mul = NULL, sigl = NULL, shl = NULL, mulink = identity, siglink = identity, shlink = identity, muinit = NULL, siginit = NULL, shinit = ...
/R/gev.R
no_license
cran/ismev
R
false
false
9,239
r
# This file contains the following functions: # gev.fit gev.diag gev.pp gev.qq gev.rl gev.his # gevf gevq gev.dens gev.profxi gev.prof "gev.fit"<- function(xdat, ydat = NULL, mul = NULL, sigl = NULL, shl = NULL, mulink = identity, siglink = identity, shlink = identity, muinit = NULL, siginit = NULL, shinit = ...
% Generated by roxygen2 (4.1.1): do not edit by hand % Please edit documentation in R/status.R \docType{data} \name{OK} \alias{ACCEPTED} \alias{CREATED} \alias{NON_AUTHORITATIVE_INFORMATION} \alias{NO_CONTENT} \alias{OK} \alias{PARTIAL_CONTENT} \alias{RESET_CONTENT} \title{Success} \format{http.source} \usage{ OK CREA...
/man/status-success.Rd
no_license
kos59125/shadowy
R
false
false
455
rd
% Generated by roxygen2 (4.1.1): do not edit by hand % Please edit documentation in R/status.R \docType{data} \name{OK} \alias{ACCEPTED} \alias{CREATED} \alias{NON_AUTHORITATIVE_INFORMATION} \alias{NO_CONTENT} \alias{OK} \alias{PARTIAL_CONTENT} \alias{RESET_CONTENT} \title{Success} \format{http.source} \usage{ OK CREA...
library(MASS) set.seed(1) dat <- mvrnorm(5000, c(0, 0), matrix(c(1, .5, .5, 1), 2)) ## True kendall's tau is 2 * asin(.5) / pi system.time(print(kendall(dat))) system.time(print(cor(dat, method = "kendall")))
/inst/examples/ex_kendalls.R
no_license
stc04003/tranSurv
R
false
false
209
r
library(MASS) set.seed(1) dat <- mvrnorm(5000, c(0, 0), matrix(c(1, .5, .5, 1), 2)) ## True kendall's tau is 2 * asin(.5) / pi system.time(print(kendall(dat))) system.time(print(cor(dat, method = "kendall")))
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/datasets_documentation.R \docType{data} \name{fruits_veggies_OTUs_tree} \alias{fruits_veggies_OTUs_tree} \title{Fruits and Vegetables Bacterial Phylotype Tree} \format{ phylo } \source{ Adapted from \url{ http://journals.plos.org/plosone/art...
/man/fruits_veggies_OTUs_tree.Rd
no_license
leffj/mctoolsr
R
false
true
482
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/datasets_documentation.R \docType{data} \name{fruits_veggies_OTUs_tree} \alias{fruits_veggies_OTUs_tree} \title{Fruits and Vegetables Bacterial Phylotype Tree} \format{ phylo } \source{ Adapted from \url{ http://journals.plos.org/plosone/art...
bank<-read.csv("C:/Users/Dell/Documents/R/bank-data.csv", header = TRUE) bank summary(bank) colnames(bank) plot(bank[,'age'],bank[,'income'])
/1BM17CS024_DSR Lab/Lab 3/plot_summarize.R
no_license
dikshajain228/Semester-7
R
false
false
147
r
bank<-read.csv("C:/Users/Dell/Documents/R/bank-data.csv", header = TRUE) bank summary(bank) colnames(bank) plot(bank[,'age'],bank[,'income'])
library(dplyr) features <- read.table("./UCI HAR Dataset/features.txt") #processing train data subject_train <- read.table(file = "./UCI HAR Dataset/train/subject_train.txt", col.names = "subject") x_train <- read.table(file = "./UCI HAR Dataset/train/X_train.txt", col.names = features$V2) y_train <- read.table(file ...
/run_analysis.R
no_license
Dimetrix/getting_cleaning_data
R
false
false
7,695
r
library(dplyr) features <- read.table("./UCI HAR Dataset/features.txt") #processing train data subject_train <- read.table(file = "./UCI HAR Dataset/train/subject_train.txt", col.names = "subject") x_train <- read.table(file = "./UCI HAR Dataset/train/X_train.txt", col.names = features$V2) y_train <- read.table(file ...
# 4.3.Aviso+_monthlyMeanTrends.R library(doMC); doMC::registerDoMC(cores = 4) # multi-core require(mgcv) library(readr) library(plyr) library(dplyr) library(lubridate) library(tidyverse) library(data.table) # because it reads in csv data faster... # Some functions ----------------------------------------------------...
/setup/4.3.Aviso+_monthlyEKETrend.R
no_license
ajsmit/Western_Boundary_Current_MHWs
R
false
false
6,651
r
# 4.3.Aviso+_monthlyMeanTrends.R library(doMC); doMC::registerDoMC(cores = 4) # multi-core require(mgcv) library(readr) library(plyr) library(dplyr) library(lubridate) library(tidyverse) library(data.table) # because it reads in csv data faster... # Some functions ----------------------------------------------------...
## ----setup, echo=F, message=F-------------------------------------------- library(RMySQL) library(dplyr) library(krsp) ## ----rmysql, eval=F------------------------------------------------------ # db <- dbConnect(MySQL(), group = "krsp-aws") ## ----src-mysql, eval=F------------------------------------------------...
/inst/doc/mysql-aws.R
no_license
KluaneRedSquirrelProject/krsp
R
false
false
528
r
## ----setup, echo=F, message=F-------------------------------------------- library(RMySQL) library(dplyr) library(krsp) ## ----rmysql, eval=F------------------------------------------------------ # db <- dbConnect(MySQL(), group = "krsp-aws") ## ----src-mysql, eval=F------------------------------------------------...
--- title: "Veri Madenciliği Basit Komutlar" author: "Gökhan Lüleci" date: "28/03/2021" output: html_document: df_print: paged --- ```{r setup, include=FALSE} knitr::opts_chunk$set(echo = T) options(knitr.duplicate.label = "allow") state.x77 <- data.frame(state.x77) ``` # Giriş Bu çalışma Veri Madenciliği bas...
/Ready-to-Knit.r
no_license
R-user-insurance/Basics-Of-Data-Manip-Markdown
R
false
false
18,199
r
--- title: "Veri Madenciliği Basit Komutlar" author: "Gökhan Lüleci" date: "28/03/2021" output: html_document: df_print: paged --- ```{r setup, include=FALSE} knitr::opts_chunk$set(echo = T) options(knitr.duplicate.label = "allow") state.x77 <- data.frame(state.x77) ``` # Giriş Bu çalışma Veri Madenciliği bas...
\name{StripDown} \alias{StripDown} \alias{StripDown.RADdata} \title{ Remove Unneeded Slots to Conserve Memory } \description{ This function is designed to be used after a \code{\link{RADdata}} object has been processed by one of the \link[=IterateHWE]{pipeline} functions. Slots that are no longer needed are removed i...
/man/StripDown.Rd
no_license
lvclark/polyRAD
R
false
false
2,001
rd
\name{StripDown} \alias{StripDown} \alias{StripDown.RADdata} \title{ Remove Unneeded Slots to Conserve Memory } \description{ This function is designed to be used after a \code{\link{RADdata}} object has been processed by one of the \link[=IterateHWE]{pipeline} functions. Slots that are no longer needed are removed i...
#Helper function for conjugate transpose H <- function( X ) { if(is.complex(X)) { return( Conj(t(X)) ) } else { return( t(X) ) } } #Helper function for conjugate crossprod crossprod_help <- function( A , B ) { if(is.complex(A)) { return( crossprod( Conj(A) , B) ) } else { return...
/rsvd/R/wrapper_function.R
no_license
ingted/R-Examples
R
false
false
556
r
#Helper function for conjugate transpose H <- function( X ) { if(is.complex(X)) { return( Conj(t(X)) ) } else { return( t(X) ) } } #Helper function for conjugate crossprod crossprod_help <- function( A , B ) { if(is.complex(A)) { return( crossprod( Conj(A) , B) ) } else { return...
/2012.d/4-chantier.d/Feu-rouge-feu-vert.R
permissive
homeostasie/petits-pedestres
R
false
false
835
r
## Bring the import from datapath JSON output to R Build <- function(...) { args <- list(...) if (length(args) == 1) { result = import(args[[1]]) } else { result = lapply(args, import) if (is.null(names(result))) names(result) <- as.character(1:length(result)) else for (i in 1:length(r...
/R/imports.R
no_license
tera-insights/gtJson
R
false
false
1,288
r
## Bring the import from datapath JSON output to R Build <- function(...) { args <- list(...) if (length(args) == 1) { result = import(args[[1]]) } else { result = lapply(args, import) if (is.null(names(result))) names(result) <- as.character(1:length(result)) else for (i in 1:length(r...
# calculate frequencies using vcftools setwd("/home/morten/data/bam_fixrg_dedup/freebayes/popgen") library(limma) south=read.table("south.frq",row.names=NULL) west=read.table("west.frq",row.names=NULL) ard=read.table("ARD.frq",row.names=NULL) venn=matrix(ncol=3,nrow=nrows(south)) venn[,1]=ifelse(as.numeric(west[,6]...
/13.vennDiagram.R
no_license
sunnycqcn/Population-genomics
R
false
false
554
r
# calculate frequencies using vcftools setwd("/home/morten/data/bam_fixrg_dedup/freebayes/popgen") library(limma) south=read.table("south.frq",row.names=NULL) west=read.table("west.frq",row.names=NULL) ard=read.table("ARD.frq",row.names=NULL) venn=matrix(ncol=3,nrow=nrows(south)) venn[,1]=ifelse(as.numeric(west[,6]...
library(tidyverse) library(brms) library(bayesplot) library(bayestestR) library(loo) options(mc.cores = parallel::detectCores()) parallel:::setDefaultClusterOptions(setup_strategy = "sequential") bm_summary <- function(bm) { describe_posterior(bm,effects = 'fixed',component = 'all',ci = 0.95,test = c("p_direction")...
/modeling/models.R
no_license
adkinsty/mot_dsp
R
false
false
9,072
r
library(tidyverse) library(brms) library(bayesplot) library(bayestestR) library(loo) options(mc.cores = parallel::detectCores()) parallel:::setDefaultClusterOptions(setup_strategy = "sequential") bm_summary <- function(bm) { describe_posterior(bm,effects = 'fixed',component = 'all',ci = 0.95,test = c("p_direction")...
# You only need to change two variables, `auth` and `your_username`. if("httr" %in% rownames(installed.packages()) == FALSE) {install.packages("httr")} library(httr) auth = "replace_me" your_username = "replace_me" track_library = data.frame("MasterRow" = integer(), "user" = character(), "Added At" = character(),...
/get_spotify_library_script.R
no_license
hurrifan1/Spotify-Data-Project
R
false
false
2,600
r
# You only need to change two variables, `auth` and `your_username`. if("httr" %in% rownames(installed.packages()) == FALSE) {install.packages("httr")} library(httr) auth = "replace_me" your_username = "replace_me" track_library = data.frame("MasterRow" = integer(), "user" = character(), "Added At" = character(),...
################################## # Author: Gina Nichols (vnichols@iastate.edu) # Created: 5/22/2020 # # Purpose: make stoch dom fig # # Last modified: # 8/31/2020 (didn't get submitted?, update w/new field delineation) # # Notes: #################################### rm(list = ls()) library(tidyverse) ...
/02_make-figs/code_fig4-stoch-dom.R
no_license
vanichols/PFIweeds2020_analysis
R
false
false
3,064
r
################################## # Author: Gina Nichols (vnichols@iastate.edu) # Created: 5/22/2020 # # Purpose: make stoch dom fig # # Last modified: # 8/31/2020 (didn't get submitted?, update w/new field delineation) # # Notes: #################################### rm(list = ls()) library(tidyverse) ...
## Exploratory Data Analysis Assignment 1 library(dplyr) library(data.table) #Load the dates from 2007-02-01 to 2007-02-02 header <- read.table("C:/Users/jeffthatcher/Cloud Drive/RRepos/ExploreData_Data/household_power_consumption.txt", nrows = 1, header = FALSE, sep =';', stringsAsFactors = FALSE) EPC <- read.table...
/Assignment1.R
no_license
excelmaxx/ExploreData
R
false
false
1,332
r
## Exploratory Data Analysis Assignment 1 library(dplyr) library(data.table) #Load the dates from 2007-02-01 to 2007-02-02 header <- read.table("C:/Users/jeffthatcher/Cloud Drive/RRepos/ExploreData_Data/household_power_consumption.txt", nrows = 1, header = FALSE, sep =';', stringsAsFactors = FALSE) EPC <- read.table...
# process HBD/IBD result files from BEAGLE source('utils/util.R', echo = FALSE) #load("../Data/ID_table.RData") IBD_reformat_dir <- "/mnt/cloudbiodata_nfs_2/users/hhuang/IBD/IBD_seq_output/" IBD_segment_count_output_dir <- "/mnt/cloudbiodata_nfs_2/users/hhuang/IBD/IBD_seq_output/segment_stats_plots/" chr <- 10 IBD_...
/scripts/cloud_IBD_segment_stats_chr10.R
permissive
hhuang2018/WGS_analysis
R
false
false
5,362
r
# process HBD/IBD result files from BEAGLE source('utils/util.R', echo = FALSE) #load("../Data/ID_table.RData") IBD_reformat_dir <- "/mnt/cloudbiodata_nfs_2/users/hhuang/IBD/IBD_seq_output/" IBD_segment_count_output_dir <- "/mnt/cloudbiodata_nfs_2/users/hhuang/IBD/IBD_seq_output/segment_stats_plots/" chr <- 10 IBD_...
#------------------------------------------------- # This function "Clean up" the user input string # before it is used to predict the next term #------------------------------------------------- CleanInputString <- function(inStr) { # Test sentence #inStr <- "This is. the; - . use's 12" # First r...
/CleanInputString.R
no_license
pipinho13/DS_Capstone
R
false
false
1,196
r
#------------------------------------------------- # This function "Clean up" the user input string # before it is used to predict the next term #------------------------------------------------- CleanInputString <- function(inStr) { # Test sentence #inStr <- "This is. the; - . use's 12" # First r...
#' @title Install shap Python library #' #' @param method Installation method. By default, "auto". #' It is passed to the \code{\link[reticulate]{py_install}} function from package `reticulate`. #' @param conda Path to conda executable. #' It is passed to the \code{\link[reticulate]{py_install}} function from package `...
/R/install_shap.R
no_license
ModelOriented/shapper
R
false
false
1,366
r
#' @title Install shap Python library #' #' @param method Installation method. By default, "auto". #' It is passed to the \code{\link[reticulate]{py_install}} function from package `reticulate`. #' @param conda Path to conda executable. #' It is passed to the \code{\link[reticulate]{py_install}} function from package `...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/functions.R \name{vlxl} \alias{vlxl} \title{vlxl} \usage{ vlxl(p, q, pars, indices = NULL, at = NULL, p_threshold = 0, nt = 5000, nv = 1000, scale = c("p", "z"), closed = T, up = T) } \arguments{ \item{p}{principal p-values} \item{q}{condi...
/man/vlxl.Rd
permissive
biostatpzeng/cfdr
R
false
true
3,238
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/functions.R \name{vlxl} \alias{vlxl} \title{vlxl} \usage{ vlxl(p, q, pars, indices = NULL, at = NULL, p_threshold = 0, nt = 5000, nv = 1000, scale = c("p", "z"), closed = T, up = T) } \arguments{ \item{p}{principal p-values} \item{q}{condi...
# Tests the table linking functions for point-based plots. # library(iSEE); library(testthat); source("setup_sce.R"); source("test_table_links.R") # Do NOT move to setup; re-defined here to keep tests self-contained. redDimArgs <- redDimPlotDefaults(sce, 1) colDataArgs <- colDataPlotDefaults(sce, 2) featAssayArgs <- f...
/tests/testthat/test_table_links.R
permissive
sorjuela/iSEE
R
false
false
23,458
r
# Tests the table linking functions for point-based plots. # library(iSEE); library(testthat); source("setup_sce.R"); source("test_table_links.R") # Do NOT move to setup; re-defined here to keep tests self-contained. redDimArgs <- redDimPlotDefaults(sce, 1) colDataArgs <- colDataPlotDefaults(sce, 2) featAssayArgs <- f...
# global reference to scipy (will be initialized in .onLoad) #' @export gd <- NULL .onLoad <- function(libname, pkgname) { # use superassignment to update global reference to gudhi gd <<- reticulate::import("gudhi", delay_load = TRUE) }
/R/aaa.R
no_license
astamm/gudhi
R
false
false
242
r
# global reference to scipy (will be initialized in .onLoad) #' @export gd <- NULL .onLoad <- function(libname, pkgname) { # use superassignment to update global reference to gudhi gd <<- reticulate::import("gudhi", delay_load = TRUE) }
splitReplicate <- function(){ ui <- shinyUI(dashboardPage( dashboardHeader(), dashboardSidebar(), dashboardBody( tags$style(HTML(" .form-control.shiny-bound-input.shinyjs-resettable{ margin-bottom:30px }" )), useShinyjs(), ...
/R/splitReplicates.R
no_license
charlottesirot/elementR
R
false
false
11,038
r
splitReplicate <- function(){ ui <- shinyUI(dashboardPage( dashboardHeader(), dashboardSidebar(), dashboardBody( tags$style(HTML(" .form-control.shiny-bound-input.shinyjs-resettable{ margin-bottom:30px }" )), useShinyjs(), ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/runExample.R \name{runExample} \alias{runExample} \title{Run shinyMolBio Example Applications} \usage{ runExample(example) } \arguments{ \item{example}{The name of the example to run, or NA (the default) to list the available examples.} } \de...
/man/runExample.Rd
no_license
PCRuniversum/shinyMolBio
R
false
true
735
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/runExample.R \name{runExample} \alias{runExample} \title{Run shinyMolBio Example Applications} \usage{ runExample(example) } \arguments{ \item{example}{The name of the example to run, or NA (the default) to list the available examples.} } \de...
gss <- gss %>% mutate(newocc = recode(occ10, "0:999 = 'Management'; 1000:1999 = 'Technology, Engineering and Science'; 2000:2999 = 'Education, Legal and Media'; 3000:3540 = 'Health and Technology'; 3600:4650 = 'Servi...
/submission/figure2.R
no_license
ryanburge/techwork
R
false
false
3,849
r
gss <- gss %>% mutate(newocc = recode(occ10, "0:999 = 'Management'; 1000:1999 = 'Technology, Engineering and Science'; 2000:2999 = 'Education, Legal and Media'; 3000:3540 = 'Health and Technology'; 3600:4650 = 'Servi...
library(OTE) ### Name: Predict.OTProb ### Title: Prediction function for the object returned by 'OTProb' ### Aliases: Predict.OTProb ### Keywords: Predict.OTProb OptTreesEns ### ** Examples #load the data data(Body) data <- Body #Divide the data into training and test parts set.seed(9123) n <- nrow(da...
/data/genthat_extracted_code/OTE/examples/Predict.OTProb.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
764
r
library(OTE) ### Name: Predict.OTProb ### Title: Prediction function for the object returned by 'OTProb' ### Aliases: Predict.OTProb ### Keywords: Predict.OTProb OptTreesEns ### ** Examples #load the data data(Body) data <- Body #Divide the data into training and test parts set.seed(9123) n <- nrow(da...
###Below code analyzes the metabolic trajectories from respirometry experiments performed at the University of ###Notre Dame ##MBC ##5/2/2019 library(ggplot2) ## Mount raglandlab drives before running scripts below ### 1) Make mosaic plot of 2008 data setwd('/Volumes/denverlinux/ExtraDrive4/GJR_MacMirror/Rpom...
/Dia_trajectories_mosaic.R
no_license
maccalvert/Pupal_respirometry
R
false
false
6,506
r
###Below code analyzes the metabolic trajectories from respirometry experiments performed at the University of ###Notre Dame ##MBC ##5/2/2019 library(ggplot2) ## Mount raglandlab drives before running scripts below ### 1) Make mosaic plot of 2008 data setwd('/Volumes/denverlinux/ExtraDrive4/GJR_MacMirror/Rpom...
" Utilities for aggregating and collapsing P-MEDM estimates, i.e., by unique cases or across multiple PUMAs. " library(WeightedCluster) build_unique_ids <- function(pums){ " Generates unique IDs for PUMS cases. pums: PUMS variables of interest, in binary format. " key = wcAggregateCases(pums)$disag...
/code/collapse.R
no_license
jGaboardi/pmedmize
R
false
false
2,388
r
" Utilities for aggregating and collapsing P-MEDM estimates, i.e., by unique cases or across multiple PUMAs. " library(WeightedCluster) build_unique_ids <- function(pums){ " Generates unique IDs for PUMS cases. pums: PUMS variables of interest, in binary format. " key = wcAggregateCases(pums)$disag...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/checkFuncs.R \name{checkRanges} \alias{checkRanges} \title{Checking if the value of a numeric or integer variable (of length 1) is located within a certain range.} \usage{ checkRanges(listObjects, listRanges) } \arguments{ \item{list...
/man/checkRanges.Rd
no_license
cran/devFunc
R
false
true
2,338
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/checkFuncs.R \name{checkRanges} \alias{checkRanges} \title{Checking if the value of a numeric or integer variable (of length 1) is located within a certain range.} \usage{ checkRanges(listObjects, listRanges) } \arguments{ \item{list...
.range_ops = list( '<' = "lt", '<=' = "lte", '>' = 'gt', '>=' = 'gte' ) .regexp_ops = c('contains', 'startsWith', 'endsWith') .range <- c('<', '<=', '>', '>=') .match_ops = list( '==' = '=' ) .is_bool_connector <- function(x) { if (length(x) == 0) return(FALSE) names <- names(x)...
/R/filter-utilities.R
no_license
krishnanj/HCABrowser
R
false
false
6,581
r
.range_ops = list( '<' = "lt", '<=' = "lte", '>' = 'gt', '>=' = 'gte' ) .regexp_ops = c('contains', 'startsWith', 'endsWith') .range <- c('<', '<=', '>', '>=') .match_ops = list( '==' = '=' ) .is_bool_connector <- function(x) { if (length(x) == 0) return(FALSE) names <- names(x)...
library(Seurat) library(dplyr) library(patchwork) pbmc.data <- Read10X(data.dir = ".") pbmc <- CreateSeuratObject(counts = pbmc.data, project = "pbmc3k", min.cells = 3, min.features = 200) pbmc[["percent.mt"]] <- PercentageFeatureSet(pbmc, pattern = "^MT-") pdf("pbmc.step01.01.VlnPlot.pdf", height=3.5, width=8)...
/examples/pbmc3k/step01/02.pbmc3k_step01.R
no_license
linrm2010/FOACC
R
false
false
4,936
r
library(Seurat) library(dplyr) library(patchwork) pbmc.data <- Read10X(data.dir = ".") pbmc <- CreateSeuratObject(counts = pbmc.data, project = "pbmc3k", min.cells = 3, min.features = 200) pbmc[["percent.mt"]] <- PercentageFeatureSet(pbmc, pattern = "^MT-") pdf("pbmc.step01.01.VlnPlot.pdf", height=3.5, width=8)...
#Arief Rahman Fajri #Haris Riski Rakhman #18523092 #18523113 ############################################## Soal No. 1 ###################################### library(lpSolve) f.obj <- c(3,9) f.con <- matrix(c(1,3, 1,1, 1,-1),nrow=3,byrow=TRUE) f.dir<- c("<=", ">=", ...
/linear_programming.R
no_license
AriefRahmanFajri/Linear-Programming
R
false
false
2,835
r
#Arief Rahman Fajri #Haris Riski Rakhman #18523092 #18523113 ############################################## Soal No. 1 ###################################### library(lpSolve) f.obj <- c(3,9) f.con <- matrix(c(1,3, 1,1, 1,-1),nrow=3,byrow=TRUE) f.dir<- c("<=", ">=", ...
# OpenAPI Petstore # # This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters. # # OpenAPI spec version: 1.0.0 # # Generated by: https://openapi-generator.tech #' ApiResponse Class #' #' @field code #' @field type #' @field message #' #' @...
/samples/client/petstore/R/R/ApiResponse.r
permissive
bannzai/openapi-generator
R
false
false
2,283
r
# OpenAPI Petstore # # This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters. # # OpenAPI spec version: 1.0.0 # # Generated by: https://openapi-generator.tech #' ApiResponse Class #' #' @field code #' @field type #' @field message #' #' @...
testlist <- list(G = numeric(0), Rn = numeric(0), atmp = c(3.97314911878724e-307, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), relh = c(1.46950620900256e+302, 4.11932782999429e-175, -3.8...
/meteor/inst/testfiles/ET0_PriestleyTaylor/AFL_ET0_PriestleyTaylor/ET0_PriestleyTaylor_valgrind_files/1615843595-test.R
no_license
akhikolla/updatedatatype-list3
R
false
false
2,232
r
testlist <- list(G = numeric(0), Rn = numeric(0), atmp = c(3.97314911878724e-307, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), relh = c(1.46950620900256e+302, 4.11932782999429e-175, -3.8...
#' Extract summary statistics for vector. #' #' The set of functions used to summarize the vector depends on the vectors #' type. See [`skim_with()`] and [`skim_format()`] for how `skim_v()` can be #' customized. #' #' @param x A vector. #' @param vector_type A character vector that specifies which group of funs #' t...
/R/skim_v.R
no_license
jeremyrcoyle/skimr
R
false
false
3,020
r
#' Extract summary statistics for vector. #' #' The set of functions used to summarize the vector depends on the vectors #' type. See [`skim_with()`] and [`skim_format()`] for how `skim_v()` can be #' customized. #' #' @param x A vector. #' @param vector_type A character vector that specifies which group of funs #' t...
### Double check our calculations with R library(UsingR);library(ggplot2) data(galton) y <- galton$child x <- galton$parent beta1 <- cor(y, x) * sd(y) / sd(x) beta0 <- mean(y) - beta1 * mean(x) rbind(c(beta0, beta1), coef(lm(y ~ x))) ###Reversing the outcome/predictor relationship beta1 <- cor(y, x) * sd(x) / sd(y) ...
/Rmd/01_03Leaset squares.R
no_license
TrentLin/Regression-Model
R
false
false
756
r
### Double check our calculations with R library(UsingR);library(ggplot2) data(galton) y <- galton$child x <- galton$parent beta1 <- cor(y, x) * sd(y) / sd(x) beta0 <- mean(y) - beta1 * mean(x) rbind(c(beta0, beta1), coef(lm(y ~ x))) ###Reversing the outcome/predictor relationship beta1 <- cor(y, x) * sd(x) / sd(y) ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/doc_RegAttrPages.R \name{feComponentTransferExponentAttribute} \alias{feComponentTransferExponentAttribute} \title{exponent} \description{ Sets the exponent of the gamma function that is to be used when the component transfer type=gamma } \se...
/man/feComponentTransferExponentAttribute.Rd
permissive
mslegrand/svgR
R
false
true
878
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/doc_RegAttrPages.R \name{feComponentTransferExponentAttribute} \alias{feComponentTransferExponentAttribute} \title{exponent} \description{ Sets the exponent of the gamma function that is to be used when the component transfer type=gamma } \se...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/vision_objects.R \name{ImageSource} \alias{ImageSource} \title{ImageSource Object} \usage{ ImageSource(gcsImageUri = NULL, imageUri = NULL) } \arguments{ \item{gcsImageUri}{NOTE: For new code `image_uri` below is preferred} \item{imageUri}{I...
/googlevisionv1.auto/man/ImageSource.Rd
permissive
GVersteeg/autoGoogleAPI
R
false
true
553
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/vision_objects.R \name{ImageSource} \alias{ImageSource} \title{ImageSource Object} \usage{ ImageSource(gcsImageUri = NULL, imageUri = NULL) } \arguments{ \item{gcsImageUri}{NOTE: For new code `image_uri` below is preferred} \item{imageUri}{I...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/expect-equal-to-reference.R \name{expect_equal_to_reference} \alias{expect_equal_to_reference} \title{Expectation: is the object equal to a reference value stored in a file?} \usage{ expect_equal_to_reference(object, file, ..., info = NULL, l...
/man/expect_equal_to_reference.Rd
no_license
vishalbelsare/autotest
R
false
true
2,389
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/expect-equal-to-reference.R \name{expect_equal_to_reference} \alias{expect_equal_to_reference} \title{Expectation: is the object equal to a reference value stored in a file?} \usage{ expect_equal_to_reference(object, file, ..., info = NULL, l...
#new code for whatever getwd() #add some more cool shit #code blah blah #Solving extinction code... a<-read.csv("C:/Users/jenscurrie/Documents/rgit/myrepo/data/bbmroData.csv") plot(a$Depth,a$Count) plot(a$SST,a$Count)
/SMM.R
no_license
jenscurrie/src
R
false
false
220
r
#new code for whatever getwd() #add some more cool shit #code blah blah #Solving extinction code... a<-read.csv("C:/Users/jenscurrie/Documents/rgit/myrepo/data/bbmroData.csv") plot(a$Depth,a$Count) plot(a$SST,a$Count)
library(pracma) # compute_true_Vs <- function(X, mu, ss) { # Xmu <- as.numeric(t(X) %*% mu) # XtX <- t(X) %*% X # ans <- apply(ss, 2, function(S) { # S <- S[S != 0] # as.numeric(t(Xmu[S]) %*% solve(XtX[S, S], Xmu[S])) # }) # names(ans) <- apply(ss, 2, function(S) { # S <- S[S != 0] # paste(S,...
/varsel/best_subset_null_tower_prelim.R
no_license
snarles/misc
R
false
false
3,275
r
library(pracma) # compute_true_Vs <- function(X, mu, ss) { # Xmu <- as.numeric(t(X) %*% mu) # XtX <- t(X) %*% X # ans <- apply(ss, 2, function(S) { # S <- S[S != 0] # as.numeric(t(Xmu[S]) %*% solve(XtX[S, S], Xmu[S])) # }) # names(ans) <- apply(ss, 2, function(S) { # S <- S[S != 0] # paste(S,...
# setup ------------------------------------------------------------------- library(data.table) library(tidyverse) library(TDAmapper) library(ggraph) library(igraph) library(tidygraph) library(cowplot) # validation parameters nrep <- 10 # number of replicates rs <- c(0.9, 0.5, 0.1) # downsampling ratios ...
/code/make-mapper-graphs.R
no_license
wkc1986/microbial-landscapes
R
false
false
15,346
r
# setup ------------------------------------------------------------------- library(data.table) library(tidyverse) library(TDAmapper) library(ggraph) library(igraph) library(tidygraph) library(cowplot) # validation parameters nrep <- 10 # number of replicates rs <- c(0.9, 0.5, 0.1) # downsampling ratios ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/dist_accr.R \name{daccr} \alias{daccr} \alias{paccr} \alias{qaccr} \alias{raccr} \title{Accrual} \usage{ daccr(x, arm) paccr(q, arm, lower.tail = T) qaccr(p, arm) raccr(n = 1, arm) } \arguments{ \item{x, q}{vector of quantiles.} \item{arm...
/man/daccr.Rd
no_license
godwinyyung/npsurvSS
R
false
true
931
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/dist_accr.R \name{daccr} \alias{daccr} \alias{paccr} \alias{qaccr} \alias{raccr} \title{Accrual} \usage{ daccr(x, arm) paccr(q, arm, lower.tail = T) qaccr(p, arm) raccr(n = 1, arm) } \arguments{ \item{x, q}{vector of quantiles.} \item{arm...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/interactions.analysis.R \docType{methods} \name{interaction_maps} \alias{interaction_maps} \alias{interaction_maps,ImageSet-method} \alias{interaction_maps,ANY,ANY-method} \title{Plot interaction maps for all samples} \usage{ interaction_maps...
/man/interaction_maps.Rd
permissive
gusef/IrisSpatialFeatures
R
false
true
1,873
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/interactions.analysis.R \docType{methods} \name{interaction_maps} \alias{interaction_maps} \alias{interaction_maps,ImageSet-method} \alias{interaction_maps,ANY,ANY-method} \title{Plot interaction maps for all samples} \usage{ interaction_maps...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/spfkm.R \name{spfkm,formula,SpatialPointsDataFrame,SpatialPixelsDataFrame-method} \alias{spfkm,formula,SpatialPointsDataFrame,SpatialPixelsDataFrame-method} \alias{spfkm} \title{Fit a supervised fuzzy kmeans model and predict memberships} \us...
/landmap/man/spfkm.Rd
no_license
albrizre/spatstat.revdep
R
false
true
1,962
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/spfkm.R \name{spfkm,formula,SpatialPointsDataFrame,SpatialPixelsDataFrame-method} \alias{spfkm,formula,SpatialPointsDataFrame,SpatialPixelsDataFrame-method} \alias{spfkm} \title{Fit a supervised fuzzy kmeans model and predict memberships} \us...
## ----global_options, include=FALSE-------------------------------------------- knitr::opts_chunk$set(fig.width=6, fig.height=6) ## ----load_libraries, warning=FALSE, message=FALSE----------------------------- require(fsMTS) require(plot.matrix) require(svMisc) require(MTS) ## ----load_data--------------------------...
/inst/doc/traffic.R
no_license
cran/fsMTS
R
false
false
3,885
r
## ----global_options, include=FALSE-------------------------------------------- knitr::opts_chunk$set(fig.width=6, fig.height=6) ## ----load_libraries, warning=FALSE, message=FALSE----------------------------- require(fsMTS) require(plot.matrix) require(svMisc) require(MTS) ## ----load_data--------------------------...