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/SW.R \name{sw} \alias{coef.sw} \alias{plot.sw} \alias{predict.sw} \alias{print.sw} \alias{sw} \alias{sw.default} \title{Swartzendruber infiltration parameter optimisation in R} \usage{ sw(data, time, I, As = 0.1, S = 0.1, Ks = 0.1, group = NU...
/man/sw.Rd
no_license
Mactavish11/vadose
R
false
true
2,425
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/SW.R \name{sw} \alias{coef.sw} \alias{plot.sw} \alias{predict.sw} \alias{print.sw} \alias{sw} \alias{sw.default} \title{Swartzendruber infiltration parameter optimisation in R} \usage{ sw(data, time, I, As = 0.1, S = 0.1, Ks = 0.1, group = NU...
try(source('D:/erey/CloudStation/Script/R/Template.r'),silent=T) try(source('/Volumes/Data/PhD/Script/R/Template.r'),silent=T) try(setwd('/Volumes/Data/PhD/R/DATA.PhD'),silent=T) try(setwd('D:/erey/CloudStation/R/DATA.PhD'),silent=T) ###################################################################################...
/SoiMoi.r
no_license
biogis/r
R
false
false
37,149
r
try(source('D:/erey/CloudStation/Script/R/Template.r'),silent=T) try(source('/Volumes/Data/PhD/Script/R/Template.r'),silent=T) try(setwd('/Volumes/Data/PhD/R/DATA.PhD'),silent=T) try(setwd('D:/erey/CloudStation/R/DATA.PhD'),silent=T) ###################################################################################...
trips = alpha + beta(income) If income is continuos: beta (in english) = no of trips "increased" per unit increase in income If income is discrete: one hot encoding: (intuition) semm! b1 = b2 = b3 ---> combine them into one variable! and b4,b5 Logistic regression: -- What are the assumption in Logistic Regression? ...
/Class/week3.R
no_license
monishkumarv/Computer-Appls-Traffic-CE4720
R
false
false
2,773
r
trips = alpha + beta(income) If income is continuos: beta (in english) = no of trips "increased" per unit increase in income If income is discrete: one hot encoding: (intuition) semm! b1 = b2 = b3 ---> combine them into one variable! and b4,b5 Logistic regression: -- What are the assumption in Logistic Regression? ...
# calculate Cramer's V between generation clusters library(lsr) library(DescTools) library(rcompanion) library(dplyr) ## Function est_chisq = function(a, b){ cs = chisq.test(x = a, y = b)$statistics B = 4000 dum = vector (mode = "numeric", length = B) for(i in 1:B){ tb = table(a, b) rtot = rowSums(...
/analysis/cramersV.R
no_license
SamPassmore/Passmore_Kinspace
R
false
false
2,844
r
# calculate Cramer's V between generation clusters library(lsr) library(DescTools) library(rcompanion) library(dplyr) ## Function est_chisq = function(a, b){ cs = chisq.test(x = a, y = b)$statistics B = 4000 dum = vector (mode = "numeric", length = B) for(i in 1:B){ tb = table(a, b) rtot = rowSums(...
plotord3dGUI <- function() { require(rgl) || stop("rgl library not available") fil=if (interactive()) file.choose() z=load(file=fil) tt<-tktoplevel() tkwm.title(tt, "Plot ordination in 3 dimensions") tkgrid(tklabel(tt,text=" ...
/R/plotord3dGUI.R
no_license
cran/StatFingerprints
R
false
false
5,124
r
plotord3dGUI <- function() { require(rgl) || stop("rgl library not available") fil=if (interactive()) file.choose() z=load(file=fil) tt<-tktoplevel() tkwm.title(tt, "Plot ordination in 3 dimensions") tkgrid(tklabel(tt,text=" ...
# International Security - Final Paper # Are Democracies More Prone to Conduct Covert Operations # Than Their Autocratic Counterparts? library(readxl) library(tidyverse) library(jtools) library(stargazer) library(gridExtra) library(plm) covert <- read_excel("C:/Users/atmas/Downloads/covert.xlsx") # 2...
/international security final paper.R
no_license
atmasuko/Probit-logit-model-template
R
false
false
1,139
r
# International Security - Final Paper # Are Democracies More Prone to Conduct Covert Operations # Than Their Autocratic Counterparts? library(readxl) library(tidyverse) library(jtools) library(stargazer) library(gridExtra) library(plm) covert <- read_excel("C:/Users/atmas/Downloads/covert.xlsx") # 2...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/MS2-class.R \name{combineMSMSSpectra} \alias{combineMSMSSpectra} \title{COmbines multiples MS-MS spectra as a signle consensus spectrum.} \usage{ combineMSMSSpectra(lspec, ppmMS = 3, ppmMSMS = 5, SNR = 2, smoothSize = 10, type = "FIA", ...)...
/man/combineMSMSSpectra.Rd
no_license
adelabriere/MS2process
R
false
true
861
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/MS2-class.R \name{combineMSMSSpectra} \alias{combineMSMSSpectra} \title{COmbines multiples MS-MS spectra as a signle consensus spectrum.} \usage{ combineMSMSSpectra(lspec, ppmMS = 3, ppmMSMS = 5, SNR = 2, smoothSize = 10, type = "FIA", ...)...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/util.r \name{host} \alias{host} \title{Construct the ZeroMQ host address} \usage{ host( node = getOption("clustermq.host", Sys.info()["nodename"]), ports = 6000:9999, n = 100 ) } \arguments{ \item{node}{Node or device name} \item{ports...
/man/host.Rd
permissive
mschubert/clustermq
R
false
true
514
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/util.r \name{host} \alias{host} \title{Construct the ZeroMQ host address} \usage{ host( node = getOption("clustermq.host", Sys.info()["nodename"]), ports = 6000:9999, n = 100 ) } \arguments{ \item{node}{Node or device name} \item{ports...
fileUrl <- 'https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip' download.file(fileUrl, destfile = '/Users/nadya-mas/ExData_Plotting1/EPC.zip', method = 'curl') list.files('/Users/nadya-mas/ExData_Plotting1') setwd('/Users/nadya-mas/ExData_Plotting1') EPC <- read.table(unzip('EPC.zip')...
/ExData_Plotting1/plot4.R
no_license
mnadezda/ExData_Plotting1
R
false
false
1,761
r
fileUrl <- 'https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip' download.file(fileUrl, destfile = '/Users/nadya-mas/ExData_Plotting1/EPC.zip', method = 'curl') list.files('/Users/nadya-mas/ExData_Plotting1') setwd('/Users/nadya-mas/ExData_Plotting1') EPC <- read.table(unzip('EPC.zip')...
library(baseballDBR) ### Name: Kpct ### Title: Batting: Calculate strikeout percentage ### Aliases: Kpct ### Keywords: Kpct percentage strikeout ### ** Examples data("Batting2016") head(Batting2016) Batting2016$Kpct <- Kpct(Batting2016)
/data/genthat_extracted_code/baseballDBR/examples/Kpct.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
247
r
library(baseballDBR) ### Name: Kpct ### Title: Batting: Calculate strikeout percentage ### Aliases: Kpct ### Keywords: Kpct percentage strikeout ### ** Examples data("Batting2016") head(Batting2016) Batting2016$Kpct <- Kpct(Batting2016)
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/deploymentmanager_functions.R \name{manifests.list} \alias{manifests.list} \title{Lists all manifests for a given deployment.} \usage{ manifests.list(project, deployment, filter = NULL, maxResults = NULL, pageToken = NULL) } \arguments{ \it...
/googledeploymentmanagerv2.auto/man/manifests.list.Rd
permissive
Phippsy/autoGoogleAPI
R
false
true
1,515
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/deploymentmanager_functions.R \name{manifests.list} \alias{manifests.list} \title{Lists all manifests for a given deployment.} \usage{ manifests.list(project, deployment, filter = NULL, maxResults = NULL, pageToken = NULL) } \arguments{ \it...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/functions_fetch_signal.R \name{fixGRangesWidth} \alias{fixGRangesWidth} \title{Derive a new GRanges of consistent width based on quantile.} \usage{ fixGRangesWidth(qgr, min_quantile = 0.75, win_size = 1, anchor = c("center", "start")[1]) } ...
/man/fixGRangesWidth.Rd
no_license
jgordon3/seqsetvis
R
false
true
927
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/functions_fetch_signal.R \name{fixGRangesWidth} \alias{fixGRangesWidth} \title{Derive a new GRanges of consistent width based on quantile.} \usage{ fixGRangesWidth(qgr, min_quantile = 0.75, win_size = 1, anchor = c("center", "start")[1]) } ...
library(lubridate) library(ggplot2) library(plotly) library(sf) library(leaflet) library(leaflet.extras) library(tigris) library(leaflet.mapboxgl) ## Mapbox API token token <- Sys.getenv("MAPBOX_TOKEN") options(mapbox.accessToken = token) #source(here::here("src", "Profiling", "joining_albemarle_charlottesville.R"))...
/src/Mapping/incident_point_locations.R
no_license
DSPG-Young-Scholars-Program/dspg20CharlottesvilleEMSEquity
R
false
false
9,520
r
library(lubridate) library(ggplot2) library(plotly) library(sf) library(leaflet) library(leaflet.extras) library(tigris) library(leaflet.mapboxgl) ## Mapbox API token token <- Sys.getenv("MAPBOX_TOKEN") options(mapbox.accessToken = token) #source(here::here("src", "Profiling", "joining_albemarle_charlottesville.R"))...
dataset <- read.csv("data/mall_customers.csv") X <- dataset[4:5] set.seed(6) dendrogram = hclust(dist(X, method = 'euclidean'), method = 'ward.D') plot( dendrogram, main = paste('Dendrogram'), xlab = 'Customers', ylab = 'Euclidean distances' ) hc = hclust(dist(X, method = 'euclidean'), method = 'ward.D') y_hc...
/RStudio/Clustering/hc.R
no_license
Norman518/Data-Science
R
false
false
565
r
dataset <- read.csv("data/mall_customers.csv") X <- dataset[4:5] set.seed(6) dendrogram = hclust(dist(X, method = 'euclidean'), method = 'ward.D') plot( dendrogram, main = paste('Dendrogram'), xlab = 'Customers', ylab = 'Euclidean distances' ) hc = hclust(dist(X, method = 'euclidean'), method = 'ward.D') y_hc...
## CALCULATE MEAN AND VARIANCE FOR FITNESS # for one population, within that pop, may later extend to do multiple pops # NEED DIPLOID DATA # so use full output at end calc.fitness <- function(diploid.poly.muts.dat, full.genomes.dat, fixed.mut.dat, pop.size, generation){ fitness.results <- data.frame(matrix(NA, n...
/MeanFitness.R
no_license
kjgilbert/SlimSimCode
R
false
false
3,898
r
## CALCULATE MEAN AND VARIANCE FOR FITNESS # for one population, within that pop, may later extend to do multiple pops # NEED DIPLOID DATA # so use full output at end calc.fitness <- function(diploid.poly.muts.dat, full.genomes.dat, fixed.mut.dat, pop.size, generation){ fitness.results <- data.frame(matrix(NA, n...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/sprawdz_skroty_skal.R \name{sprawdz_skroty_skal} \alias{sprawdz_skroty_skal} \title{Sprawdza poprawnosc i tworzy w bazie brakujace skroty skal} \usage{ sprawdz_skroty_skal(skroty, P) } \arguments{ \item{skroty}{wektor wartosci id_skrotu} \it...
/man/sprawdz_skroty_skal.Rd
permissive
zozlak/ZPDzapis
R
false
true
485
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/sprawdz_skroty_skal.R \name{sprawdz_skroty_skal} \alias{sprawdz_skroty_skal} \title{Sprawdza poprawnosc i tworzy w bazie brakujace skroty skal} \usage{ sprawdz_skroty_skal(skroty, P) } \arguments{ \item{skroty}{wektor wartosci id_skrotu} \it...
rm(list = ls()) # df <- readxl::read_excel("data/pe-curves/GE2016-Box2A_Takuvik_14C_dpm.xlsx", skip = 3) %>% # dplyr::select(dpm1 = DPM1) #' Convert salinity to dissolved inorganic carbon (DIC) #' #' @param salinity Salinity measurement #' #' @return DIC value. #' @export #' #' @examples sal_to_dic <- function(sa...
/R/pe_curve.R
no_license
PMassicotte/green-edge
R
false
false
9,056
r
rm(list = ls()) # df <- readxl::read_excel("data/pe-curves/GE2016-Box2A_Takuvik_14C_dpm.xlsx", skip = 3) %>% # dplyr::select(dpm1 = DPM1) #' Convert salinity to dissolved inorganic carbon (DIC) #' #' @param salinity Salinity measurement #' #' @return DIC value. #' @export #' #' @examples sal_to_dic <- function(sa...
sibp<-function(X, Y, K, alpha, sigmasq.n, a = 0.1, b = 0.1, sigmasq.A = 5, train.ind, silent = FALSE){ out<-list() Ytrain <- Y[train.ind] Xtrain <- X[train.ind,] out$train.ind <- train.ind out$test.ind <- setdiff(1:nrow(X), train.ind) # Standardize Y and X out$meanY <- me...
/R/sibp.R
no_license
petershan1119/texteffect
R
false
false
2,337
r
sibp<-function(X, Y, K, alpha, sigmasq.n, a = 0.1, b = 0.1, sigmasq.A = 5, train.ind, silent = FALSE){ out<-list() Ytrain <- Y[train.ind] Xtrain <- X[train.ind,] out$train.ind <- train.ind out$test.ind <- setdiff(1:nrow(X), train.ind) # Standardize Y and X out$meanY <- me...
data <- read.csv2(file = "household_power_consumption.txt", sep = ";" , stringsAsFactors = FALSE ) data$Date <- as.Date(data$Date, format = "%d/%m/%Y") data_to_be_used <- data[data$Date >= "2007-02-01" & data$Date <= "2007-02-02", ] data_to_be_used <- mutate(data_to_be_used, date_time = paste(data_to_be_used$Date, dat...
/plot2.R
no_license
anuj-mangal/ExData_Plotting1
R
false
false
711
r
data <- read.csv2(file = "household_power_consumption.txt", sep = ";" , stringsAsFactors = FALSE ) data$Date <- as.Date(data$Date, format = "%d/%m/%Y") data_to_be_used <- data[data$Date >= "2007-02-01" & data$Date <= "2007-02-02", ] data_to_be_used <- mutate(data_to_be_used, date_time = paste(data_to_be_used$Date, dat...
library(bbmle) source("ebola_param_seminr.R") source("../R/generation.R") source("../R/empirical.R") source("minuslogl.R") load("seminr_full_sim.rda") tmax_vec <- c(50, 100, 150, 200) rlist <- vector('list', length(tmax_vec)) set.seed(101) for (j in 1:length(tmax_vec)) { subrlist <- vector('list', 100) ...
/contact_trace/seminr_full_mle.R
no_license
parksw3/networkSEIR
R
false
false
2,467
r
library(bbmle) source("ebola_param_seminr.R") source("../R/generation.R") source("../R/empirical.R") source("minuslogl.R") load("seminr_full_sim.rda") tmax_vec <- c(50, 100, 150, 200) rlist <- vector('list', length(tmax_vec)) set.seed(101) for (j in 1:length(tmax_vec)) { subrlist <- vector('list', 100) ...
library(magrittr) library(dplyr) library(psych) library(caret) library(pROC) library(ROCR) input <- "C:/Users/Morris/Desktop/March Madness/2019/Input" temp <- "C:/Users/Morris/Desktop/March Madness/2019/Temp" past_games <- read.csv(paste(input, "tournament games.csv", sep="/")) past_games %<>% mutate(b...
/Scripts/2. logistic regression code.R
no_license
morrisgreenberg/March-Madness-Predictions-2019
R
false
false
4,170
r
library(magrittr) library(dplyr) library(psych) library(caret) library(pROC) library(ROCR) input <- "C:/Users/Morris/Desktop/March Madness/2019/Input" temp <- "C:/Users/Morris/Desktop/March Madness/2019/Temp" past_games <- read.csv(paste(input, "tournament games.csv", sep="/")) past_games %<>% mutate(b...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/ChiSquare.R \name{n_dist,ChiSquare-method} \alias{n_dist,ChiSquare-method} \title{Distribution of the Sample Size} \usage{ \S4method{n_dist}{ChiSquare}( design, n1, nuisance, summary = TRUE, plot = FALSE, allocation = c("exact", "...
/man/n_dist.ChiSquare.Rd
permissive
imbi-heidelberg/blindrecalc
R
false
true
1,859
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/ChiSquare.R \name{n_dist,ChiSquare-method} \alias{n_dist,ChiSquare-method} \title{Distribution of the Sample Size} \usage{ \S4method{n_dist}{ChiSquare}( design, n1, nuisance, summary = TRUE, plot = FALSE, allocation = c("exact", "...
library(shiny) library(shinydashboard) library(reshape2) library(dplyr) library(ggplot2) source("./process.R") ui <- dashboardPage( skin = "blue", dashboardHeader(title = "Football App"), dashboardSidebar(sidebarMenu( id = "tabs", menuItem( "Dashboard", tabName = "dashboard", icon = ic...
/PraceDomowe/PD5/gr2/SawickiJan/app.R
no_license
paldynaagata/WizualizacjaDanych2018
R
false
false
1,094
r
library(shiny) library(shinydashboard) library(reshape2) library(dplyr) library(ggplot2) source("./process.R") ui <- dashboardPage( skin = "blue", dashboardHeader(title = "Football App"), dashboardSidebar(sidebarMenu( id = "tabs", menuItem( "Dashboard", tabName = "dashboard", icon = ic...
\name{arima.rob} \alias{arima.rob} \title{ Robust Fit of a REGARIMA Model and Outliers Detection } \description{ Returns an object of class \code{"arima.rob"} that represents a robust fit of a linear regression model with ARIMA errors using a filtered tau-estimate. The error model may have seasonal differences and on...
/man/arima.rob.Rd
no_license
cran/robustarima
R
false
false
5,522
rd
\name{arima.rob} \alias{arima.rob} \title{ Robust Fit of a REGARIMA Model and Outliers Detection } \description{ Returns an object of class \code{"arima.rob"} that represents a robust fit of a linear regression model with ARIMA errors using a filtered tau-estimate. The error model may have seasonal differences and on...
# Calculate and plot the sensitivity of the spread to temperature # for daily regressions by month. Include other variables: # - into Cinergy prices # - NYISO flows # # Written by Adrian Dragulescu on 24-Feb-2005 daily.spread.regression.other <- function(MM, options, save){ source("C:/R/Work/MyLibrary/Graphics/l...
/R Extension/RMG/Models/Price/Spread.Analysis/daily.spread.regression.other.R
no_license
uhasan1/QLExtension-backup
R
false
false
6,210
r
# Calculate and plot the sensitivity of the spread to temperature # for daily regressions by month. Include other variables: # - into Cinergy prices # - NYISO flows # # Written by Adrian Dragulescu on 24-Feb-2005 daily.spread.regression.other <- function(MM, options, save){ source("C:/R/Work/MyLibrary/Graphics/l...
library(mvtnorm) library(iGREX) # set.seed(1) rm(list=ls()) gc() set.seed(100) n1 <- 5000 n2 <- 4000 p1 <- 100 #number of SNPs in each gene p2 <- 200 #number of genes r <- 0 #number of overlapped snps in each gene p <- (p1-r)*(p2-1)+p1 n_block <- 50 block_cut <- c(0,(1:n_block)*(p%/%n_block),p) #block cutof...
/geno_dense_diff_SNR_N.R
no_license
YangLabHKUST/sim-iGREX
R
false
false
5,397
r
library(mvtnorm) library(iGREX) # set.seed(1) rm(list=ls()) gc() set.seed(100) n1 <- 5000 n2 <- 4000 p1 <- 100 #number of SNPs in each gene p2 <- 200 #number of genes r <- 0 #number of overlapped snps in each gene p <- (p1-r)*(p2-1)+p1 n_block <- 50 block_cut <- c(0,(1:n_block)*(p%/%n_block),p) #block cutof...
library(dplyr) # IMPORTANT NOTE: the zip file containing the data should reside # inside the working directory # read only a portion of the data to minimize memory consumption data <- read.table(unz("exdata-data-household_power_consumption.zip", "household_power_consumption.txt"), ...
/plot2.R
no_license
claireOnGithub/ExData_Plotting1
R
false
false
1,646
r
library(dplyr) # IMPORTANT NOTE: the zip file containing the data should reside # inside the working directory # read only a portion of the data to minimize memory consumption data <- read.table(unz("exdata-data-household_power_consumption.zip", "household_power_consumption.txt"), ...
test_that("recipes_extension_check", { expect_snapshot( recipes_extension_check( pkg = "recipes", exclude_steps = "step_testthat_helper", exclude_methods = c("required_pkgs") ) ) })
/tests/testthat/test-extension_check.R
permissive
tidymodels/recipes
R
false
false
212
r
test_that("recipes_extension_check", { expect_snapshot( recipes_extension_check( pkg = "recipes", exclude_steps = "step_testthat_helper", exclude_methods = c("required_pkgs") ) ) })
test_that("works with unquoted input", { expect_identical( path(a, b, c), structure(c("a", "b", "c"), class = "path") ) }) test_that("works with quoted input", { expect_identical( path("a", "b", "c"), structure(c("a", "b", "c"), class = "path") ) }) test_that("works with quasiquotation", {...
/tests/testthat/test-path.R
permissive
colearendt/tidyjson
R
false
false
1,208
r
test_that("works with unquoted input", { expect_identical( path(a, b, c), structure(c("a", "b", "c"), class = "path") ) }) test_that("works with quoted input", { expect_identical( path("a", "b", "c"), structure(c("a", "b", "c"), class = "path") ) }) test_that("works with quasiquotation", {...
% Generated by roxygen2 (4.1.1): do not edit by hand % Please edit documentation in R/motifMatrix.r \name{motifsFromPCA} \alias{motifsFromPCA} \title{motifsFromPCA} \usage{ motifsFromPCA(Sequences, data, pc, location, directory = "~/Masters/mulcal/inst/data/", title = paste(directory, paste(apply(cbind(pc, location...
/man/motifsFromPCA.Rd
permissive
alexjgriffith/mulcal
R
false
false
819
rd
% Generated by roxygen2 (4.1.1): do not edit by hand % Please edit documentation in R/motifMatrix.r \name{motifsFromPCA} \alias{motifsFromPCA} \title{motifsFromPCA} \usage{ motifsFromPCA(Sequences, data, pc, location, directory = "~/Masters/mulcal/inst/data/", title = paste(directory, paste(apply(cbind(pc, location...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/RcppExports.R \name{cpp_getTAGS} \alias{cpp_getTAGS} \title{IFD Tags Extraction} \source{ TIFF 6.0 specifications available at \url{https://www.adobe.io/open/standards/TIFF.html} } \arguments{ \item{fname}{string, path to file.} \item{offset...
/IFC/man/cpp_getTAGS.Rd
no_license
akhikolla/InformationHouse
R
false
true
1,079
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/RcppExports.R \name{cpp_getTAGS} \alias{cpp_getTAGS} \title{IFD Tags Extraction} \source{ TIFF 6.0 specifications available at \url{https://www.adobe.io/open/standards/TIFF.html} } \arguments{ \item{fname}{string, path to file.} \item{offset...
\name{ DLBC } \alias{ DLBC } \docType{data} \title{ Lymphoid Neoplasm Diffuse Large B-cell Lymphoma } \description{ A document describing the TCGA cancer code } \details{ \preformatted{ > experiments( DLBC ) ExperimentList class object of length 10: [1] DLBC_CNASNP-20160128: RaggedExperiment with 44725 rows and 94 c...
/man/DLBC.Rd
no_license
waldronlab/curatedTCGAData
R
false
false
5,000
rd
\name{ DLBC } \alias{ DLBC } \docType{data} \title{ Lymphoid Neoplasm Diffuse Large B-cell Lymphoma } \description{ A document describing the TCGA cancer code } \details{ \preformatted{ > experiments( DLBC ) ExperimentList class object of length 10: [1] DLBC_CNASNP-20160128: RaggedExperiment with 44725 rows and 94 c...
library(mvtnorm) library(ggplot2) sample_corr <- function(n, samp_size, rho) { if(length(rho) > 1) { stop("only one value of rho can be specified at a time") } sigma <- matrix(rho, nrow = 2, ncol = 2) diag(sigma) <- 1 samp <- numeric(n) norm_samp <- rmvnorm(samp_size * n, sigma = sigma) for(i in 1:n)...
/misc scripts/pearson experiments.R
no_license
ammeir2/CoReAnalysis
R
false
false
3,704
r
library(mvtnorm) library(ggplot2) sample_corr <- function(n, samp_size, rho) { if(length(rho) > 1) { stop("only one value of rho can be specified at a time") } sigma <- matrix(rho, nrow = 2, ncol = 2) diag(sigma) <- 1 samp <- numeric(n) norm_samp <- rmvnorm(samp_size * n, sigma = sigma) for(i in 1:n)...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/cisTopic.R \name{show} \alias{show} \title{Show method for cisTopic} \usage{ \S4method{show}{cisTopic}(object) } \arguments{ \item{object}{A cisTopic object} } \description{ Show method for cisTopic }
/man/show.Rd
no_license
aertslab/cisTopic
R
false
true
279
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/cisTopic.R \name{show} \alias{show} \title{Show method for cisTopic} \usage{ \S4method{show}{cisTopic}(object) } \arguments{ \item{object}{A cisTopic object} } \description{ Show method for cisTopic }
#' Check that sample specification data frame matches expected format, and that all files exist #' #' @param bam.specification Data frame containing columns sample.id and tumour.bam, and optionally a column normal.bam. #' #' @return None #' #' verify.bam.specification <- function(bam.specification) { ## check...
/R/verify.bam.specification.R
no_license
cran/varitas
R
false
false
1,249
r
#' Check that sample specification data frame matches expected format, and that all files exist #' #' @param bam.specification Data frame containing columns sample.id and tumour.bam, and optionally a column normal.bam. #' #' @return None #' #' verify.bam.specification <- function(bam.specification) { ## check...
## Plotting of the interaction network generated by the Python script ## get_graph.py # The interaction network is normalized by the number of teacher of each school. library("igraph") library("ggplot2") radian.rescale <- function(x, start=0, direction=1) { c.rotate <- function(x) (x + start) %% (2 * pi) * directio...
/plot_graph.r
no_license
jfuentess/making_sense_chile
R
false
false
4,477
r
## Plotting of the interaction network generated by the Python script ## get_graph.py # The interaction network is normalized by the number of teacher of each school. library("igraph") library("ggplot2") radian.rescale <- function(x, start=0, direction=1) { c.rotate <- function(x) (x + start) %% (2 * pi) * directio...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/Map_operators.R \name{+,mapview,EarthEngineMap-method} \alias{+,mapview,EarthEngineMap-method} \title{ANY + EarthEngineMap; adds data from the second map to the first} \usage{ \S4method{+}{mapview,EarthEngineMap}(e1, e2) } \arguments{ \item{e...
/man/plus-mapview-EarthEngineMap-method.Rd
permissive
MVanDenburg92/rgee
R
false
true
586
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/Map_operators.R \name{+,mapview,EarthEngineMap-method} \alias{+,mapview,EarthEngineMap-method} \title{ANY + EarthEngineMap; adds data from the second map to the first} \usage{ \S4method{+}{mapview,EarthEngineMap}(e1, e2) } \arguments{ \item{e...
#' @title Visualization of PCA by taxonomic superfamily #' @description This function graphs a PCA on a user-defined taxonomic superfamily #' @param data dataframe including numerical data as well as information on taxonomic superfaimly and family #' @param superfamily.name superfamily name as it appears in the datafra...
/R/graph.superfamily.R
no_license
lccmyers/taxonpca
R
false
false
857
r
#' @title Visualization of PCA by taxonomic superfamily #' @description This function graphs a PCA on a user-defined taxonomic superfamily #' @param data dataframe including numerical data as well as information on taxonomic superfaimly and family #' @param superfamily.name superfamily name as it appears in the datafra...
context("test_pathway.R") # # create deseq2 object # #FPM ("../test_data/chr22_ERCC92_CDS_count_FPM.csv", "../test_data/test_euk.txt", "outdir") # # check if pdf file exist test # expect_true(file.exists(file.path("outdir", "chr22_ERCC92_CDS_count_FPM_heatmap.pdf"))) # # check if png file exist test # expect_true(fi...
/tests/test_pathway.R
no_license
mshakya/rpiret
R
false
false
432
r
context("test_pathway.R") # # create deseq2 object # #FPM ("../test_data/chr22_ERCC92_CDS_count_FPM.csv", "../test_data/test_euk.txt", "outdir") # # check if pdf file exist test # expect_true(file.exists(file.path("outdir", "chr22_ERCC92_CDS_count_FPM_heatmap.pdf"))) # # check if png file exist test # expect_true(fi...
library(shiny) library(shinydashboard) library(shinyWidgets) library(ggplot2) # library(plotly) # Hello papi... # add kemelo instead ui <- fluidPage( # use a gradient in background # setBackgroundColor( # color = c("#F7FBFF", "#2171B5"), # gradient = "linear", # direction = "bottom" # ), # App titl...
/Finite_REMOTE_6492.R
no_license
moeketsims/Finite-Difference-Method-with-shiny
R
false
false
3,008
r
library(shiny) library(shinydashboard) library(shinyWidgets) library(ggplot2) # library(plotly) # Hello papi... # add kemelo instead ui <- fluidPage( # use a gradient in background # setBackgroundColor( # color = c("#F7FBFF", "#2171B5"), # gradient = "linear", # direction = "bottom" # ), # App titl...
#' Combina docs baixados com tjsp_baixar_docs #' #' @param arquivos Vetor de arquivos #' @param dir_origem Diretório de origem, se não #' informar arquivos #' @param dir_destino Diretório destino #' #' @return único pdf #' @export #' tjsp_combinar_docs <- function(arquivos = NULL, dir_origem = ".", dir_destino = N...
/R/tjsp_combinar_docs.R
permissive
rebe2709/tjsp
R
false
false
1,125
r
#' Combina docs baixados com tjsp_baixar_docs #' #' @param arquivos Vetor de arquivos #' @param dir_origem Diretório de origem, se não #' informar arquivos #' @param dir_destino Diretório destino #' #' @return único pdf #' @export #' tjsp_combinar_docs <- function(arquivos = NULL, dir_origem = ".", dir_destino = N...
# Author: Krutika Gaonkar # # Read in concensus snv calls to gather alterations in TP53 and NF1 # to evaluate classifier # @params snvConcensus multi-caller concensus snv calls # @params clincalFile clinical file: pbta-histologies.tsv # @params outputFolder output folder for alteration file # @params gencode cds bed fi...
/analyses/tp53_nf1_score/00-tp53-nf1-alterations.R
permissive
arpoe/OpenPBTA-analysis
R
false
false
4,390
r
# Author: Krutika Gaonkar # # Read in concensus snv calls to gather alterations in TP53 and NF1 # to evaluate classifier # @params snvConcensus multi-caller concensus snv calls # @params clincalFile clinical file: pbta-histologies.tsv # @params outputFolder output folder for alteration file # @params gencode cds bed fi...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/Methods.R \name{print} \alias{print} \alias{print.master_matrix} \alias{print,master_matrix-method} \alias{print,master_selection-method} \alias{print,base_PAM-method} \alias{print,PAM_subset-method} \alias{print.master_selection} \...
/man/print.Rd
no_license
cran/biosurvey
R
false
true
1,007
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/Methods.R \name{print} \alias{print} \alias{print.master_matrix} \alias{print,master_matrix-method} \alias{print,master_selection-method} \alias{print,base_PAM-method} \alias{print,PAM_subset-method} \alias{print.master_selection} \...
## Assume that the data already available in your working directory ## data.table & reshape2 package is loaded in your directory ## create an vector of directory names to merge the data library(data.table) library(reshape2) dirnames=c("train","test") len=length(dirnames) ## Loop the data thru each directory ...
/run_analysis.R
no_license
sundaris/getdata-project
R
false
false
3,160
r
## Assume that the data already available in your working directory ## data.table & reshape2 package is loaded in your directory ## create an vector of directory names to merge the data library(data.table) library(reshape2) dirnames=c("train","test") len=length(dirnames) ## Loop the data thru each directory ...
starttime.all = Sys.time() library(tosca) library(ldaPrototype) library(lda) library(lubridate) obj = readRDS("cleannytsample15.rds") K = 80 alpha = eta = 1/K num.iterations = 200 vocab.limit = 5 # consider sampling -> relative threshold vocab.rel = 1e-5 # 1 per 100 000 vocab.max = 100 # words that appear more often...
/rollinglda/scripts/not_used/fit_rolling_year_changing_old_assignments.R
no_license
B-Zwarg/emnlp2021
R
false
false
4,540
r
starttime.all = Sys.time() library(tosca) library(ldaPrototype) library(lda) library(lubridate) obj = readRDS("cleannytsample15.rds") K = 80 alpha = eta = 1/K num.iterations = 200 vocab.limit = 5 # consider sampling -> relative threshold vocab.rel = 1e-5 # 1 per 100 000 vocab.max = 100 # words that appear more often...
# number formatters #' @title #' round_dp #' #' @description #' create a string formatted to n decimal places #' #' @param num a number #' @param dp a whole number >= 0 #' @return character string version of the float to specified decimal places #' @export round_dp <- function(num,dp){ if (!is.numeric(num) | !is.num...
/R/numberFormatters.R
permissive
murraycadzow/phdFunctions
R
false
false
3,076
r
# number formatters #' @title #' round_dp #' #' @description #' create a string formatted to n decimal places #' #' @param num a number #' @param dp a whole number >= 0 #' @return character string version of the float to specified decimal places #' @export round_dp <- function(num,dp){ if (!is.numeric(num) | !is.num...
################################################################################ # Somatic phasing # Concordance with longranger # Mutations on phase sets # Mutation pairs per phase set ################################################################################ data_dir = file.path("data_for_plots/03_somatic") di...
/paper/analysis/03_somatic.R
permissive
ding-lab/SomaticHaplotype
R
false
false
35,999
r
################################################################################ # Somatic phasing # Concordance with longranger # Mutations on phase sets # Mutation pairs per phase set ################################################################################ data_dir = file.path("data_for_plots/03_somatic") di...
makeCacheMatrix <- function(x = matrix()) { inv <- NULL set <- function(y) { x <<- y inv <<- NULL } get <- function() x setInverse <- function(inverse) inv <<- inverse getInverse <- function() inv list(set = set, get = get, setInverse = setInverse, getInverse = g...
/cashematrix.R
no_license
homahm/ProgrammingAssignment2
R
false
false
604
r
makeCacheMatrix <- function(x = matrix()) { inv <- NULL set <- function(y) { x <<- y inv <<- NULL } get <- function() x setInverse <- function(inverse) inv <<- inverse getInverse <- function() inv list(set = set, get = get, setInverse = setInverse, getInverse = g...
makeCacheMatrix <- function(x = matrix()) { inv <- NULL set <- function(y) { x <<- y inv <<- NULL } get <- function() x setInverse <- function(solve) inv <<- solve getInverse <- function() inv list(set = set, get = get, setInverse = setInverse, getInverse = getInverse) } c...
/cachematrix.R
no_license
kgottholm/ProgrammingAssignment2
R
false
false
521
r
makeCacheMatrix <- function(x = matrix()) { inv <- NULL set <- function(y) { x <<- y inv <<- NULL } get <- function() x setInverse <- function(solve) inv <<- solve getInverse <- function() inv list(set = set, get = get, setInverse = setInverse, getInverse = getInverse) } c...
# ---------------------------------- # MODULE 03 - R code # ---------------------------------- # Working with R objects, datasets # loading R packages # load R packages library(fivethirtyeight) library(tidyverse) library(knitr) library(kableExtra) library(ggthemes) # load steak_survey dataset data("steak_survey", pac...
/module_03.R
no_license
melindahiggins2000/SNRS2018_ReproducibleResearch
R
false
false
1,499
r
# ---------------------------------- # MODULE 03 - R code # ---------------------------------- # Working with R objects, datasets # loading R packages # load R packages library(fivethirtyeight) library(tidyverse) library(knitr) library(kableExtra) library(ggthemes) # load steak_survey dataset data("steak_survey", pac...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/design_lib.R \name{shuffle_combo_lib} \alias{shuffle_combo_lib} \title{Shuffle the guide order of combinatorial library to avoid systematic biases in guide order} \usage{ shuffle_combo_lib(combo_lib, seed = NULL) } \value{ combinatorial desig...
/man/shuffle_combo_lib.Rd
no_license
PeterDeWeirdt/combibuild
R
false
true
478
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/design_lib.R \name{shuffle_combo_lib} \alias{shuffle_combo_lib} \title{Shuffle the guide order of combinatorial library to avoid systematic biases in guide order} \usage{ shuffle_combo_lib(combo_lib, seed = NULL) } \value{ combinatorial desig...
getnewcandidate <- function(grid, taboo, taboolistlength, uniquepreprocessors, copyofcurrentbest){ set.seed(as.numeric(Sys.time())) repeat{ candidate_phase <- sample(1:ncol(grid@grid),1) candidate_preprocessor <- sample(1:length(uniquepreprocessors[[candidate_phase]]), 1) candidate_preprocessor <- unli...
/metaheur/R/04ModificationComponent.R
no_license
ingted/R-Examples
R
false
false
740
r
getnewcandidate <- function(grid, taboo, taboolistlength, uniquepreprocessors, copyofcurrentbest){ set.seed(as.numeric(Sys.time())) repeat{ candidate_phase <- sample(1:ncol(grid@grid),1) candidate_preprocessor <- sample(1:length(uniquepreprocessors[[candidate_phase]]), 1) candidate_preprocessor <- unli...
# 3 Objects their modes and attributes # 3.1 Intrinsic attributes: mode and length z<-0:9 digits<-as.character(z) print(digits) d<-as.integer(digits) print(d) # 3.2 Changing the length of an object e<-numeric() e[2]<-8 print(e) print(2*1:5) alpha<-numeric() alpha<-alpha[2*1:5] # makes it an...
/An Introduction to R/re_3 Objects.R
no_license
xiemeigongzi88/Basic_R
R
false
false
1,050
r
# 3 Objects their modes and attributes # 3.1 Intrinsic attributes: mode and length z<-0:9 digits<-as.character(z) print(digits) d<-as.integer(digits) print(d) # 3.2 Changing the length of an object e<-numeric() e[2]<-8 print(e) print(2*1:5) alpha<-numeric() alpha<-alpha[2*1:5] # makes it an...
#Coursera Data Mining Capstone - UIUC #Task 6 #Jed Isom #October 5, 2015 library("pacman") pacman::p_load(jsonlite, tm, slam, topicmodels, LiblineaR) rm(list=ls()) setwd("./Capstone/Raw Data") #Hygiene.dat file loading filename <- "./Hygiene/hygiene.dat" reviews <- readLines(filename) #Hygiene.dat.labels file loadi...
/Task 6.2.R
permissive
jedisom/Yelp-projects
R
false
false
8,931
r
#Coursera Data Mining Capstone - UIUC #Task 6 #Jed Isom #October 5, 2015 library("pacman") pacman::p_load(jsonlite, tm, slam, topicmodels, LiblineaR) rm(list=ls()) setwd("./Capstone/Raw Data") #Hygiene.dat file loading filename <- "./Hygiene/hygiene.dat" reviews <- readLines(filename) #Hygiene.dat.labels file loadi...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/functions.R \name{overlapFit} \alias{overlapFit} \title{Plot mean count versus overlap values between theoretical and empirical Kolmogorov-Smirnov (KS) test statistics and the sigmoid fit} \usage{ overlapFit(drb) } \arguments{ \item{drb}{DEBR...
/man/overlapFit.Rd
no_license
YevhenAkimov/DEBRA
R
false
true
553
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/functions.R \name{overlapFit} \alias{overlapFit} \title{Plot mean count versus overlap values between theoretical and empirical Kolmogorov-Smirnov (KS) test statistics and the sigmoid fit} \usage{ overlapFit(drb) } \arguments{ \item{drb}{DEBR...
cols <- c( # "#c9e2f6", "#423Ef9", "#3e7Df9", # "#95cbee", "#1dACfd", "#1dFDf3", # "#3e70f9", # "#49FD1d", "#8fF93e", "#f3FD1d", "#fdD31d", '#fd8D1d', "#FF2F00" ) showColors <- function(cols = c('#423ef9', '#8ff93e', '#ff2f00')) { #cols <- c(colorRampPalette(cols[3:4])(10), colorRampPalette...
/R/colors.R
no_license
iyaolin/RYLin
R
false
false
463
r
cols <- c( # "#c9e2f6", "#423Ef9", "#3e7Df9", # "#95cbee", "#1dACfd", "#1dFDf3", # "#3e70f9", # "#49FD1d", "#8fF93e", "#f3FD1d", "#fdD31d", '#fd8D1d', "#FF2F00" ) showColors <- function(cols = c('#423ef9', '#8ff93e', '#ff2f00')) { #cols <- c(colorRampPalette(cols[3:4])(10), colorRampPalette...
\name{BookPublisher-methods} \docType{methods} \alias{BookPublisher-methods} \alias{BookPublisher,Medline-method} \title{ ~~ Methods for Function \code{BookPublisher} in Package \pkg{RISmed} ~~} \description{ ~~ Methods for function \code{BookPublisher} in package \pkg{RISmed} ~~ } \section{Methods}{ \describe{ \item...
/man/BookPublisher-methods.Rd
no_license
mayunlong89/RISmed
R
false
false
418
rd
\name{BookPublisher-methods} \docType{methods} \alias{BookPublisher-methods} \alias{BookPublisher,Medline-method} \title{ ~~ Methods for Function \code{BookPublisher} in Package \pkg{RISmed} ~~} \description{ ~~ Methods for function \code{BookPublisher} in package \pkg{RISmed} ~~ } \section{Methods}{ \describe{ \item...
# wd = "/home/sysgen/Documents/LWB/EvaluateCluster/" wd = "/home/willy/RedoxChallenges/centerSelect" labels_file = "labels.csv" setwd(wd) labels = read.csv(labels_file, header = FALSE, na.strings=c("","NA")) tab = labels[1:103,5:7] names(tab) = c("protA", "label", "protB") tab[2,] which(is.na(tab$label)) is.na(ta...
/evalutateCluster.R
no_license
WillyBruhn/centerSelect
R
false
false
771
r
# wd = "/home/sysgen/Documents/LWB/EvaluateCluster/" wd = "/home/willy/RedoxChallenges/centerSelect" labels_file = "labels.csv" setwd(wd) labels = read.csv(labels_file, header = FALSE, na.strings=c("","NA")) tab = labels[1:103,5:7] names(tab) = c("protA", "label", "protB") tab[2,] which(is.na(tab$label)) is.na(ta...
muproposal <- function(Y,X,Z,betas,gammas,bpri,Bpri){ if(is.null(X)|is.null(Z)){ stop("There is no data") } if(nrow(X)!=nrow(Z)){ stop("The mean and precision data have a different size") } #if(!is.matrix(betas)|!is.matrix(gammas)){ # stop("The parameters must be a ...
/Bayesianbetareg/R/muproposal.R
no_license
ingted/R-Examples
R
false
false
1,110
r
muproposal <- function(Y,X,Z,betas,gammas,bpri,Bpri){ if(is.null(X)|is.null(Z)){ stop("There is no data") } if(nrow(X)!=nrow(Z)){ stop("The mean and precision data have a different size") } #if(!is.matrix(betas)|!is.matrix(gammas)){ # stop("The parameters must be a ...
\name{print.teqrOCtox} \alias{print.teqrOCtox} \title{print.teqrOCtox} \description{Print file for the class teqrOCtox.} \usage{ \method{print}{teqrOCtox}(x,\dots) } \arguments{ \item{x}{object of class teqrOCtox} \item{...}{additional arguments to be passed to lower level functions} } \value{The output from...
/man/print.teqrOCtox.Rd
no_license
cran/TEQR
R
false
false
721
rd
\name{print.teqrOCtox} \alias{print.teqrOCtox} \title{print.teqrOCtox} \description{Print file for the class teqrOCtox.} \usage{ \method{print}{teqrOCtox}(x,\dots) } \arguments{ \item{x}{object of class teqrOCtox} \item{...}{additional arguments to be passed to lower level functions} } \value{The output from...
dataset = read.csv("finaldata-2015-04-19.csv") head(dataset) accuracyTestData = sample(nrow(dataset),nrow(dataset)*0.2) #> accuracyTestData #[1] 228 65 97 93 104 51 144 28 40 63 148 117 109 23 188 198 70 126 152 132 224 #[22] 177 85 172 35 56 197 99 168 95 142 130 58 102 30 175 113 37 202 48 2...
/Rscripts/dataSplit.R
no_license
shahanesanket/Multi-temporal-Classification-of-satellite-images
R
false
false
615
r
dataset = read.csv("finaldata-2015-04-19.csv") head(dataset) accuracyTestData = sample(nrow(dataset),nrow(dataset)*0.2) #> accuracyTestData #[1] 228 65 97 93 104 51 144 28 40 63 148 117 109 23 188 198 70 126 152 132 224 #[22] 177 85 172 35 56 197 99 168 95 142 130 58 102 30 175 113 37 202 48 2...
setwd("your directory") ##The decompress data must be on your working directory for the script to be able to run data <- read.csv("household_power_consumption.txt",sep= ";", skip = 66636, nrows=2880, na.strings= "?") ##Reads only the data from the dates 2007-02-01 and 2007-02-02 header <- read.csv("household_power_...
/plot2.R
no_license
MFRestelli/ExData_Plotting1
R
false
false
945
r
setwd("your directory") ##The decompress data must be on your working directory for the script to be able to run data <- read.csv("household_power_consumption.txt",sep= ";", skip = 66636, nrows=2880, na.strings= "?") ##Reads only the data from the dates 2007-02-01 and 2007-02-02 header <- read.csv("household_power_...
#' @name CoxICPen.XZ #' @title CoxICPen with two sets of covariates #' @description Perform variable selection for Cox regression model with two sets of covariates by using the method in Wu et al. (2020). Variable selection is performed on the possibly high-dimensional covariates x with linear effects. Covariates z w...
/R/Core_CoxICPen_XZ.R
no_license
cran/CoxICPen
R
false
false
24,456
r
#' @name CoxICPen.XZ #' @title CoxICPen with two sets of covariates #' @description Perform variable selection for Cox regression model with two sets of covariates by using the method in Wu et al. (2020). Variable selection is performed on the possibly high-dimensional covariates x with linear effects. Covariates z w...
% Generated by roxygen2 (4.1.1): do not edit by hand % Please edit documentation in R/pdols.R \docType{data} \name{marksul2003} \alias{marksul2003} \title{Sample panel data for pdols} \format{A data frame with 760 rows and 5 variables:} \source{ \url{http://www.utdallas.edu/~d.sul/papers/} } \usage{ marksul2...
/man/marksul2003.Rd
no_license
raadk/pdolsms
R
false
false
412
rd
% Generated by roxygen2 (4.1.1): do not edit by hand % Please edit documentation in R/pdols.R \docType{data} \name{marksul2003} \alias{marksul2003} \title{Sample panel data for pdols} \format{A data frame with 760 rows and 5 variables:} \source{ \url{http://www.utdallas.edu/~d.sul/papers/} } \usage{ marksul2...
testlist <- list(phi = c(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), x = c(1.36656528938164e-311, -1.657912...
/dcurver/inst/testfiles/ddc/AFL_ddc/ddc_valgrind_files/1609867440-test.R
no_license
akhikolla/updated-only-Issues
R
false
false
831
r
testlist <- list(phi = c(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), x = c(1.36656528938164e-311, -1.657912...
library(landscapemetrics) ### Name: lsm_p_contig ### Title: CONTIG (patch level) ### Aliases: lsm_p_contig lsm_p_contig.RasterLayer lsm_p_contig.RasterStack ### lsm_p_contig.RasterBrick lsm_p_contig.stars lsm_p_contig.list ### ** Examples lsm_p_contig(landscape)
/data/genthat_extracted_code/landscapemetrics/examples/lsm_p_contig.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
273
r
library(landscapemetrics) ### Name: lsm_p_contig ### Title: CONTIG (patch level) ### Aliases: lsm_p_contig lsm_p_contig.RasterLayer lsm_p_contig.RasterStack ### lsm_p_contig.RasterBrick lsm_p_contig.stars lsm_p_contig.list ### ** Examples lsm_p_contig(landscape)
library(secrdesign) ### Name: optimalSpacing ### Title: Optimal Detector Spacing ### Aliases: optimalSpacing ### Keywords: design ### ** Examples grid <- make.grid(7, 7) # default multi-catch detector optimalSpacing(D = 5, traps = grid, detectpar = list(lambda0 = 0.2, sigma = 20), noccasions = 5, plt = TRUE) ...
/data/genthat_extracted_code/secrdesign/examples/optimalSpacing.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
1,200
r
library(secrdesign) ### Name: optimalSpacing ### Title: Optimal Detector Spacing ### Aliases: optimalSpacing ### Keywords: design ### ** Examples grid <- make.grid(7, 7) # default multi-catch detector optimalSpacing(D = 5, traps = grid, detectpar = list(lambda0 = 0.2, sigma = 20), noccasions = 5, plt = TRUE) ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/plot_2var.R \name{.plot_2var.character.factor} \alias{.plot_2var.character.factor} \title{Bivariate Plots} \usage{ \method{.plot_2var}{character.factor}(data, x, y, ...) } \description{ Bivariate Plots }
/man/dot-plot_2var.character.factor.Rd
no_license
edo91/discoverr
R
false
true
282
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/plot_2var.R \name{.plot_2var.character.factor} \alias{.plot_2var.character.factor} \title{Bivariate Plots} \usage{ \method{.plot_2var}{character.factor}(data, x, y, ...) } \description{ Bivariate Plots }
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/backupstorage_operations.R \name{backupstorage_put_chunk} \alias{backupstorage_put_chunk} \title{Upload chunk} \usage{ backupstorage_put_chunk( BackupJobId, UploadId, ChunkIndex, Data, Length, Checksum, ChecksumAlgorithm ) } \ar...
/cran/paws.storage/man/backupstorage_put_chunk.Rd
permissive
paws-r/paws
R
false
true
888
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/backupstorage_operations.R \name{backupstorage_put_chunk} \alias{backupstorage_put_chunk} \title{Upload chunk} \usage{ backupstorage_put_chunk( BackupJobId, UploadId, ChunkIndex, Data, Length, Checksum, ChecksumAlgorithm ) } \ar...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/x_file.R \name{sprinter} \alias{sprinter} \title{Creates a sprintf statement} \usage{ sprinter(d, tvar, spvec, vnames) } \arguments{ \item{d}{input dataframe} \item{tvar}{variable defining iterations} \item{vnames}{variable names in d (excl...
/man/sprinter.Rd
no_license
grahamjeffries/rcropmod
R
false
true
439
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/x_file.R \name{sprinter} \alias{sprinter} \title{Creates a sprintf statement} \usage{ sprinter(d, tvar, spvec, vnames) } \arguments{ \item{d}{input dataframe} \item{tvar}{variable defining iterations} \item{vnames}{variable names in d (excl...
#This is a way to think about combining multiple likert questions into groupings of questions and stacking them/graphing them. # Setup ------------------------------------------------------------------- library(tidyverse) library(likert) library(ggplot2) library(forcats) # Data --------------------------------------...
/CheeseLikCode.R
no_license
bduckles/LikertScripts
R
false
false
3,468
r
#This is a way to think about combining multiple likert questions into groupings of questions and stacking them/graphing them. # Setup ------------------------------------------------------------------- library(tidyverse) library(likert) library(ggplot2) library(forcats) # Data --------------------------------------...
# 1.0 LIBRARIES ----- # Core library(tidyverse) library(tidyquant) # Interactive Visualizations library(plotly) # Modeling Libraries library(parsnip) library(timetk) # 2.0 PROCESSED DATA ---- # Load data sales_data_raw <- read_csv('sales_data_sample.csv') #country_codes <- read_csv("https://datahub.io/core/countr...
/sales_forecasting_shiny/forecast_analysis.R
no_license
mhnizam/flex_dash_sales
R
false
false
9,031
r
# 1.0 LIBRARIES ----- # Core library(tidyverse) library(tidyquant) # Interactive Visualizations library(plotly) # Modeling Libraries library(parsnip) library(timetk) # 2.0 PROCESSED DATA ---- # Load data sales_data_raw <- read_csv('sales_data_sample.csv') #country_codes <- read_csv("https://datahub.io/core/countr...
# Given a set of OCP files, produce an OCP vs SoC data frame # #' Import open circuit potential vs state of charge #' #' This function, given a set of open circuit potential measurement files from #' Gamry Framework, collects the last voltage data point from each file, and #' puts them into a data frame to make plotti...
/R/import_ocp.R
permissive
mikegerhardt/echem
R
false
false
2,503
r
# Given a set of OCP files, produce an OCP vs SoC data frame # #' Import open circuit potential vs state of charge #' #' This function, given a set of open circuit potential measurement files from #' Gamry Framework, collects the last voltage data point from each file, and #' puts them into a data frame to make plotti...
require(shiny) require(plotly) shinyUI(fluidPage( titlePanel("Iris Data Visualization"), #Sidepanel with 3 widgets sidebarLayout( sidebarPanel( #Create 3 buttons that filters the data by species radioButtons("species", "Select Which Species of Flower", c("Setosa" = "...
/UI.R
no_license
jeffpink/Assignment_8
R
false
false
1,045
r
require(shiny) require(plotly) shinyUI(fluidPage( titlePanel("Iris Data Visualization"), #Sidepanel with 3 widgets sidebarLayout( sidebarPanel( #Create 3 buttons that filters the data by species radioButtons("species", "Select Which Species of Flower", c("Setosa" = "...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/Regressions.R \name{RegressCrosssection} \alias{RegressCrosssection} \title{performs univariate crosssectional regressions for each metabolite at a given timepoint in DILT1D study \deqn{M_i = X\Beta _i + \Epsilon _i}} \usage{ RegressCrosssect...
/man/RegressCrosssection.Rd
no_license
miepstei/MetabDILT1D
R
false
true
1,002
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/Regressions.R \name{RegressCrosssection} \alias{RegressCrosssection} \title{performs univariate crosssectional regressions for each metabolite at a given timepoint in DILT1D study \deqn{M_i = X\Beta _i + \Epsilon _i}} \usage{ RegressCrosssect...
#' Core function to compute multiple forecasts by Cross-Validation #' #' This the core function of the package. It computes multiple forecasts by the technique of Cross-Validation. The decision about the best models are based on tests as linearity, trend and fit accuracy. #' #' @param tsdata data.frame type date-value,...
/R/cvForecast.R
permissive
hjl2014/cvforecast
R
false
false
12,284
r
#' Core function to compute multiple forecasts by Cross-Validation #' #' This the core function of the package. It computes multiple forecasts by the technique of Cross-Validation. The decision about the best models are based on tests as linearity, trend and fit accuracy. #' #' @param tsdata data.frame type date-value,...
# Sheridan Grant # STAT 302 SPR 2020 # 4/1/2020 # HW 1 Completion (Optional) c(1,4,7,10) c(1,4,7,10) %% 2 (c(1,4,7,10) %% 2) == 0 which((c(1,4,7,10) %% 2) == 0) c(1,4,7,10)[which((c(1,4,7,10) %% 2) == 0)] sum(c(1,4,7,10)[which((c(1,4,7,10) %% 2) == 0)]) # Functions sum(1:100) sd(1:100) ?pnorm pnorm(0) pnorm(0, 1) ...
/teaching/STAT302_SPR2020/week1/lecture2_grant.R
no_license
SheridanLGrant/sheridanlgrant.github.io
R
false
false
709
r
# Sheridan Grant # STAT 302 SPR 2020 # 4/1/2020 # HW 1 Completion (Optional) c(1,4,7,10) c(1,4,7,10) %% 2 (c(1,4,7,10) %% 2) == 0 which((c(1,4,7,10) %% 2) == 0) c(1,4,7,10)[which((c(1,4,7,10) %% 2) == 0)] sum(c(1,4,7,10)[which((c(1,4,7,10) %% 2) == 0)]) # Functions sum(1:100) sd(1:100) ?pnorm pnorm(0) pnorm(0, 1) ...
#!/usr/bin/env Rscript # Copyright (c) 2018 Intel Corporation # # SPDX-License-Identifier: Apache-2.0 # Display details for the 'Device Under Test', for all data sets being processed. suppressMessages(suppressWarnings(library(tidyr))) # for gather(). library(tibble) suppressMessages(suppressWarnings(library(plyr))) #...
/metrics/report/report_dockerfile/dut-details.R
permissive
mpeleshenko/cloud-native-setup
R
false
false
3,774
r
#!/usr/bin/env Rscript # Copyright (c) 2018 Intel Corporation # # SPDX-License-Identifier: Apache-2.0 # Display details for the 'Device Under Test', for all data sets being processed. suppressMessages(suppressWarnings(library(tidyr))) # for gather(). library(tibble) suppressMessages(suppressWarnings(library(plyr))) #...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/confusion_matrix.R \name{confusion_matrix} \alias{confusion_matrix} \title{Calculate various statistics from a confusion matrix} \usage{ confusion_matrix( prediction, target, positive = NULL, prevalence = NULL, dnn = c("Predicted", ...
/man/confusion_matrix.Rd
permissive
signaturescience/skater
R
false
true
2,948
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/confusion_matrix.R \name{confusion_matrix} \alias{confusion_matrix} \title{Calculate various statistics from a confusion matrix} \usage{ confusion_matrix( prediction, target, positive = NULL, prevalence = NULL, dnn = c("Predicted", ...
context("Test the extended.gcd function") test_that("extended.gcd() operates appropriately", { ##Begin by inspecting the preliminary error catch expect_error(extended.gcd( c(3, 6, 9), 5), "'a' and 'b' lengths differ") ##Ensure that object assignment is inherited from correct object class expect...
/tests/testthat/test-extended.gcd.R
no_license
cran/SDraw
R
false
false
1,017
r
context("Test the extended.gcd function") test_that("extended.gcd() operates appropriately", { ##Begin by inspecting the preliminary error catch expect_error(extended.gcd( c(3, 6, 9), 5), "'a' and 'b' lengths differ") ##Ensure that object assignment is inherited from correct object class expect...
library(tidyverse) library(reshape2) library(viridis) library(ggpubr) # POS Genomes stats pos_stats <- read.csv("results/stats/POS-MAGs-final-stats.csv") # Mapping stats pos_mapping <- read.delim("results/mapping/POS-rel-abund-calculations.txt", sep = "\t", header = FALSE) colnames(pos_mapping) <- c("bin", "2015-07-...
/scripts/POS-relative-abundance-viz.R
no_license
elizabethmcd/obscurePOS
R
false
false
6,070
r
library(tidyverse) library(reshape2) library(viridis) library(ggpubr) # POS Genomes stats pos_stats <- read.csv("results/stats/POS-MAGs-final-stats.csv") # Mapping stats pos_mapping <- read.delim("results/mapping/POS-rel-abund-calculations.txt", sep = "\t", header = FALSE) colnames(pos_mapping) <- c("bin", "2015-07-...
# Extract lung function data from pdf files library(pdftools) library(stringr) library(lubridate) library(DBI) library(log4r) lung_func <- list(FEV1 = list('FEV1', 'FEV1.*'), FVC = list('FVC', 'FVC.*'), TLco = list('TLco', 'TLco.*'), VAsb = list('VAsb', 'VAsb.*')...
/full_pft.r
no_license
iainxingham/Rpft
R
false
false
9,656
r
# Extract lung function data from pdf files library(pdftools) library(stringr) library(lubridate) library(DBI) library(log4r) lung_func <- list(FEV1 = list('FEV1', 'FEV1.*'), FVC = list('FVC', 'FVC.*'), TLco = list('TLco', 'TLco.*'), VAsb = list('VAsb', 'VAsb.*')...
install.packages("eeptools") library(gains) library(dplyr) library(gains) library(irr) library(caret) library(readxl) library(lubridate) library(eeptools) install.packages('e1071', dependencies=TRUE) file1<-read_excel("C:\\Madhan\\Consulting\\My_AI_works\\My_AI_works\\Data.xlsx",sheet = 1) names(file1) file1%>%mutat...
/talent/Final Code_1.R
no_license
madhanseduraman/My_AI_works
R
false
false
9,139
r
install.packages("eeptools") library(gains) library(dplyr) library(gains) library(irr) library(caret) library(readxl) library(lubridate) library(eeptools) install.packages('e1071', dependencies=TRUE) file1<-read_excel("C:\\Madhan\\Consulting\\My_AI_works\\My_AI_works\\Data.xlsx",sheet = 1) names(file1) file1%>%mutat...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/simulation_validation_functions.R \name{calculate_invec_per_method} \alias{calculate_invec_per_method} \title{Prediction Band Inclusion on Simulated TCs} \usage{ calculate_invec_per_method( hur_out_obj, sim_hur_list, position = 1:2, u...
/TCpredictionbands/man/calculate_invec_per_method.Rd
permissive
Mr8ND/TC-prediction-bands
R
false
true
1,433
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/simulation_validation_functions.R \name{calculate_invec_per_method} \alias{calculate_invec_per_method} \title{Prediction Band Inclusion on Simulated TCs} \usage{ calculate_invec_per_method( hur_out_obj, sim_hur_list, position = 1:2, u...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/getCollection.R \name{getCollection} \alias{getCollection} \title{Retrieve a Collection: Genome, Proteome, CDS, RNA, GFF, Repeat Masker, AssemblyStats} \usage{ getCollection( db = "refseq", organism, reference = TRUE, skip_bacteria = ...
/man/getCollection.Rd
no_license
ropensci/biomartr
R
false
true
3,995
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/getCollection.R \name{getCollection} \alias{getCollection} \title{Retrieve a Collection: Genome, Proteome, CDS, RNA, GFF, Repeat Masker, AssemblyStats} \usage{ getCollection( db = "refseq", organism, reference = TRUE, skip_bacteria = ...
getwd() dir() data <-read.table("household_power_consumption.txt", header=TRUE, sep=";", stringsAsFactors=FALSE, dec=".") newdata <-data[data$Date %in% c("1/2/2007","2/2/2007") ,] sM1 <- as.numeric(newdata$Sub_metering_1) sM2 <- as.numeric(newdata$Sub_metering_2) sM3 <- as.numeric(newdata$Sub_metering...
/Plot3.r
no_license
MichellRojoM/ExData_Plotting1
R
false
false
632
r
getwd() dir() data <-read.table("household_power_consumption.txt", header=TRUE, sep=";", stringsAsFactors=FALSE, dec=".") newdata <-data[data$Date %in% c("1/2/2007","2/2/2007") ,] sM1 <- as.numeric(newdata$Sub_metering_1) sM2 <- as.numeric(newdata$Sub_metering_2) sM3 <- as.numeric(newdata$Sub_metering...
#Assignmnet 2- Lexical Scoping #Caching the Inverse of a Matrix: #makeCacheMatrix creates a special "matrix" object that can cache its inverse. makeCacheMatrix <- function(m = matrix()) { inv_m <- NULL # initially nothing is cached so set it to NULL #stores a matrix setm <- function(m1) { m <- m1 inv_...
/cachematrix.R
no_license
garimab/ProgrammingAssignment2
R
false
false
1,429
r
#Assignmnet 2- Lexical Scoping #Caching the Inverse of a Matrix: #makeCacheMatrix creates a special "matrix" object that can cache its inverse. makeCacheMatrix <- function(m = matrix()) { inv_m <- NULL # initially nothing is cached so set it to NULL #stores a matrix setm <- function(m1) { m <- m1 inv_...
\name{h2o.pcr} \alias{h2o.pcr} \title{H2O: Principal Components Regression} \description{ Runs GLM regression on PCA results, and allows for transformation of test data to match PCA transformations of training data. } \usage{ h2o.pcr(x, y, data, ncomp, family, nfolds = 10, alpha = 0.5, lambda = 1e-05, epsilon = 1e-...
/R/h2oRClient-package/man/h2o.pcr.Rd
permissive
cloudtrends/h2o
R
false
false
3,761
rd
\name{h2o.pcr} \alias{h2o.pcr} \title{H2O: Principal Components Regression} \description{ Runs GLM regression on PCA results, and allows for transformation of test data to match PCA transformations of training data. } \usage{ h2o.pcr(x, y, data, ncomp, family, nfolds = 10, alpha = 0.5, lambda = 1e-05, epsilon = 1e-...
library(gethr) ### Name: admin_stopRPC ### Title: HTTP based JSON RPC API stop. ### Aliases: admin_stopRPC ### ** Examples ## No test: admin_stopRPC() ## End(No test)
/data/genthat_extracted_code/gethr/examples/admin_stopRPC.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
176
r
library(gethr) ### Name: admin_stopRPC ### Title: HTTP based JSON RPC API stop. ### Aliases: admin_stopRPC ### ** Examples ## No test: admin_stopRPC() ## End(No test)
pacman::p_load(tidyverse, tm, wordcloud, wordcloud2, tidytext, reshape2, radarchart, plotly, highcharter) library(rJava) library(RWeka) library(ggthemes) library(highcharter) # Read the data ep4 <- read.table("input/SW_EpisodeIV.txt") ep5 <- read.table("input/SW_EpisodeV.txt") ep6 <- read.table("input/SW_EpisodeVI....
/scripts/draft2.R
no_license
couyang24/Star-Wars-Movie-Scripts
R
false
false
5,012
r
pacman::p_load(tidyverse, tm, wordcloud, wordcloud2, tidytext, reshape2, radarchart, plotly, highcharter) library(rJava) library(RWeka) library(ggthemes) library(highcharter) # Read the data ep4 <- read.table("input/SW_EpisodeIV.txt") ep5 <- read.table("input/SW_EpisodeV.txt") ep6 <- read.table("input/SW_EpisodeVI....
# Gravitational Based Search Algorithm (GBS) GBS <- function(FUN, optimType="MIN", numVar, numPopulation=40, maxIter=500, rangeVar, gravitationalConst=max(rangeVar), kbest=0.1){ # Validation if(numPopulation < 1){ stop("numPopulation must greater than 0") } if(maxIter < 0){ stop("max...
/R/GBS.Algorithm.R
no_license
BimaAdi/MetaOpt2
R
false
false
3,625
r
# Gravitational Based Search Algorithm (GBS) GBS <- function(FUN, optimType="MIN", numVar, numPopulation=40, maxIter=500, rangeVar, gravitationalConst=max(rangeVar), kbest=0.1){ # Validation if(numPopulation < 1){ stop("numPopulation must greater than 0") } if(maxIter < 0){ stop("max...
#!/usr/bin/env Rscript library(BiocParallel) library(GenomicAlignments) library(GenomicFeatures) library(Rsamtools) # use 8 cores register(MulticoreParam(workers = 8)) # read transcript db gff_file <- "data/reference/GCF_000001405.37_GRCh38.p11_genomic.gff.gz" gff <- makeTxDbFromGFF(gff_file, format = "gff3") exons ...
/src/inactive/01_count_reads_per_gene.R
no_license
TomHarrop/MAITsRNAseq
R
false
false
1,003
r
#!/usr/bin/env Rscript library(BiocParallel) library(GenomicAlignments) library(GenomicFeatures) library(Rsamtools) # use 8 cores register(MulticoreParam(workers = 8)) # read transcript db gff_file <- "data/reference/GCF_000001405.37_GRCh38.p11_genomic.gff.gz" gff <- makeTxDbFromGFF(gff_file, format = "gff3") exons ...
## Entire code is divided into 2 functions, first to create the matrix & second to ## calculate the inverse. The whole point being caching the results for later use ## We are using the "<<-" operator here to sav the matrix & its inverse in a ## different environment, so as to be cached later when needed ##...
/cachematrix.R
no_license
manansingh5/ProgrammingAssignment2cachinverse
R
false
false
1,291
r
## Entire code is divided into 2 functions, first to create the matrix & second to ## calculate the inverse. The whole point being caching the results for later use ## We are using the "<<-" operator here to sav the matrix & its inverse in a ## different environment, so as to be cached later when needed ##...
##Data Science - Johns Hopkins University ##coursera ## course 2 - R ##week1 x<-c(1,2,NA,10,3) is.na(x) is.nan(x) x2<-c(1,2,NaN,NA,10,3) is.na(x2) is.nan(x2)
/Johns Hopkins Data Science/course 2/c2week1 - missingValues.R
no_license
tmPolla/R
R
false
false
172
r
##Data Science - Johns Hopkins University ##coursera ## course 2 - R ##week1 x<-c(1,2,NA,10,3) is.na(x) is.nan(x) x2<-c(1,2,NaN,NA,10,3) is.na(x2) is.nan(x2)
#Most of the code comes from mhpob (Thanks for your help Mike!) # https://github.com/mhpob/Random/blob/master/Scripts/naacc_download.R # North Atlantic Aquatic Connectivity Collaborative (NAACC) data download # https://naacc.org/naacc_search_crossing.cfm #Watershed ID 143 is lower James, 144 is Appomattox, 145 hampton...
/download_prioritize_NAACC.R
permissive
marinereilly/JRA_NAACC
R
false
false
2,389
r
#Most of the code comes from mhpob (Thanks for your help Mike!) # https://github.com/mhpob/Random/blob/master/Scripts/naacc_download.R # North Atlantic Aquatic Connectivity Collaborative (NAACC) data download # https://naacc.org/naacc_search_crossing.cfm #Watershed ID 143 is lower James, 144 is Appomattox, 145 hampton...
library(here) library(cloudml) # Need to be in right directory to submit job # The here function anchors us to the project root setwd(here("01-getting-started")) # Submit a job cloudml_train("iris.R") job_list() # it's still setting up the environment after 30 minutes! job_collect() # Let's do it again and see how ...
/01-getting-started.R
permissive
dougmet/cloudml
R
false
false
1,340
r
library(here) library(cloudml) # Need to be in right directory to submit job # The here function anchors us to the project root setwd(here("01-getting-started")) # Submit a job cloudml_train("iris.R") job_list() # it's still setting up the environment after 30 minutes! job_collect() # Let's do it again and see how ...
testlist <- list(G = numeric(0), Rn = numeric(0), atmp = numeric(0), ra = numeric(0), relh = c(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), rs = numeric(0), temp = c(8.57286...
/meteor/inst/testfiles/ET0_PenmanMonteith/AFL_ET0_PenmanMonteith/ET0_PenmanMonteith_valgrind_files/1615841615-test.R
no_license
akhikolla/updatedatatype-list3
R
false
false
867
r
testlist <- list(G = numeric(0), Rn = numeric(0), atmp = numeric(0), ra = numeric(0), relh = c(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), rs = numeric(0), temp = c(8.57286...
# This script is to analysis daily rainfall projection data to get 24-hour rainfall at specific rain guage location # the available historical daily rainfall data were pulled and pre-processed from the NCDF # Statistical library used to generated the IDF values library(nsRFA) # Function for computing the annual ...
/statisticalAnalysis/dataAnalysis/historicalObservation/Archive/Rainfall_Frequency_Analysis_gauges_L-moments.R
permissive
uva-hydroinformatics/vtrc-climate
R
false
false
2,187
r
# This script is to analysis daily rainfall projection data to get 24-hour rainfall at specific rain guage location # the available historical daily rainfall data were pulled and pre-processed from the NCDF # Statistical library used to generated the IDF values library(nsRFA) # Function for computing the annual ...
#' Cholesky multiplication with Toeplitz variance matrices. #' #' Multiplies the Cholesky decomposition of the Toeplitz matrix with another matrix, or solves a system of equations with the Cholesky factor. #' #' @name Cholesky #' @aliases cholXZ cholZX #' #' @param X Length-`N` or `N x p` matrix of observations. #' @pa...
/SuperGauss/R/Cholesky.R
no_license
akhikolla/TestedPackages-NoIssues
R
false
false
1,135
r
#' Cholesky multiplication with Toeplitz variance matrices. #' #' Multiplies the Cholesky decomposition of the Toeplitz matrix with another matrix, or solves a system of equations with the Cholesky factor. #' #' @name Cholesky #' @aliases cholXZ cholZX #' #' @param X Length-`N` or `N x p` matrix of observations. #' @pa...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/getVarAndLogCV.R \name{getVarAndLogCV} \alias{getVarAndLogCV} \title{getVarAndLogCV} \usage{ getVarAndLogCV(dsdata, UMIsPerCell) } \arguments{ \item{dsdata}{numeric matrix, the input dataset (cell population)} \item{UMIsPerCell}{number of UM...
/man/getVarAndLogCV.Rd
permissive
SysBioChalmers/DSAVE-R
R
false
true
534
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/getVarAndLogCV.R \name{getVarAndLogCV} \alias{getVarAndLogCV} \title{getVarAndLogCV} \usage{ getVarAndLogCV(dsdata, UMIsPerCell) } \arguments{ \item{dsdata}{numeric matrix, the input dataset (cell population)} \item{UMIsPerCell}{number of UM...