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
#Shelli Kesler 10/20/15 #Random forest regression using out-of-bag (OOB) prediction # NOTE: the outcome variable must be in the last column of the dataframe # NOTE: dataframe must contain complete cases only # Example Usage: rfReg(mydata,'Outcome1') rfReg <- function(data,title){ library(randomForest) library(care...
/rfReg.R
no_license
srkesler/ML-Codes
R
false
false
1,613
r
#Shelli Kesler 10/20/15 #Random forest regression using out-of-bag (OOB) prediction # NOTE: the outcome variable must be in the last column of the dataframe # NOTE: dataframe must contain complete cases only # Example Usage: rfReg(mydata,'Outcome1') rfReg <- function(data,title){ library(randomForest) library(care...
I have a table that lookes like this: suppressPackageStartupMessages(library(tidyverse)) tbl1 <- tibble::tribble(~datetime, ~systolic, ~diastolic, lubridate::as_datetime("2017-03-25 17:00:00"), 104, 78, lubridate::as_datetime("2017-03-26 04:00:00"), 107, 75, lubridate::as_datetime("2017-03-26 17:15:00"), 107, 84 ) t...
/qlotquestion.R
no_license
dan87134/quotools
R
false
false
985
r
I have a table that lookes like this: suppressPackageStartupMessages(library(tidyverse)) tbl1 <- tibble::tribble(~datetime, ~systolic, ~diastolic, lubridate::as_datetime("2017-03-25 17:00:00"), 104, 78, lubridate::as_datetime("2017-03-26 04:00:00"), 107, 75, lubridate::as_datetime("2017-03-26 17:15:00"), 107, 84 ) t...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/lamget.R \name{browse_lambert_main} \alias{browse_lambert_main} \title{use DT::datatable to browse the Lambert table S1} \usage{ browse_lambert_main(cache = BiocFileCache::BiocFileCache(ask = FALSE)) } \arguments{ \item{cache}{a BiocFileCache...
/man/browse_lambert_main.Rd
no_license
vjcitn/TFutils
R
false
true
582
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/lamget.R \name{browse_lambert_main} \alias{browse_lambert_main} \title{use DT::datatable to browse the Lambert table S1} \usage{ browse_lambert_main(cache = BiocFileCache::BiocFileCache(ask = FALSE)) } \arguments{ \item{cache}{a BiocFileCache...
# ROH GWAS. This script runs a modified GWAS which tests an # effect of ROH status on annual survival at every SNP, controlling # for a range of other variables. # Needs to be run on a cluster, every model takes appr. 40 sec to run, # 417K models overall. library(lme4) library(tidyverse) library(broom.mixed) library(s...
/6_alt_gwas_annual_survival_bothA.R
no_license
yasfoster/sheep_ID
R
false
false
7,730
r
# ROH GWAS. This script runs a modified GWAS which tests an # effect of ROH status on annual survival at every SNP, controlling # for a range of other variables. # Needs to be run on a cluster, every model takes appr. 40 sec to run, # 417K models overall. library(lme4) library(tidyverse) library(broom.mixed) library(s...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/repositories.R \name{perform.repository.merge} \alias{perform.repository.merge} \title{perform a merge.} \usage{ perform.repository.merge(owner, repo, content, ctx = get.github.context()) } \arguments{ \item{owner}{the repo owner (user, org, ...
/man/perform.repository.merge.Rd
permissive
gordonwoodhull/rgithub
R
false
true
607
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/repositories.R \name{perform.repository.merge} \alias{perform.repository.merge} \title{perform a merge.} \usage{ perform.repository.merge(owner, repo, content, ctx = get.github.context()) } \arguments{ \item{owner}{the repo owner (user, org, ...
#' @title Predefined stores #' #' @description #' * `store_aqmet()` - Ostluft S3 storage containing airquality and meteo data #' * `store_aqmet_public()` - Public Ostluft S3 storage containing airquality and meteo data. #' * `store_hysplit()` - Ostluft S3 storage containing NOAA Hysplit trajectories #' #' @section stor...
/R/stores.R
permissive
Ostluft/rOstluft
R
false
false
2,455
r
#' @title Predefined stores #' #' @description #' * `store_aqmet()` - Ostluft S3 storage containing airquality and meteo data #' * `store_aqmet_public()` - Public Ostluft S3 storage containing airquality and meteo data. #' * `store_hysplit()` - Ostluft S3 storage containing NOAA Hysplit trajectories #' #' @section stor...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/feature_preparation.r \name{create_queries} \alias{create_queries} \title{Automatically infer queries from combinations of terms in a dtm} \usage{ create_queries( dtm, ref_dtm = NULL, min_docfreq = 2, max_docprob = 0.01, weight = c(...
/fuzzedpackages/RNewsflow/man/create_queries.Rd
no_license
akhikolla/testpackages
R
false
true
4,626
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/feature_preparation.r \name{create_queries} \alias{create_queries} \title{Automatically infer queries from combinations of terms in a dtm} \usage{ create_queries( dtm, ref_dtm = NULL, min_docfreq = 2, max_docprob = 0.01, weight = c(...
counttest <- function(x, y) { X <- x - mean(x) Y <- y - mean(y) outx <- sum(X > max(Y)) + sum(X < min(Y)) outy <- sum(Y > max(X)) + sum(Y < min(X)) return(as.integer((outx > m1) | (outy > m2))) }
/R/counttest.R
no_license
zheng017/SC19062
R
false
false
205
r
counttest <- function(x, y) { X <- x - mean(x) Y <- y - mean(y) outx <- sum(X > max(Y)) + sum(X < min(Y)) outy <- sum(Y > max(X)) + sum(Y < min(X)) return(as.integer((outx > m1) | (outy > m2))) }
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/io_and_formats.R \name{fragments_to_windows} \alias{fragments_to_windows} \title{Convert a list of GenomicRanges objects to a list of genomic window ids} \usage{ fragments_to_windows(fragment_list, window_size = 10000, collapse = TRUE) } \a...
/man/fragments_to_windows.Rd
permissive
adrisede/lowcat
R
false
true
902
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/io_and_formats.R \name{fragments_to_windows} \alias{fragments_to_windows} \title{Convert a list of GenomicRanges objects to a list of genomic window ids} \usage{ fragments_to_windows(fragment_list, window_size = 10000, collapse = TRUE) } \a...
library(rgl) ### Name: selectpoints3d ### Title: Select points from a scene ### Aliases: selectpoints3d ### Keywords: graphics ### ** Examples xyz <- cbind(rnorm(20), rnorm(20), rnorm(20)) ids <- plot3d( xyz ) if (interactive()) { # Click near a point to select it and put a sphere there. # Press ESC to quit......
/data/genthat_extracted_code/rgl/examples/selectpoints3d.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
754
r
library(rgl) ### Name: selectpoints3d ### Title: Select points from a scene ### Aliases: selectpoints3d ### Keywords: graphics ### ** Examples xyz <- cbind(rnorm(20), rnorm(20), rnorm(20)) ids <- plot3d( xyz ) if (interactive()) { # Click near a point to select it and put a sphere there. # Press ESC to quit......
#---------------------------------------------------------------------------- #single trial single_trial_po = function(or, pro_ctr, n, cf, threshold, method){ C = length(pro_ctr) #or = rep(or, C-1) dat_I = data_gene(or, sd, pro_ctr, n) N = n # Pick Bayesian or Frequentest method if (method == "...
/R/funcs.R
no_license
alicechen310/BayesOrdDesign
R
false
false
14,715
r
#---------------------------------------------------------------------------- #single trial single_trial_po = function(or, pro_ctr, n, cf, threshold, method){ C = length(pro_ctr) #or = rep(or, C-1) dat_I = data_gene(or, sd, pro_ctr, n) N = n # Pick Bayesian or Frequentest method if (method == "...
#data preprocessing m1<-read.csv("Section6-Homework-Data.csv") getwd() setwd("C:\\Users\\pavit\\Documents\\R\\R scripts\\5ggplot") colnames(m1)<-c("A","B","Genere","C","D","Studio","E", "Budget","H","I","J","K","L","M","N","O","P","Gross") head(m1) factor(m1$Studio) #filter f1<-(m1$Genere=="action")|(m1$...
/Movie%GrossGGPLOT2.R
no_license
pavithraconnect/GGPLOT2-Visualization
R
false
false
1,408
r
#data preprocessing m1<-read.csv("Section6-Homework-Data.csv") getwd() setwd("C:\\Users\\pavit\\Documents\\R\\R scripts\\5ggplot") colnames(m1)<-c("A","B","Genere","C","D","Studio","E", "Budget","H","I","J","K","L","M","N","O","P","Gross") head(m1) factor(m1$Studio) #filter f1<-(m1$Genere=="action")|(m1$...
##GRIP @ The Sparks Foundation #Task 1 #Predict the percentage of an student based on the no. of study hours. #This is a simple linear regression task as it involves just 2 variables. ##Important librarys library(tidyverse) library(caret) ##Read data library(readxl) TSF_Task_1 <- read_excel("~/TSF Task...
/TSF Task 1.R
no_license
Vivekvlog/TSF_Task-1
R
false
false
1,887
r
##GRIP @ The Sparks Foundation #Task 1 #Predict the percentage of an student based on the no. of study hours. #This is a simple linear regression task as it involves just 2 variables. ##Important librarys library(tidyverse) library(caret) ##Read data library(readxl) TSF_Task_1 <- read_excel("~/TSF Task...
\name{fun.h2pF} \alias{fun.h2pF} \title{Converts h to pF} \description{Function that converts pressure head values [m] into pF values} \usage{fun.h2pF(h)} \arguments{ \item{h}{Vector of numericals. Pressure head to be converted [m]. In practice, matrix potential can also be used, as it abs(h) is used intern...
/pkg/soilwaterfun2/man/fun.h2pF.Rd
no_license
TillF/soilwater
R
false
false
537
rd
\name{fun.h2pF} \alias{fun.h2pF} \title{Converts h to pF} \description{Function that converts pressure head values [m] into pF values} \usage{fun.h2pF(h)} \arguments{ \item{h}{Vector of numericals. Pressure head to be converted [m]. In practice, matrix potential can also be used, as it abs(h) is used intern...
library(glmnet) mydata = read.table("./TrainingSet/RF/pleura.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.05,family="gaussian",standardize=TRUE) sink('./Model/EN/Classifier/pleura/pleura_021.txt',append=TRUE)...
/Model/EN/Classifier/pleura/pleura_021.R
no_license
leon1003/QSMART
R
false
false
350
r
library(glmnet) mydata = read.table("./TrainingSet/RF/pleura.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.05,family="gaussian",standardize=TRUE) sink('./Model/EN/Classifier/pleura/pleura_021.txt',append=TRUE)...
# # This is a Shiny web application. You can run the application by clicking # the 'Run App' button above. # # Find out more about building applications with Shiny here: # # http://shiny.rstudio.com/ # #install.packages('future') install.packages('leaflet') install.packages('tidyverse') install.packages('ggplot2') ...
/app.R
no_license
timothyjmarkham/shiny_map
R
false
false
21,478
r
# # This is a Shiny web application. You can run the application by clicking # the 'Run App' button above. # # Find out more about building applications with Shiny here: # # http://shiny.rstudio.com/ # #install.packages('future') install.packages('leaflet') install.packages('tidyverse') install.packages('ggplot2') ...
rm(list=ls()) setwd('~/prs/') library(data.table) library(Rcpp) library(readr) library(MASS) # for mvrnorm library(reshape) # for melt library(parallel) library(RcppTN) library(devtools) library(Rcpp) library(RcppArmadillo) library(inline) library(mvnfast) library(genio) # for read_plink library(dplyr) library(stringr)...
/code/Jin/Data Analysis/glgc.R
no_license
andrewhaoyu/multi_ethnic
R
false
false
16,444
r
rm(list=ls()) setwd('~/prs/') library(data.table) library(Rcpp) library(readr) library(MASS) # for mvrnorm library(reshape) # for melt library(parallel) library(RcppTN) library(devtools) library(Rcpp) library(RcppArmadillo) library(inline) library(mvnfast) library(genio) # for read_plink library(dplyr) library(stringr)...
if (exists("A_A")) remove("A_A") if (exists("A_U")) remove("A_U") if (exists("C_A")) remove("C_A") if (exists("C_U")) remove("C_U") A_U<-c(66068,4572,4004,3473,3362,3721,3388,3676,3374,3601,3381,3423,3341,3886,3370,3359,3383,3941,3477,4645,3867,3845,3351,4211,3442,3430,3319,3410,3356,3466,5923,4855,5168,3955,4101,3794,...
/REPSI_Tool_02.00_Mesaurement_Data/Query_99999_YYYY-MM-DD_HH-MI-SS.HS.R/Query_86306_2007-01-03_11-18-27.328.R
permissive
walter-weinmann/repsi-tool
R
false
false
1,177
r
if (exists("A_A")) remove("A_A") if (exists("A_U")) remove("A_U") if (exists("C_A")) remove("C_A") if (exists("C_U")) remove("C_U") A_U<-c(66068,4572,4004,3473,3362,3721,3388,3676,3374,3601,3381,3423,3341,3886,3370,3359,3383,3941,3477,4645,3867,3845,3351,4211,3442,3430,3319,3410,3356,3466,5923,4855,5168,3955,4101,3794,...
readData <- function() { format <- "%Y-%m-%d %H:%M" a <- as.POSIXct(strftime("2006-12-16 17:24", format)) b <- as.POSIXct(strftime("2007-02-01 00:00", format)) c <- as.POSIXct(strftime("2007-02-03 00:00", format)) diff.a <- as.numeric(difftime(b, a, units = c("mins"))) + 1 diff.b <- as.numeric(difftim...
/read.R
no_license
ywei89/ExData_Plotting1
R
false
false
847
r
readData <- function() { format <- "%Y-%m-%d %H:%M" a <- as.POSIXct(strftime("2006-12-16 17:24", format)) b <- as.POSIXct(strftime("2007-02-01 00:00", format)) c <- as.POSIXct(strftime("2007-02-03 00:00", format)) diff.a <- as.numeric(difftime(b, a, units = c("mins"))) + 1 diff.b <- as.numeric(difftim...
#' Asian Elephant data #' #' Longitudinal hormone data for multiple female elephants in which LH and Progesterone were #' measured over years. #' #'@details #' Data were published in:\cr\cr #' Fanson KV, Keeley T, Fanson BG. Cyclic changes in cortisol across the estrous #' cycle in parous and nulliparous Asian...
/R/hormData.R
no_license
bfanson/hormLong
R
false
false
1,067
r
#' Asian Elephant data #' #' Longitudinal hormone data for multiple female elephants in which LH and Progesterone were #' measured over years. #' #'@details #' Data were published in:\cr\cr #' Fanson KV, Keeley T, Fanson BG. Cyclic changes in cortisol across the estrous #' cycle in parous and nulliparous Asian...
\name{sliding_puzzle} \alias{sliding_puzzle} \title{Sliding puzzle in R} \usage{ sliding_puzzle(size = c(3, 3), bg = "lightblue", z = NULL) } \arguments{ \item{size}{two dimensional vector, the size of sliding puzzle. Note: the element of \code{size} must be greater than 1.} \item{bg}{the background color of b...
/man/sliding_puzzle.Rd
no_license
talgalili/fun
R
false
false
1,213
rd
\name{sliding_puzzle} \alias{sliding_puzzle} \title{Sliding puzzle in R} \usage{ sliding_puzzle(size = c(3, 3), bg = "lightblue", z = NULL) } \arguments{ \item{size}{two dimensional vector, the size of sliding puzzle. Note: the element of \code{size} must be greater than 1.} \item{bg}{the background color of b...
# Yige Wu @WashU Feb 2020 # set up libraries and output directory ----------------------------------- ## getting the path to the current script thisFile <- function() { cmdArgs <- commandArgs(trailingOnly = FALSE) needle <- "--file=" match <- grep(needle, cmdArgs) if (length(match) > 0) { # Rscript ret...
/findmarkers/tumor_subclusters/findallmarkers_C3L-00010_correlated_tumorcells_bynewcluster0_on_katmai.R
no_license
ding-lab/ccRCC_snRNA_analysis
R
false
false
2,166
r
# Yige Wu @WashU Feb 2020 # set up libraries and output directory ----------------------------------- ## getting the path to the current script thisFile <- function() { cmdArgs <- commandArgs(trailingOnly = FALSE) needle <- "--file=" match <- grep(needle, cmdArgs) if (length(match) > 0) { # Rscript ret...
rm(list = ls(all = TRUE)) # load data load('doublewell.RData') # load necessary functions source('dtq.R') myh = 0.05 myk = myh^(0.75) mybigm = ceiling(pi/(myk^1.5)) nsamples = 10000 thetamat = matrix(nrow=(nsamples+1),ncol=3) source('mcmcstuff.R') loglik = numeric(length=(nsamples+1)) logpost = numeric(length=(nsa...
/simpledtq/simpletest.R
no_license
shagunrawat/sdeinference
R
false
false
1,165
r
rm(list = ls(all = TRUE)) # load data load('doublewell.RData') # load necessary functions source('dtq.R') myh = 0.05 myk = myh^(0.75) mybigm = ceiling(pi/(myk^1.5)) nsamples = 10000 thetamat = matrix(nrow=(nsamples+1),ncol=3) source('mcmcstuff.R') loglik = numeric(length=(nsamples+1)) logpost = numeric(length=(nsa...
#' @title Fit extreme deconvolution to mash data using Bovy et al 2011 #' #' @description This is an internal (non-exported) function. This help #' page provides additional documentation mainly intended for #' developers and expert users. #' #' @param data mash data object #' #' @param Ulist_init a list of covar...
/R/ed.R
no_license
frankfan007/mashr
R
false
false
3,410
r
#' @title Fit extreme deconvolution to mash data using Bovy et al 2011 #' #' @description This is an internal (non-exported) function. This help #' page provides additional documentation mainly intended for #' developers and expert users. #' #' @param data mash data object #' #' @param Ulist_init a list of covar...
#' Capitalise words in character vector #' #' @param x Character vector #' @return Character vector #' @examples #' simple_cap(c("a simple test", "Another-test")) #' @export simple_cap <- function(x) { s <- strsplit(x, " ") sapply( s, function(x) paste( toupper(substring(x, 1,1)), substring(x, 2), sep=...
/ontologyPlot/R/data.R
no_license
ingted/R-Examples
R
false
false
841
r
#' Capitalise words in character vector #' #' @param x Character vector #' @return Character vector #' @examples #' simple_cap(c("a simple test", "Another-test")) #' @export simple_cap <- function(x) { s <- strsplit(x, " ") sapply( s, function(x) paste( toupper(substring(x, 1,1)), substring(x, 2), sep=...
context("Test that particle smoothers work") #' @srrstats {G5.9, G5.9a, G5.9b} test_that("Test that trivial noise does not affect particle_smoother", { expect_error(model_bsm <- bsm_lg(rep(1, 5), sd_level = 0.05, sd_slope = 0.01, sd_y = 0.01, a1 = c(1, 0), P1 = diag(0.01, 2)), NA) model_bsm2 <- model_bsm...
/tests/testthat/test_particle_smoother.R
no_license
helske/bssm
R
false
false
6,198
r
context("Test that particle smoothers work") #' @srrstats {G5.9, G5.9a, G5.9b} test_that("Test that trivial noise does not affect particle_smoother", { expect_error(model_bsm <- bsm_lg(rep(1, 5), sd_level = 0.05, sd_slope = 0.01, sd_y = 0.01, a1 = c(1, 0), P1 = diag(0.01, 2)), NA) model_bsm2 <- model_bsm...
# arguments: # ratingsIn: input data, with first cols (userID,itemID,rating, # covariates); data frame, unless cls is non-null, in which # case this argument is the quoted name of the distributed # data frame # regressYdots; if TRUE, apply lm() to the estimated latent facto...
/R/findYdotsMM.R
no_license
yixuan/rectools
R
false
false
2,875
r
# arguments: # ratingsIn: input data, with first cols (userID,itemID,rating, # covariates); data frame, unless cls is non-null, in which # case this argument is the quoted name of the distributed # data frame # regressYdots; if TRUE, apply lm() to the estimated latent facto...
# SCRIPT NO. 5 A setwd ("D:/Ptaki_hydro/Obliczenia/R/IHA") library(plyr) library(readr) subbasins_nr <- data.frame(rbind("910","950", "1012", "1087", "1134","1240","1264","1289", "1329","1358","1501", "1545", "1565","1601","1629", "1727", "1748","1875")) colnames(subbasins_nr)<- c("RCH") ##########################...
/bh_gull_future_hydro.R
no_license
jo-dzian/Birds_improved
R
false
false
72,605
r
# SCRIPT NO. 5 A setwd ("D:/Ptaki_hydro/Obliczenia/R/IHA") library(plyr) library(readr) subbasins_nr <- data.frame(rbind("910","950", "1012", "1087", "1134","1240","1264","1289", "1329","1358","1501", "1545", "1565","1601","1629", "1727", "1748","1875")) colnames(subbasins_nr)<- c("RCH") ##########################...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/rtModLog.R \name{rtModLogger} \alias{rtModLogger} \title{\pkg{rtemis} model logger} \description{ R6 class to save trained models' parameters and performance. Keep your experiment results tidy in one place, with an option to write out to a mu...
/man/rtModLogger.Rd
no_license
tlarzg/rtemis
R
false
true
3,552
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/rtModLog.R \name{rtModLogger} \alias{rtModLogger} \title{\pkg{rtemis} model logger} \description{ R6 class to save trained models' parameters and performance. Keep your experiment results tidy in one place, with an option to write out to a mu...
## generate exams in Moodle XML format ## http://docs.moodle.org/en/Moodle_XML_format exams2moodle <- function(file, n = 1L, nsamp = NULL, dir = ".", name = NULL, quiet = TRUE, edir = NULL, tdir = NULL, sdir = NULL, verbose = FALSE, resolution = 100, width = 4, height = 4, encoding = "", iname = TRUE, stitle = N...
/exams/R/exams2moodle.R
no_license
ingted/R-Examples
R
false
false
17,721
r
## generate exams in Moodle XML format ## http://docs.moodle.org/en/Moodle_XML_format exams2moodle <- function(file, n = 1L, nsamp = NULL, dir = ".", name = NULL, quiet = TRUE, edir = NULL, tdir = NULL, sdir = NULL, verbose = FALSE, resolution = 100, width = 4, height = 4, encoding = "", iname = TRUE, stitle = N...
context("content") # Setup ---------------------------------------------------- # should connect with env vars test_conn_1 <- connect(prefix = "TEST_1") test_conn_2 <- connect(prefix = "TEST_2") cont1_name <- uuid::UUIDgenerate() cont1_title <- "Test Content 1" cont1_guid <- NULL cont1_bundle <- NULL cont1_content ...
/tests/integrated/test-content.R
no_license
brunaw/connectapi
R
false
false
18,855
r
context("content") # Setup ---------------------------------------------------- # should connect with env vars test_conn_1 <- connect(prefix = "TEST_1") test_conn_2 <- connect(prefix = "TEST_2") cont1_name <- uuid::UUIDgenerate() cont1_title <- "Test Content 1" cont1_guid <- NULL cont1_bundle <- NULL cont1_content ...
## Put comments here that give an overall description of what your ## functions do ## Write a short comment describing this function makeCacheMatrix <- function(x = matrix()) { i <- NULL set <- function(y) { x <<- y i <<- NULL } get <- function() x setInverse <- function(inverse) i...
/cachematrix.R
no_license
sarakgall/ProgrammingAssignment2
R
false
false
744
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()) { i <- NULL set <- function(y) { x <<- y i <<- NULL } get <- function() x setInverse <- function(inverse) i...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/route53_operations.R \name{route53_list_geo_locations} \alias{route53_list_geo_locations} \title{Retrieves a list of supported geographic locations} \usage{ route53_list_geo_locations(StartContinentCode, StartCountryCode, StartSubdivisionCo...
/cran/paws.networking/man/route53_list_geo_locations.Rd
permissive
peoplecure/paws
R
false
true
2,841
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/route53_operations.R \name{route53_list_geo_locations} \alias{route53_list_geo_locations} \title{Retrieves a list of supported geographic locations} \usage{ route53_list_geo_locations(StartContinentCode, StartCountryCode, StartSubdivisionCo...
#' ggplot for frequency spectrum #' @param freqs numeric vector #' @rdname plot #' @export histogram_freqspec = function(freqs) { tibble::tibble(x = freqs) %>% ggplot2::ggplot(ggplot2::aes_(~x, ~..density..)) + ggplot2::geom_histogram(bins = 25) + ggplot2::coord_cartesian(xlim = c(0, 1)) + ggplot2::la...
/R/plot.R
permissive
anpefi/rtumopp
R
false
false
4,547
r
#' ggplot for frequency spectrum #' @param freqs numeric vector #' @rdname plot #' @export histogram_freqspec = function(freqs) { tibble::tibble(x = freqs) %>% ggplot2::ggplot(ggplot2::aes_(~x, ~..density..)) + ggplot2::geom_histogram(bins = 25) + ggplot2::coord_cartesian(xlim = c(0, 1)) + ggplot2::la...
########### #flat files ########### #csv titanic <- read.csv(file='titanic.csv', header=TRUE, #does the file have a header? as.is=TRUE) #tells R to not guess what the data type should be #equivalent to above titanic <- read.table(file='titanic.csv', heade...
/reading_in_data.R
no_license
effyhuihui/DandB_R
R
false
false
1,424
r
########### #flat files ########### #csv titanic <- read.csv(file='titanic.csv', header=TRUE, #does the file have a header? as.is=TRUE) #tells R to not guess what the data type should be #equivalent to above titanic <- read.table(file='titanic.csv', heade...
#' @title InterestRate #' #' @description #' InterestRate class #' #' @export InterestRate <- function(value, daycount='business/252', compounding='compounded', frequency='annual') { that <- list() that$value <- value that$daycount <- daycount that$compounding <- compounding that$frequency <- fre...
/legacy/InterestRate.R
no_license
rajsingh7/R-fixedincome
R
false
false
381
r
#' @title InterestRate #' #' @description #' InterestRate class #' #' @export InterestRate <- function(value, daycount='business/252', compounding='compounded', frequency='annual') { that <- list() that$value <- value that$daycount <- daycount that$compounding <- compounding that$frequency <- fre...
# SSVS Prior # Author: Lukas Vashold ## inputs for function: # X: explanatory variables in a matrix, one variable in one column # Y: dependent variable # cons: amount of constant terms (including FEs), will not be sampled in # SSVS step # n_burn, n_draw, n_thin: number of burned/drawn iterations and t...
/2_SSVS_fun.R
no_license
nk027/be_shrinkage
R
false
false
3,943
r
# SSVS Prior # Author: Lukas Vashold ## inputs for function: # X: explanatory variables in a matrix, one variable in one column # Y: dependent variable # cons: amount of constant terms (including FEs), will not be sampled in # SSVS step # n_burn, n_draw, n_thin: number of burned/drawn iterations and t...
# Author: xerula xerula@gmail.com # Created: May 26, 2013 5:23:17 PM # using StatET for Eclipse ################################## theme_set(theme_wallcloud) # plot logarithm function for different bases bases <- c(1.05, 1.1, 1.3, 1.75, 5) s <- seq(1e-16, 30, by=0.01) plotMultiCurve(quote(log(s, bases)), s, bases,...
/logarithms.R
permissive
xerula/r_mathplots
R
false
false
590
r
# Author: xerula xerula@gmail.com # Created: May 26, 2013 5:23:17 PM # using StatET for Eclipse ################################## theme_set(theme_wallcloud) # plot logarithm function for different bases bases <- c(1.05, 1.1, 1.3, 1.75, 5) s <- seq(1e-16, 30, by=0.01) plotMultiCurve(quote(log(s, bases)), s, bases,...
\name{rlimit_sigpending} \alias{rlimit_sigpending} \title{Limit signal queue} \usage{ rlimit_sigpending(hardlim, softlim = hardlim, pid = 0, verbose = FALSE) } \arguments{ \item{hardlim}{number of signals} \item{softlim}{number of signals} \item{pid}{id of the target process} \item{verbose}{print some ...
/man/rlimit_sigpending.Rd
no_license
parthasen/RAppArmor
R
false
false
2,156
rd
\name{rlimit_sigpending} \alias{rlimit_sigpending} \title{Limit signal queue} \usage{ rlimit_sigpending(hardlim, softlim = hardlim, pid = 0, verbose = FALSE) } \arguments{ \item{hardlim}{number of signals} \item{softlim}{number of signals} \item{pid}{id of the target process} \item{verbose}{print some ...
\name{d2} \docType{data} \alias{d2} \title{Simulated HCV Data 2018-04-11} \description{Simulated HCV Data 2018-04-11} \usage{d2} \format{matrix} \source{LANL} \references{Graw et al. (2014) Inferring Viral Dynamics in Chronically HCV Infected Patients from the Spatial Distribution of Infected Hepatocytes} \keyword{data...
/man/d2.Rd
no_license
bentaylor1/HCV
R
false
false
326
rd
\name{d2} \docType{data} \alias{d2} \title{Simulated HCV Data 2018-04-11} \description{Simulated HCV Data 2018-04-11} \usage{d2} \format{matrix} \source{LANL} \references{Graw et al. (2014) Inferring Viral Dynamics in Chronically HCV Infected Patients from the Spatial Distribution of Infected Hepatocytes} \keyword{data...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/shortcuts.R \name{municipalities} \alias{municipalities} \title{British Columbia Municipalities} \source{ \code{bcdata::bcdc_get_data(record = 'e3c3c580-996a-4668-8bc5-6aa7c7dc4932', resource = '25c95b07-5882-47ff-970d-36cb243b8355')} } \usag...
/man/municipalities.Rd
permissive
MonkmanMH/bcmaps
R
false
true
1,334
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/shortcuts.R \name{municipalities} \alias{municipalities} \title{British Columbia Municipalities} \source{ \code{bcdata::bcdc_get_data(record = 'e3c3c580-996a-4668-8bc5-6aa7c7dc4932', resource = '25c95b07-5882-47ff-970d-36cb243b8355')} } \usag...
## Plot2.R ## Set the current working directory as appropriate setwd("~/Coursera/Data Science Specialty/Course 4") ## Read in the large table and coerce the date column to a usable format pwr_data <- read.csv("household_power_consumption.txt", sep = ";") pwr_data$Date <- as.Date(pwr_data$Date, "%d/%m/%Y") #...
/Plot2.R
no_license
jonathan-hughes/ExData_Plotting1
R
false
false
1,294
r
## Plot2.R ## Set the current working directory as appropriate setwd("~/Coursera/Data Science Specialty/Course 4") ## Read in the large table and coerce the date column to a usable format pwr_data <- read.csv("household_power_consumption.txt", sep = ";") pwr_data$Date <- as.Date(pwr_data$Date, "%d/%m/%Y") #...
\docType{data} \name{accipitridaeBasicPastis} \alias{accipitridaeBasicPastis} \title{Accipitridae basic data} \description{ Constraint tree and taxon list for Accipitridae } \author{ Gavin Thomas, 2013-07-22 } \keyword{datasets}
/man/accipitridaeBasicPastis.Rd
no_license
cran/pastis
R
false
false
234
rd
\docType{data} \name{accipitridaeBasicPastis} \alias{accipitridaeBasicPastis} \title{Accipitridae basic data} \description{ Constraint tree and taxon list for Accipitridae } \author{ Gavin Thomas, 2013-07-22 } \keyword{datasets}
Author : Duncan P. # UI file of getCookie Shiny application. shinyUI(bootstrapPage( tags$head(tags$script( HTML(' Shiny.addCustomMessageHandler("readCookie", function(message) { var cookie = readCookie(message.name); Shiny.o...
/ui.R
no_license
kdaily/synapseShinyLogin
R
false
false
1,110
r
Author : Duncan P. # UI file of getCookie Shiny application. shinyUI(bootstrapPage( tags$head(tags$script( HTML(' Shiny.addCustomMessageHandler("readCookie", function(message) { var cookie = readCookie(message.name); Shiny.o...
set.seed(1) x <- rnorm(100) y <- -sample(x,100) plot(x,y)
/Exercises/Chapter 3/q12.R
no_license
IrfanZM/ISL
R
false
false
62
r
set.seed(1) x <- rnorm(100) y <- -sample(x,100) plot(x,y)
library(glmnet) mydata = read.table("../../../../TrainingSet/FullSet/AvgRank/liver.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.05,family="gaussian",standardize=TRUE) sink('./liver_021.txt',append=TRUE) print...
/Model/EN/AvgRank/liver/liver_021.R
no_license
esbgkannan/QSMART
R
false
false
344
r
library(glmnet) mydata = read.table("../../../../TrainingSet/FullSet/AvgRank/liver.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.05,family="gaussian",standardize=TRUE) sink('./liver_021.txt',append=TRUE) print...
library("shiny") library("highcharter") ui <- fluidPage( highchartOutput('plot', height="140px") ) server = function(input, output,session) { # Parse the GET query string query <- isolate({parseQueryString(session$clientData$url_search, nested=FALSE)}) cat(file=stderr(), "Entra en la funcion server c...
/R/master/app.R
no_license
Grandez/Serendipity
R
false
false
1,601
r
library("shiny") library("highcharter") ui <- fluidPage( highchartOutput('plot', height="140px") ) server = function(input, output,session) { # Parse the GET query string query <- isolate({parseQueryString(session$clientData$url_search, nested=FALSE)}) cat(file=stderr(), "Entra en la funcion server c...
data = read.csv("results.tsv", sep="\t") library(tidyr) library(ggplot2) library(dplyr) data = data %>% filter(grepl("_2.py", Script)) unigramSurprisal = data %>% filter(Distance == 0) %>% rename(UnigramSurprisal = Surprisal) %>% select(Language, Model, UnigramSurprisal, Estimator) unigramSurprisal$Distance=NULL da...
/code/ngram-control/create_models_ngrams/NOT_USED/np/visualize.R
no_license
m-hahn/memory-surprisal
R
false
false
3,179
r
data = read.csv("results.tsv", sep="\t") library(tidyr) library(ggplot2) library(dplyr) data = data %>% filter(grepl("_2.py", Script)) unigramSurprisal = data %>% filter(Distance == 0) %>% rename(UnigramSurprisal = Surprisal) %>% select(Language, Model, UnigramSurprisal, Estimator) unigramSurprisal$Distance=NULL da...
# Exercise 1: reading and querying a web API # Load the httr and jsonlite libraries for accessing data # You can also load `dplyr` if you wish to use it library(httr) library(jsonlite) library(dplyr) # Create a variable for the API's base URI (https://api.github.com) base_uri <- "https://api.github.com" # Under the...
/exercise-1/exercise.R
permissive
Chris-Vitalis/ch11-apis
R
false
false
1,814
r
# Exercise 1: reading and querying a web API # Load the httr and jsonlite libraries for accessing data # You can also load `dplyr` if you wish to use it library(httr) library(jsonlite) library(dplyr) # Create a variable for the API's base URI (https://api.github.com) base_uri <- "https://api.github.com" # Under the...
library(kernlab) ### Name: csi-class ### Title: Class "csi" ### Aliases: csi-class Q R predgain truegain diagresidues,csi-method ### maxresiduals,csi-method pivots,csi-method predgain,csi-method ### truegain,csi-method Q,csi-method R,csi-method ### Keywords: classes ### ** Examples data(iris) ## create multidi...
/data/genthat_extracted_code/kernlab/examples/csi-class.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
747
r
library(kernlab) ### Name: csi-class ### Title: Class "csi" ### Aliases: csi-class Q R predgain truegain diagresidues,csi-method ### maxresiduals,csi-method pivots,csi-method predgain,csi-method ### truegain,csi-method Q,csi-method R,csi-method ### Keywords: classes ### ** Examples data(iris) ## create multidi...
% Generated by roxygen2 (4.0.1): do not edit by hand \name{tailgate} \alias{cytokine} \alias{tailgate} \title{Gates the tail of a density using the derivative of a kernel density estimate} \usage{ tailgate(fr, channel, filter_id = "", num_peaks = 1, ref_peak = 1, strict = TRUE, tol = 0.01, positive = TRUE, side = "ri...
/man/tailgate.Rd
no_license
petterbrodin/openCyto
R
false
false
1,873
rd
% Generated by roxygen2 (4.0.1): do not edit by hand \name{tailgate} \alias{cytokine} \alias{tailgate} \title{Gates the tail of a density using the derivative of a kernel density estimate} \usage{ tailgate(fr, channel, filter_id = "", num_peaks = 1, ref_peak = 1, strict = TRUE, tol = 0.01, positive = TRUE, side = "ri...
library(igraph) library(parallel) library(doParallel) library(lubridate) #/* library(Rmpi) */ library(snow) library(methods) library(dplyr) library(stringr) library(sna) library(statnet) library(texreg) library(xergm) library(network) setwd('~/R/hiv_scripts') set.seed(10) cores=detectCores() - 2 # get number of cores c...
/hiv_scripts/tergm_sub2.R
no_license
rosericazondekon/netAnalysis
R
false
false
27,798
r
library(igraph) library(parallel) library(doParallel) library(lubridate) #/* library(Rmpi) */ library(snow) library(methods) library(dplyr) library(stringr) library(sna) library(statnet) library(texreg) library(xergm) library(network) setwd('~/R/hiv_scripts') set.seed(10) cores=detectCores() - 2 # get number of cores c...
# analyze/ plot results of RunRollout.R (only those w/o childhood vaccination - ages 5-12) library(foreach) # set up parallel, might need to change for your system library(doParallel) registerDoParallel(cores=4) library(HutchCOVID) source("covid-model-plotting.R") load("../data/wa_counties_aggr.Rdata") # data from ...
/Vaccine Rollout/Analyze_Rollout_schools_KIDS_NoWane.R
no_license
FredHutch/COVID_modeling_schools
R
false
false
2,998
r
# analyze/ plot results of RunRollout.R (only those w/o childhood vaccination - ages 5-12) library(foreach) # set up parallel, might need to change for your system library(doParallel) registerDoParallel(cores=4) library(HutchCOVID) source("covid-model-plotting.R") load("../data/wa_counties_aggr.Rdata") # data from ...
## ------------------------------------------------------------------------ suppressWarnings(library(nhanesA)) nhanesTables('EXAM', 2005) ## ------------------------------------------------------------------------ nhanesTableVars('EXAM', 'BMX_D') ## -------------------------------------------------------------...
/nhanesA/inst/doc/Introducing_nhanesA.R
no_license
ingted/R-Examples
R
false
false
3,232
r
## ------------------------------------------------------------------------ suppressWarnings(library(nhanesA)) nhanesTables('EXAM', 2005) ## ------------------------------------------------------------------------ nhanesTableVars('EXAM', 'BMX_D') ## -------------------------------------------------------------...
# GET wrapper es_GET <- function(path, index=NULL, type=NULL, metric=NULL, node=NULL, clazz=NULL, raw, callopts=list(), ...){ checkconn() url <- make_url(es_get_auth()) index <- esc(index) type <- esc(type) if (is.null(index) && is.null(type)) { url <- paste(url, path, sep = "/")...
/R/httr-verbs.R
permissive
openbizgit/elastic
R
false
false
5,518
r
# GET wrapper es_GET <- function(path, index=NULL, type=NULL, metric=NULL, node=NULL, clazz=NULL, raw, callopts=list(), ...){ checkconn() url <- make_url(es_get_auth()) index <- esc(index) type <- esc(type) if (is.null(index) && is.null(type)) { url <- paste(url, path, sep = "/")...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/generated_client.R \name{apps_put_instances_shares_groups} \alias{apps_put_instances_shares_groups} \title{Set the permissions groups has on this object} \usage{ apps_put_instances_shares_groups(id, slug, group_ids, permission_level, share_...
/man/apps_put_instances_shares_groups.Rd
no_license
JosiahParry/civis-r
R
false
true
1,587
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/generated_client.R \name{apps_put_instances_shares_groups} \alias{apps_put_instances_shares_groups} \title{Set the permissions groups has on this object} \usage{ apps_put_instances_shares_groups(id, slug, group_ids, permission_level, share_...
signals_int = function(autorun_data, finaloutput,spectrum_index,signals_introduce,ROI_profile) { #Preparation of necessary variables and folders to store figures and information of the fitting ROI_buckets=which(round(autorun_data$ppm,6)==round(ROI_profile[1,1],6)):which(round(autorun_data$ppm,6)...
/signals_int.R
no_license
user05011988/shinyinterface
R
false
false
6,402
r
signals_int = function(autorun_data, finaloutput,spectrum_index,signals_introduce,ROI_profile) { #Preparation of necessary variables and folders to store figures and information of the fitting ROI_buckets=which(round(autorun_data$ppm,6)==round(ROI_profile[1,1],6)):which(round(autorun_data$ppm,6)...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/Grym.R \name{rampOgive} \alias{rampOgive} \title{Ramp ogive} \usage{ rampOgive(x, x50, xrange) } \arguments{ \item{x}{a matrix or vector} \item{x50}{mid-point of ramp} \item{xrange}{with of ramp} } \value{ A matrix or vector of probabilitie...
/man/rampOgive.Rd
no_license
dougkinzey/Grym
R
false
true
639
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/Grym.R \name{rampOgive} \alias{rampOgive} \title{Ramp ogive} \usage{ rampOgive(x, x50, xrange) } \arguments{ \item{x}{a matrix or vector} \item{x50}{mid-point of ramp} \item{xrange}{with of ramp} } \value{ A matrix or vector of probabilitie...
library(readr) library(readxl) library(openxlsx) library(corrplot) library(geometry) setwd("C:/Users/farka/OneDrive/Desktop/RLNOISE") complete <- read_csv("complete_task_exc.csv") partial <- read_csv("partial_task_exc.csv") all_outliers <- read_excel("all.outliers.ids.xlsx") all_outliers <- all_outliers[all_...
/match_outliers.R
permissive
FBence123/rlnoise_thesis
R
false
false
2,862
r
library(readr) library(readxl) library(openxlsx) library(corrplot) library(geometry) setwd("C:/Users/farka/OneDrive/Desktop/RLNOISE") complete <- read_csv("complete_task_exc.csv") partial <- read_csv("partial_task_exc.csv") all_outliers <- read_excel("all.outliers.ids.xlsx") all_outliers <- all_outliers[all_...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/cloudwatchevidently_operations.R \name{cloudwatchevidently_list_segments} \alias{cloudwatchevidently_list_segments} \title{Returns a list of audience segments that you have created in your account in this Region} \usage{ cloudwatchevidently_l...
/cran/paws.management/man/cloudwatchevidently_list_segments.Rd
permissive
paws-r/paws
R
false
true
927
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/cloudwatchevidently_operations.R \name{cloudwatchevidently_list_segments} \alias{cloudwatchevidently_list_segments} \title{Returns a list of audience segments that you have created in your account in this Region} \usage{ cloudwatchevidently_l...
library(GENEAread) ### Name: stft ### Title: Computes Short Time Fourier Transforms ### Aliases: stft ### ** Examples ## Not run: ##D #Some artificial data ##D time = 1:5000 ##D #sum of two sine curves at 0.3 Hz and 0.05 Hz ##D f1 = 0.3; f2 = 0.05 ##D sin1 = sin(time * f1 * 2*pi) ##D sin2 = sin(time * f2 * 2*pi) #...
/data/genthat_extracted_code/GENEAread/examples/stft.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
2,437
r
library(GENEAread) ### Name: stft ### Title: Computes Short Time Fourier Transforms ### Aliases: stft ### ** Examples ## Not run: ##D #Some artificial data ##D time = 1:5000 ##D #sum of two sine curves at 0.3 Hz and 0.05 Hz ##D f1 = 0.3; f2 = 0.05 ##D sin1 = sin(time * f1 * 2*pi) ##D sin2 = sin(time * f2 * 2*pi) #...
##===================================== ## Aula 3 - Datas e Strings ##===================================== # comando para limpar a memória rm(list = ls()) ## Antes de começar =================================== # Como mudar somente um valor de uma determinada # variável?? library(haven) libra...
/aula_3.R
no_license
thiago-ms-cp/programacao_iesp
R
false
false
7,281
r
##===================================== ## Aula 3 - Datas e Strings ##===================================== # comando para limpar a memória rm(list = ls()) ## Antes de começar =================================== # Como mudar somente um valor de uma determinada # variável?? library(haven) libra...
testlist <- list(ends = c(-1125300777L, 765849512L, -1760774663L, 791623263L, 1358782356L, -128659642L, -14914341L, 1092032927L, 1837701012L, 1632068659L), pts = c(1758304897L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L,...
/IntervalSurgeon/inst/testfiles/rcpp_pile/AFL_rcpp_pile/rcpp_pile_valgrind_files/1609874592-test.R
no_license
akhikolla/updated-only-Issues
R
false
false
729
r
testlist <- list(ends = c(-1125300777L, 765849512L, -1760774663L, 791623263L, 1358782356L, -128659642L, -14914341L, 1092032927L, 1837701012L, 1632068659L), pts = c(1758304897L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L,...
\name{FairSkillScore} \alias{FairBrierSs} \alias{FairCrpss} \title{Calculate Fair Brier skill score or continous ranked probability skill score for competing ensemble forecasts.} \description{ Calculate the fair Brier or continuous ranked probability skill score between two competing ensemble forecasts for the same o...
/man/FairSkillScore.Rd
no_license
sieste/specs-verification-git
R
false
false
1,435
rd
\name{FairSkillScore} \alias{FairBrierSs} \alias{FairCrpss} \title{Calculate Fair Brier skill score or continous ranked probability skill score for competing ensemble forecasts.} \description{ Calculate the fair Brier or continuous ranked probability skill score between two competing ensemble forecasts for the same o...
##' Load Dataset for Paramater Data Assimilation ##' ##' @title Load Dataset for Paramater Data Assimilation ##' ##' This function is used to load and preprocess data for PDA. It is expected to be moved / merged ##' with a more general PEcAn 'load.data' function eventually. ##' ##' @param settings = PEcAn settings li...
/modules/assim.batch/R/pda.load.data.R
permissive
mdekauwe/pecan
R
false
false
3,481
r
##' Load Dataset for Paramater Data Assimilation ##' ##' @title Load Dataset for Paramater Data Assimilation ##' ##' This function is used to load and preprocess data for PDA. It is expected to be moved / merged ##' with a more general PEcAn 'load.data' function eventually. ##' ##' @param settings = PEcAn settings li...
#Created by Parth Patel, DBI @ University of Delaware, Newark, Delaware 19717 #Date created: 03/29/2018 ##This script builds and runs RShiny app using example feature file and machine learning algorithms. library(shiny) # hiny library source("datarep.R") #Uploading data file ("Features.csv") using another R...
/my_app/app.R
no_license
pupatel/RShinyApp
R
false
false
5,233
r
#Created by Parth Patel, DBI @ University of Delaware, Newark, Delaware 19717 #Date created: 03/29/2018 ##This script builds and runs RShiny app using example feature file and machine learning algorithms. library(shiny) # hiny library source("datarep.R") #Uploading data file ("Features.csv") using another R...
# load required packages source('dependencies.R') # load global objects GlobalFileList <- list.files(path="globals/", pattern="*.R",full.names = TRUE, recursive = TRUE) sapply(GlobalFileList,source,.GlobalEnv) # load all modules ModuleFileList <- list.files(path="R/", pattern="*.R",full.names = TRUE, recursive = T...
/Proteome/global.R
no_license
cusom/CUSOM.COVIDome.Shiny-Apps
R
false
false
417
r
# load required packages source('dependencies.R') # load global objects GlobalFileList <- list.files(path="globals/", pattern="*.R",full.names = TRUE, recursive = TRUE) sapply(GlobalFileList,source,.GlobalEnv) # load all modules ModuleFileList <- list.files(path="R/", pattern="*.R",full.names = TRUE, recursive = T...
library(tidyverse) library(patchwork) load(file = "temp/out_temporal.RData") fire <- read_csv("data/eea_fire/eea_burned_area.csv") fire <- fire %>% dplyr::rename(total_eumed5 = `Total EUMED5`, other_countries = `Other countries`, year = Year) %>% gather(key = country, value = fire...
/lib/misc/comparison_to_eea_fire.R
no_license
corneliussenf/AgentAttributionEurope
R
false
false
6,257
r
library(tidyverse) library(patchwork) load(file = "temp/out_temporal.RData") fire <- read_csv("data/eea_fire/eea_burned_area.csv") fire <- fire %>% dplyr::rename(total_eumed5 = `Total EUMED5`, other_countries = `Other countries`, year = Year) %>% gather(key = country, value = fire...
/learning/Chapter8.R
no_license
freshjx/R-Program
R
false
false
9,119
r
require(maps);require(maptools):require(spdep) dpad <- scale(dsel <- USArrests[-c(2, 11), c(1, 2, 4)]) usa.m <- map("state", fill = TRUE, col = "transparent", plot = FALSE) IDs <- sapply(strsplit(usa.m$names, ":"), function(x) x[1]) usa.pl <- map2SpatialPolygons(usa.m, IDs = IDs) usa48.nb <- subset(poly2nb(usa.pl)...
/R/SPATIAL/skateR_USA.R
no_license
maxbiostat/CODE
R
false
false
681
r
require(maps);require(maptools):require(spdep) dpad <- scale(dsel <- USArrests[-c(2, 11), c(1, 2, 4)]) usa.m <- map("state", fill = TRUE, col = "transparent", plot = FALSE) IDs <- sapply(strsplit(usa.m$names, ":"), function(x) x[1]) usa.pl <- map2SpatialPolygons(usa.m, IDs = IDs) usa48.nb <- subset(poly2nb(usa.pl)...
test_that("with_abort() promotes base errors to rlang errors", { f <- function() g() g <- function() h() h <- function() stop("Low-level message") a <- function() b() b <- function() c() c <- function() { tryCatch( with_abort(f()), error = function(err) { abort("High-level message",...
/tests/testthat/test-cnd-entrace.R
permissive
eutwt/rlang
R
false
false
6,584
r
test_that("with_abort() promotes base errors to rlang errors", { f <- function() g() g <- function() h() h <- function() stop("Low-level message") a <- function() b() b <- function() c() c <- function() { tryCatch( with_abort(f()), error = function(err) { abort("High-level message",...
options(stringsAsFactors=FALSE) library(ChemmineR) library(MASS) library(BayesianGLasso) library(dplyr) library(tidyr) library(ggplot2) setwd("~/gdrive/Dissertation/Aim2") ############ Untargeted data ############ setwd("~/gdrive/AthroMetab/") spec<-read.csv("Data/AthroACSRawSpectra.csv") key<-read.csv("Data/metaboli...
/athroExampleV2.R
no_license
trainorp/Aim2
R
false
false
8,836
r
options(stringsAsFactors=FALSE) library(ChemmineR) library(MASS) library(BayesianGLasso) library(dplyr) library(tidyr) library(ggplot2) setwd("~/gdrive/Dissertation/Aim2") ############ Untargeted data ############ setwd("~/gdrive/AthroMetab/") spec<-read.csv("Data/AthroACSRawSpectra.csv") key<-read.csv("Data/metaboli...
library(testthat) library(twelvedays) test_that("sing_day works", { correct_result <- "5 boyfriends a-flocking" my_result <- sing_day(x, "first", 1, "highlight a-bleaming") expect_equal(my_result, correct_result) })
/tests/testthat/test-sing_day.R
permissive
jas-min/twelvedays
R
false
false
226
r
library(testthat) library(twelvedays) test_that("sing_day works", { correct_result <- "5 boyfriends a-flocking" my_result <- sing_day(x, "first", 1, "highlight a-bleaming") expect_equal(my_result, correct_result) })
p.adjust(c(wilcox.test(coevo.PureAntiMatching,coevo.pureMatching)$p.value,wilcox.test(coevoSpt.PureAntiMatching,std.PureAntiMatching)$p.value,wilcox.test(coevoSpt.PureAntiMatching,stdSpatial.PureAntiMatching)$p.value,wilcox.test(stdSpatial.PureAntiMatching,std.PureAntiMatching)$p.value,wilcox.test(coevo.PureAntiMatchin...
/Experiment Data/graphGenerator.R
no_license
Fozefy/GeneticAlgorithm
R
false
false
28,249
r
p.adjust(c(wilcox.test(coevo.PureAntiMatching,coevo.pureMatching)$p.value,wilcox.test(coevoSpt.PureAntiMatching,std.PureAntiMatching)$p.value,wilcox.test(coevoSpt.PureAntiMatching,stdSpatial.PureAntiMatching)$p.value,wilcox.test(stdSpatial.PureAntiMatching,std.PureAntiMatching)$p.value,wilcox.test(coevo.PureAntiMatchin...
# ### A2: TTC - Part 1 Script ### # Please write your full name(s) here: # Please write your UTORid(s) here: ### # Sets the working directory as the one this script is in (you must source this # script in RStudio for this to work.) # setwd(getSrcDirectory(function(dummy) {})) #Peter:remember to change the di...
/traffic_delay_record/ttc_trips.R
no_license
PeterLW/R-Fundemental
R
false
false
8,421
r
# ### A2: TTC - Part 1 Script ### # Please write your full name(s) here: # Please write your UTORid(s) here: ### # Sets the working directory as the one this script is in (you must source this # script in RStudio for this to work.) # setwd(getSrcDirectory(function(dummy) {})) #Peter:remember to change the di...
\docType{data} \name{cellCycleKO} \alias{cellCycleKO} \title{A dataset based on Reimand \emph{et al} and Hu \emph{et al}. It contains lists yeast genes that were most influenced by 12 cell cycle related transcription factor knockouts. The dataset is a list with 3 slots \enumerate{ \item \code{gl} - set of gene lists i...
/man/cellCycleKO.Rd
no_license
weiquanpan/RobustRankAggreg
R
false
false
1,737
rd
\docType{data} \name{cellCycleKO} \alias{cellCycleKO} \title{A dataset based on Reimand \emph{et al} and Hu \emph{et al}. It contains lists yeast genes that were most influenced by 12 cell cycle related transcription factor knockouts. The dataset is a list with 3 slots \enumerate{ \item \code{gl} - set of gene lists i...
## Game of Life (http://en.wikipedia.org/wiki/The_Game_of_Life) ## code by Linlin Yan <linlin.yan@cos.name> ## URL: http://cos.name/cn/topic/15402 row <- 100 col <- 100 init_life <- function(p) { m <- matrix(ifelse(runif(row * col) < p, 1, 0), row, col) m[1, ] = -1 m[row, ] = -1 m[, 1] = -1 m[, col]...
/demo/GameOfLife.r
no_license
Schlusie/fun
R
false
false
977
r
## Game of Life (http://en.wikipedia.org/wiki/The_Game_of_Life) ## code by Linlin Yan <linlin.yan@cos.name> ## URL: http://cos.name/cn/topic/15402 row <- 100 col <- 100 init_life <- function(p) { m <- matrix(ifelse(runif(row * col) < p, 1, 0), row, col) m[1, ] = -1 m[row, ] = -1 m[, 1] = -1 m[, col]...
######################## ## Local Message Number ######################## setMethod("localMessageNumber", signature = "FitMessageHeader", function(object) { if(object@is_compressed) .binaryToInt(object@raw_rep[6:7]) else .binaryToInt(...
/R/methods_Messages_accessors.R
no_license
vlcvboyer/FITfileR
R
false
false
1,814
r
######################## ## Local Message Number ######################## setMethod("localMessageNumber", signature = "FitMessageHeader", function(object) { if(object@is_compressed) .binaryToInt(object@raw_rep[6:7]) else .binaryToInt(...
/CosineSimilarity_usingR_Final.R
no_license
simplyanalyticks/CosineSimilarity
R
false
false
9,860
r
# # Copyright 2007-2016 The OpenMx Project # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable ...
/R/MxOptions.R
permissive
falkcarl/OpenMx
R
false
false
8,774
r
# # Copyright 2007-2016 The OpenMx Project # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable ...
## Plot 4 is a composite plot ## Top left is global active power against day ## top right is voltage against datetime ## bottom left is energy sub metering against day ## bottom right is global reactive power against day library(data.table) data <- read.table("household_power_consumption.txt", header = T, ...
/plot4.R
no_license
abicollopy/ExploratoryDataAnalysis
R
false
false
1,662
r
## Plot 4 is a composite plot ## Top left is global active power against day ## top right is voltage against datetime ## bottom left is energy sub metering against day ## bottom right is global reactive power against day library(data.table) data <- read.table("household_power_consumption.txt", header = T, ...
# talk palette for rotation clr_cc <- "gold" # hex"#FFD700" clr_rot <- "green4" # hex "#008B00" clr_div <- "darkorchid4" # hex "#68228B" clr_red <- "#FF4500" clr_blu <- "#00B2EE" clr_or <- "#EE9A00" clr_ltpur <- "#AB82FF" #--general theme with bigger fonts bigtheme <- theme( axis.title.y = element_t...
/05_talk-figs/talk-palette3.R
no_license
vanichols/ghproj_ccgap
R
false
false
731
r
# talk palette for rotation clr_cc <- "gold" # hex"#FFD700" clr_rot <- "green4" # hex "#008B00" clr_div <- "darkorchid4" # hex "#68228B" clr_red <- "#FF4500" clr_blu <- "#00B2EE" clr_or <- "#EE9A00" clr_ltpur <- "#AB82FF" #--general theme with bigger fonts bigtheme <- theme( axis.title.y = element_t...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/MetaIO.R \name{cRyy} \alias{cRyy} \title{cRyy} \usage{ cRyy(x) } \arguments{ \item{x}{Meta-analytic data} } \value{ Meta-analytic data corrected for dependent variable reliability } \description{ Description: Conduct reliability correction fo...
/man/cRyy.Rd
no_license
qcsong/MetaInd
R
false
true
393
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/MetaIO.R \name{cRyy} \alias{cRyy} \title{cRyy} \usage{ cRyy(x) } \arguments{ \item{x}{Meta-analytic data} } \value{ Meta-analytic data corrected for dependent variable reliability } \description{ Description: Conduct reliability correction fo...
#' Plotting the Posterior Estimates of the Bias Weights #' #' Plotting method for class \code{sampbias}, generating a box-whiskers-plot #' showing the bias weights for all biasing factors #' indicating the effect strength for each gazetteer provided to #' \code{calculate_bias}. #' #' #' @param x an object of the class ...
/R/plot.sampbias.R
no_license
helixcn/sampbias
R
false
false
3,413
r
#' Plotting the Posterior Estimates of the Bias Weights #' #' Plotting method for class \code{sampbias}, generating a box-whiskers-plot #' showing the bias weights for all biasing factors #' indicating the effect strength for each gazetteer provided to #' \code{calculate_bias}. #' #' #' @param x an object of the class ...
########################################################### ##### The conditional density of the daily return #### ########################################################### Retdensity <- function(para_h,Ret,h,r) { # para_h<-c() set up the parameters of the model a0=para_h[1]; a1=para_h[2]; a2=para_h[3...
/estimationJob/New_simulation/NIG_GARCH_GJR/NIG_GARCH_GJR_ret_vix/Loglik_Ret_VIX_GJR.R
no_license
Fanirisoa/dynamic_pricing
R
false
false
5,455
r
########################################################### ##### The conditional density of the daily return #### ########################################################### Retdensity <- function(para_h,Ret,h,r) { # para_h<-c() set up the parameters of the model a0=para_h[1]; a1=para_h[2]; a2=para_h[3...
#Assignment 7 #Section 1--------------------------------------------------------------------------------------------------------- cor.values <- c(1.000,0.210,0.370,-0.32,0.000,-0.31,-0.26,0.090,-0.38, 0.210,1.000,0.090,-0.29,0.120, -0.30,-0.14,0.010,-0.39, 0.370,0.090,1.000,-0.31,-0.04,-0.30,-0.11,0....
/Week 7/Assignment 7/Assignment7.R
no_license
zeelat7/RegressionMultivariateAnalysis
R
false
false
1,800
r
#Assignment 7 #Section 1--------------------------------------------------------------------------------------------------------- cor.values <- c(1.000,0.210,0.370,-0.32,0.000,-0.31,-0.26,0.090,-0.38, 0.210,1.000,0.090,-0.29,0.120, -0.30,-0.14,0.010,-0.39, 0.370,0.090,1.000,-0.31,-0.04,-0.30,-0.11,0....
% Generated by roxygen2 (4.0.1): do not edit by hand \name{gx} \alias{avg_gx} \alias{gx} \alias{gx.eps} \title{Half-normal detection and related functions} \usage{ gx(x,sigma) gx.eps(x,eps,par,dm=NULL) avg_gx(x,par,weps=5,dm=NULL) } \arguments{ \item{x}{distance} \item{sigma}{half-norma...
/RandomScale/man/gx.Rd
no_license
jlaake/RandomScale
R
false
false
655
rd
% Generated by roxygen2 (4.0.1): do not edit by hand \name{gx} \alias{avg_gx} \alias{gx} \alias{gx.eps} \title{Half-normal detection and related functions} \usage{ gx(x,sigma) gx.eps(x,eps,par,dm=NULL) avg_gx(x,par,weps=5,dm=NULL) } \arguments{ \item{x}{distance} \item{sigma}{half-norma...
rm(list = ls()) library(UnbiasedScore) library(tictoc) # load simulated dataset load("inst/ornstein_uhlenbeck/simulated_data_T25.RData") # coupled 2-marginal resampling scheme coupled2_resampling <- coupled2_maximal_independent_residuals # coupled2_resampling <- coupled2_maximal_coupled_residuals # coupled2_resamplin...
/inst/ornstein_uhlenbeck/simulate_increments_levels.R
no_license
jeremyhengjm/UnbiasedScore
R
false
false
4,814
r
rm(list = ls()) library(UnbiasedScore) library(tictoc) # load simulated dataset load("inst/ornstein_uhlenbeck/simulated_data_T25.RData") # coupled 2-marginal resampling scheme coupled2_resampling <- coupled2_maximal_independent_residuals # coupled2_resampling <- coupled2_maximal_coupled_residuals # coupled2_resamplin...
context("default client") test_that("set default", { default_client_del() default_client_set(http_client_type = "null") expect_equal(default_client_get()$connection_info()$http_client_type, "null") expect_equal(force_docker_binding()$connection_info()$http_client_type, "null") }...
/tests/testthat/test-default.R
permissive
karthik/stevedore
R
false
false
1,625
r
context("default client") test_that("set default", { default_client_del() default_client_set(http_client_type = "null") expect_equal(default_client_get()$connection_info()$http_client_type, "null") expect_equal(force_docker_binding()$connection_info()$http_client_type, "null") }...
# rland.points.R # Planar Point Processes #' Creates a set of random points using up to 4 methods. #' #' This is called by rlandscape to generate points. #' #' @param n a vector of length up to 4 specifying how many points to create by each method: #' uniform, lattice, cluster, and inhibition (SSI), respectively. #' @...
/R/rland.points.R
no_license
cran/rlandscape
R
false
false
7,212
r
# rland.points.R # Planar Point Processes #' Creates a set of random points using up to 4 methods. #' #' This is called by rlandscape to generate points. #' #' @param n a vector of length up to 4 specifying how many points to create by each method: #' uniform, lattice, cluster, and inhibition (SSI), respectively. #' @...
getGraphIDs <- function(pathway, name, host="localhost", port="9000", path=NA){ if (missing(pathway)) stop("You must provide a pathway name."); if (missing(name)) stop("You must provide the name of the element"); if (is.na(path)) path = getwd(); pwyPath = paste(path,"/",pathway,".gpml",sep="") hostUrl = past...
/RPathVisio/R/getGraphIDs.R
no_license
PathVisio/RPathVisio
R
false
false
420
r
getGraphIDs <- function(pathway, name, host="localhost", port="9000", path=NA){ if (missing(pathway)) stop("You must provide a pathway name."); if (missing(name)) stop("You must provide the name of the element"); if (is.na(path)) path = getwd(); pwyPath = paste(path,"/",pathway,".gpml",sep="") hostUrl = past...
devtools::load_all('/imppc/labs/lplab/share/marc/repos/ergWgsTools') bam_path <- '/imppc/labs/lplab/share/marc/insulinomas/processed/hg38/bam/bwa/reheader' out_path <- '/imppc/labs/lplab/share/marc/insulinomas/processed/hg38/bam/bwa/reheader/done' bams <- list.files(bam_path, pattern = "\\.bam$", ...
/tmp/reheaderBam_sge.R
no_license
msubirana/ergWgsTools
R
false
false
925
r
devtools::load_all('/imppc/labs/lplab/share/marc/repos/ergWgsTools') bam_path <- '/imppc/labs/lplab/share/marc/insulinomas/processed/hg38/bam/bwa/reheader' out_path <- '/imppc/labs/lplab/share/marc/insulinomas/processed/hg38/bam/bwa/reheader/done' bams <- list.files(bam_path, pattern = "\\.bam$", ...
splineCV<-function(k,dat,y,x,d){ #strings for generating formula s1<- paste(deparse(substitute(y)),"~") #y~ s2<-paste("te$",deparse(substitute(y)),sep="") sx<-deparse(substitute(x)) sd<-deparse(substitute(d)) s4<-paste("ns(",sx,", df=",d,")") s3<-paste(s1,s4) #formula for full model size=dim(dat)[1] ...
/kfokd CV spline.R
no_license
qingyili/Rcode
R
false
false
726
r
splineCV<-function(k,dat,y,x,d){ #strings for generating formula s1<- paste(deparse(substitute(y)),"~") #y~ s2<-paste("te$",deparse(substitute(y)),sep="") sx<-deparse(substitute(x)) sd<-deparse(substitute(d)) s4<-paste("ns(",sx,", df=",d,")") s3<-paste(s1,s4) #formula for full model size=dim(dat)[1] ...
colmeans <- function(y, removeNa = TRUE){ nc <- ncol(y) means <- numeric(nc) for(i in 1:nc){ means[i] <- mean(y[,i], na.rm = removeNa) } means } myplot <- function(x, y = NULL, type = "l", ...){ plot(x, y, type = type, ...) }
/sampleFunc.R
no_license
ssekaran13/RProgramming
R
false
false
269
r
colmeans <- function(y, removeNa = TRUE){ nc <- ncol(y) means <- numeric(nc) for(i in 1:nc){ means[i] <- mean(y[,i], na.rm = removeNa) } means } myplot <- function(x, y = NULL, type = "l", ...){ plot(x, y, type = type, ...) }
library(tidyverse) df1 <- read.csv('intrvw18/fmli181x.csv') df2 <- read.csv('intrvw18/fmli182.csv') df3 <- read.csv('intrvw18/fmli183.csv') df4 <- read.csv('intrvw18/fmli184.csv') df5 <- read.csv('intrvw18/fmli191.csv') # See this pdf for variable names & codebok: http://data.nber.org/ces/2004/Documentation/Intdoc04%...
/consumer_expenditure_survey_meanmedian.R
no_license
ingridstevens/cpi-data
R
false
false
10,102
r
library(tidyverse) df1 <- read.csv('intrvw18/fmli181x.csv') df2 <- read.csv('intrvw18/fmli182.csv') df3 <- read.csv('intrvw18/fmli183.csv') df4 <- read.csv('intrvw18/fmli184.csv') df5 <- read.csv('intrvw18/fmli191.csv') # See this pdf for variable names & codebok: http://data.nber.org/ces/2004/Documentation/Intdoc04%...
library(SDSFoundations) world <- WorldBankData denmark <- world[world$Country == 'Denmark',] denmark_select <- denmark[denmark$year >= 1990,] denmark_select$time <- denmark_select$year - 1990 denmark_select$internet.prop <- denmark_select$internet.users / denmark_select$population expFit(denmark_select$time, denmar...
/week6 lab.R
no_license
danalenvargas/statistics-data-analysis-exercises
R
false
false
517
r
library(SDSFoundations) world <- WorldBankData denmark <- world[world$Country == 'Denmark',] denmark_select <- denmark[denmark$year >= 1990,] denmark_select$time <- denmark_select$year - 1990 denmark_select$internet.prop <- denmark_select$internet.users / denmark_select$population expFit(denmark_select$time, denmar...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/zncc.r \name{getAverage} \alias{getAverage} \title{Window mean} \usage{ getAverage(object, u, v, n) } \arguments{ \item{object}{\code{\link{SAR-class}} object (or a subclass e.g. \code{\link{Sentinel-class}} or \code{\link{TSX-class}}).} \it...
/man/getAverage.Rd
no_license
chezulkhairi/ragram
R
false
true
614
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/zncc.r \name{getAverage} \alias{getAverage} \title{Window mean} \usage{ getAverage(object, u, v, n) } \arguments{ \item{object}{\code{\link{SAR-class}} object (or a subclass e.g. \code{\link{Sentinel-class}} or \code{\link{TSX-class}}).} \it...
# exercise 4.3.1 # clear the workspace rm(list=ls()) # Load the data library(R.matlab) dat <- readMat(file.path('Data', 'wine.mat')) # view content of the Matlab data structure wine.mat names(dat) # extract variables X <- dat$X y <- dat$y N <- dat$N M <- dat$M C <- dat$C classNames <- dat$classNames attributeNames <- d...
/DTU_ML_kursus/02450Toolbox_R/Scripts/ex4_3_1.R
no_license
AnnaLHansen/projects
R
false
false
2,981
r
# exercise 4.3.1 # clear the workspace rm(list=ls()) # Load the data library(R.matlab) dat <- readMat(file.path('Data', 'wine.mat')) # view content of the Matlab data structure wine.mat names(dat) # extract variables X <- dat$X y <- dat$y N <- dat$N M <- dat$M C <- dat$C classNames <- dat$classNames attributeNames <- d...
c DCNF-Autarky [version 0.0.1]. c Copyright (c) 2018-2019 Swansea University. c c Input Clause Count: 8926 c Performing E1-Autarky iteration. c Remaining clauses count after E-Reduction: 8926 c c Input Parameter (command line, file): c input filename QBFLIB/Amendola-Ricca-Truszczynski/selection-hard/ctrl.e#1.a#3....
/code/dcnf-ankit-optimized/Results/QBFLIB-2018/E1/Experiments/Amendola-Ricca-Truszczynski/selection-hard/ctrl.e#1.a#3.E#124.A#48.c#.w#3.s#41.asp/ctrl.e#1.a#3.E#124.A#48.c#.w#3.s#41.asp.R
no_license
arey0pushpa/dcnf-autarky
R
false
false
726
r
c DCNF-Autarky [version 0.0.1]. c Copyright (c) 2018-2019 Swansea University. c c Input Clause Count: 8926 c Performing E1-Autarky iteration. c Remaining clauses count after E-Reduction: 8926 c c Input Parameter (command line, file): c input filename QBFLIB/Amendola-Ricca-Truszczynski/selection-hard/ctrl.e#1.a#3....
## Water specific date functions ################################# #' @name hydrologic_date_functions #' @title Hydrologic date helper functions #' @author Evan Heisman #' @description Provides 'lubridate' type functions for getting numeric values from `Date` and `POSIXt` objects based on the water year. #' @note \co...
/R/datetime.R
permissive
eheisman/hydroutils
R
false
false
3,217
r
## Water specific date functions ################################# #' @name hydrologic_date_functions #' @title Hydrologic date helper functions #' @author Evan Heisman #' @description Provides 'lubridate' type functions for getting numeric values from `Date` and `POSIXt` objects based on the water year. #' @note \co...