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
#' Explore time series seasonality #' #' Creates side-by-side boxplots for analyzing seasonality for weekly, monthly, and quarterly time series tibbles. #' #' @param ts_df A tibble containing dates in column labeled 'ds' and values in column labeled 'y'. #' @param ts_type A string indicating the type of time series. Va...
/R/ts_seasonality.R
permissive
travisander7/tsfuncs
R
false
false
1,754
r
#' Explore time series seasonality #' #' Creates side-by-side boxplots for analyzing seasonality for weekly, monthly, and quarterly time series tibbles. #' #' @param ts_df A tibble containing dates in column labeled 'ds' and values in column labeled 'y'. #' @param ts_type A string indicating the type of time series. Va...
/RO_Duvignau_Boissavy.R
no_license
Wapps3/ProjetRo
R
false
false
5,152
r
"Usage: cpgs_validation.R [--cpg_file <cpg>] (--out1 <O1>) (--out2 <O2>) <input1> <input2> -h --help show this --out1 name1 specify the name for the first output file cpgs_validation.R -h | --help show this message " -> doc # load the docopt library require(docopt) # retrieve the command-line arguments opts ...
/cpgs_validation.R
no_license
wendelljpereira/ms-dart-seq
R
false
false
10,445
r
"Usage: cpgs_validation.R [--cpg_file <cpg>] (--out1 <O1>) (--out2 <O2>) <input1> <input2> -h --help show this --out1 name1 specify the name for the first output file cpgs_validation.R -h | --help show this message " -> doc # load the docopt library require(docopt) # retrieve the command-line arguments opts ...
\name{roundNicely} \alias{roundNicely} \title{ Round a number to a "nice round number" } \description{ Given a number or numeric vector, rounds each value up or down to something suitable for using as the limit of a plot. } \usage{ roundNicely(x, down=F) } \arguments{ \item{x}{number or numeric vector to be rounded...
/archive/v0.8/diplot/man/roundNicely.Rd
no_license
shaptonstahl/DiPlot
R
false
false
739
rd
\name{roundNicely} \alias{roundNicely} \title{ Round a number to a "nice round number" } \description{ Given a number or numeric vector, rounds each value up or down to something suitable for using as the limit of a plot. } \usage{ roundNicely(x, down=F) } \arguments{ \item{x}{number or numeric vector to be rounded...
#' Data generation #' #' This function can be used to generate datasets based on an object of class \code{gen.itembank}. #' The user can manipulate the examinees' attribute distribution or provide a matrix of attribute profiles. #' Data are simulated using the \code{GDINA::simGDINA} function (Ma & de la Torre, 2020). #...
/R/gen.data.R
no_license
jafantonalgo/cdcatR
R
false
false
8,905
r
#' Data generation #' #' This function can be used to generate datasets based on an object of class \code{gen.itembank}. #' The user can manipulate the examinees' attribute distribution or provide a matrix of attribute profiles. #' Data are simulated using the \code{GDINA::simGDINA} function (Ma & de la Torre, 2020). #...
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/1609866890-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...
Raw_data <- reactive({ req(input$file1) df <- read.csv(input$file1$datapath) return(data) }) # output$show_df<-renderTable({ # req(input$file1) # data<-read.csv(input$file1$datapath, # header = TRUE, # sep = ",", # quote = '"' # ) # ret...
/projects/project3-dataframe/test.R
no_license
uvarc/advanced-shiny
R
false
false
1,194
r
Raw_data <- reactive({ req(input$file1) df <- read.csv(input$file1$datapath) return(data) }) # output$show_df<-renderTable({ # req(input$file1) # data<-read.csv(input$file1$datapath, # header = TRUE, # sep = ",", # quote = '"' # ) # ret...
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 = getinverse) } cacheSo...
/cachematrix.R
no_license
KeyvanSadri/ProgrammingAssignment2
R
false
false
518
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 = getinverse) } cacheSo...
\name{deermouse} \docType{data} \alias{deermouse} \alias{deermouse.ESG} \alias{deermouse.WSG} \title{ Deermouse Live-trapping Datasets } \description{ Data of V. H. Reid from live trapping of deermice (\emph{Peromyscus maniculatus}) at two sites in Colorado, USA. } \usage{ deermouse.ESG deer...
/man/deermouse.Rd
no_license
cran/secr
R
false
false
4,423
rd
\name{deermouse} \docType{data} \alias{deermouse} \alias{deermouse.ESG} \alias{deermouse.WSG} \title{ Deermouse Live-trapping Datasets } \description{ Data of V. H. Reid from live trapping of deermice (\emph{Peromyscus maniculatus}) at two sites in Colorado, USA. } \usage{ deermouse.ESG deer...
library(dplyr) rankhospital<-function(state,outcome,num="best"){ #read data data<-read.csv("Dataset/outcome-of-care-measures.csv",colClasses = "character") #data validation possible_outcome<-c("heart attack","heart failure","pneumonia") if (any(data$State==state)) { message("**Your state paramet...
/rankhospital.R
no_license
TharindraParanagama/Assignment-3
R
false
false
3,865
r
library(dplyr) rankhospital<-function(state,outcome,num="best"){ #read data data<-read.csv("Dataset/outcome-of-care-measures.csv",colClasses = "character") #data validation possible_outcome<-c("heart attack","heart failure","pneumonia") if (any(data$State==state)) { message("**Your state paramet...
require(shiny) folder_address = 'C:\Users\lopma1\Documents\GitHub\PortraitsClimMFFP\Portraits-Shiny' x <- system("ipconfig", intern=TRUE) z <- x[grep("IPv4", x)] ip <- gsub(".*? ([[:digit:]])", "\\1", z) print(paste0("the Shiny Web application runs on: http://", ip, ":80/")) runApp(folder_address, launch.browser=FALS...
/Portraits-Shiny/DeploymentMFFP.R
permissive
Ouranosinc/PortraitsClimMFFP
R
false
false
344
r
require(shiny) folder_address = 'C:\Users\lopma1\Documents\GitHub\PortraitsClimMFFP\Portraits-Shiny' x <- system("ipconfig", intern=TRUE) z <- x[grep("IPv4", x)] ip <- gsub(".*? ([[:digit:]])", "\\1", z) print(paste0("the Shiny Web application runs on: http://", ip, ":80/")) runApp(folder_address, launch.browser=FALS...
\name{tmle} \Rdversion{1.2.0-5} \alias{tmle} %- Also NEED an '\alias' for EACH other topic documented here. \title{Targeted Maximum Likelihood Estimation} \description{ Targeted maximum likelihood estimation of parameters of a marginal structural model, and of marginal treatment effects of a binary point treatment on a...
/man/tmle.Rd
no_license
migariane/tmle
R
false
false
10,874
rd
\name{tmle} \Rdversion{1.2.0-5} \alias{tmle} %- Also NEED an '\alias' for EACH other topic documented here. \title{Targeted Maximum Likelihood Estimation} \description{ Targeted maximum likelihood estimation of parameters of a marginal structural model, and of marginal treatment effects of a binary point treatment on a...
context("clean") test_that("assign_sample_numbers", { # Handles NULL expect_silent(assign_sample_numbers(NULL)) expect_null(assign_sample_numbers(NULL)) # `MPVPosition` and `DATETIME` have to be present; `Sample_number` can't be df <- data.frame(MPVPosition = 1) expect_error(assign_sample_numbers(df)) ...
/tests/testthat/test_clean.R
permissive
PNNL-TES/picarro.data
R
false
false
1,799
r
context("clean") test_that("assign_sample_numbers", { # Handles NULL expect_silent(assign_sample_numbers(NULL)) expect_null(assign_sample_numbers(NULL)) # `MPVPosition` and `DATETIME` have to be present; `Sample_number` can't be df <- data.frame(MPVPosition = 1) expect_error(assign_sample_numbers(df)) ...
# Name: Kitu Komya (UID: 404-491-375) # Class: Statistics 101A (Discussion 3A) # Assignment: Homework 4 (due: 10/20/16) --- # Note: I'm concurrently taking Stats 20, so I'm still familiarizing myself with R. #QE I am reading in the data housescrapeWW1 = read.table(file = "Kitu/College/Junior Year...
/HW 4/Week 4 Homework.R
no_license
Key2-Success/Stats-101A
R
false
false
1,454
r
# Name: Kitu Komya (UID: 404-491-375) # Class: Statistics 101A (Discussion 3A) # Assignment: Homework 4 (due: 10/20/16) --- # Note: I'm concurrently taking Stats 20, so I'm still familiarizing myself with R. #QE I am reading in the data housescrapeWW1 = read.table(file = "Kitu/College/Junior Year...
# This is the server logic for a Shiny web application. # You can find out more about building applications with Shiny here: # # http://shiny.rstudio.com # # library(rsconnect) # run this next line without uncommennting it # rsconnect::deployApp('~/Dropbox/SeaFET files/seaFetPlotter/') library(shiny) library(dplyr) l...
/server.R
no_license
umihoshijima/seaFetPlotter
R
false
false
5,347
r
# This is the server logic for a Shiny web application. # You can find out more about building applications with Shiny here: # # http://shiny.rstudio.com # # library(rsconnect) # run this next line without uncommennting it # rsconnect::deployApp('~/Dropbox/SeaFET files/seaFetPlotter/') library(shiny) library(dplyr) l...
# Evaluation of decision tree nodes ---------------------------------------------------------------- #' @title Evaluation of decision tree nodes #' @description Evaluation of decision tree nodes. All the MAUT model is computed at every level #' the utilities are computed considering the given weights. #' @param tree ...
/R/Compute.Model.R
no_license
pedroguarderas/mau
R
false
false
2,472
r
# Evaluation of decision tree nodes ---------------------------------------------------------------- #' @title Evaluation of decision tree nodes #' @description Evaluation of decision tree nodes. All the MAUT model is computed at every level #' the utilities are computed considering the given weights. #' @param tree ...
# This is a shiny word tree app library(shiny) library(collapsibleTree) library(tidyverse) library(stringr) library(googlesheets) source("helpers/read_lit_gs.R") source("helpers/split_tag_groups.R") source("helpers/split_tag_nodes.R") source("helpers/prepare_network_tree_data.R") biuldBigTree <- function(value, roo...
/inst/shinyExamples/WordTreeApp/app.R
no_license
EBukin/wordTrees
R
false
false
3,585
r
# This is a shiny word tree app library(shiny) library(collapsibleTree) library(tidyverse) library(stringr) library(googlesheets) source("helpers/read_lit_gs.R") source("helpers/split_tag_groups.R") source("helpers/split_tag_nodes.R") source("helpers/prepare_network_tree_data.R") biuldBigTree <- function(value, roo...
setwd("c:/docum180612/Francesc/fosses/def") # csv file with alleles in rows and STRs in columns. No row or column headers freqalleles<-read.csv("alleles.csv", header=FALSE) # Set manually the number of loci and maximum number of different alleles maxk<-121 maxa<-61 #Edit the number of iterations if needed nr...
/LR_uncle_nephewniece.R
no_license
fcalafell/Calafell-elp-paper-R-scripts
R
false
false
2,707
r
setwd("c:/docum180612/Francesc/fosses/def") # csv file with alleles in rows and STRs in columns. No row or column headers freqalleles<-read.csv("alleles.csv", header=FALSE) # Set manually the number of loci and maximum number of different alleles maxk<-121 maxa<-61 #Edit the number of iterations if needed nr...
#!/usr/bin/env Rscript args <- commandArgs(trailingOnly=T) image_path <- args[1] css_file <- args[2] stopifnot(dir.exists(image_path)) stopifnot(dir.exists(dirname(css_file))) images <- list.files(image_path, pattern="\\.png$", recursive=FALSE, full.names=TRUE) people <- tools::file_path_sans_ext(basename(images[!gr...
/_tools/sync_people_css.R
no_license
heathermiller/wwwcurryon
R
false
false
1,219
r
#!/usr/bin/env Rscript args <- commandArgs(trailingOnly=T) image_path <- args[1] css_file <- args[2] stopifnot(dir.exists(image_path)) stopifnot(dir.exists(dirname(css_file))) images <- list.files(image_path, pattern="\\.png$", recursive=FALSE, full.names=TRUE) people <- tools::file_path_sans_ext(basename(images[!gr...
estimateDCCMatrix_2<-function(tst, coinSummary, i, j){ garch_1_d.spec = ugarchspec(mean.model = list(armaOrder = c(min(1,max(coinSummary[i,2],0)),coinSummary[i,4])), variance.model = list(garchOrder = c(1,1), model = "sGARCH"), distribu...
/dataAnalysis/estimateDccMatrix_2.R
no_license
JudgeResearch/Judge-Research-Public-Tools
R
false
false
1,213
r
estimateDCCMatrix_2<-function(tst, coinSummary, i, j){ garch_1_d.spec = ugarchspec(mean.model = list(armaOrder = c(min(1,max(coinSummary[i,2],0)),coinSummary[i,4])), variance.model = list(garchOrder = c(1,1), model = "sGARCH"), distribu...
library(xtable) library(igraph) library(readstata13) library(ggplot2) library(fastmatch) library(Rfast) library(reshape2) ### Network Analysis ### Aug 16, 2018 ### Whether still work together the next year # read the dataset setwd("/Users/terrywu/Dropbox/MLS Network") X<-read.dta13("SD9191_market_full_w_deeds_prepp...
/Partner.R
no_license
terrytwu/MLS-Network
R
false
false
1,704
r
library(xtable) library(igraph) library(readstata13) library(ggplot2) library(fastmatch) library(Rfast) library(reshape2) ### Network Analysis ### Aug 16, 2018 ### Whether still work together the next year # read the dataset setwd("/Users/terrywu/Dropbox/MLS Network") X<-read.dta13("SD9191_market_full_w_deeds_prepp...
#load the data datafile <- "./household_power_consumption.txt" data <- read.table(datafile, header=TRUE, sep=";", stringsAsFactors=FALSE, dec=".") #get the subset of the dates for the plot subset <- data[data$Date %in% c("1/2/2007","2/2/2007") ,] # get the globalActivePower values from the subset globalActivePower <...
/plot1.R
no_license
DonResnik/ExData_Plotting1
R
false
false
584
r
#load the data datafile <- "./household_power_consumption.txt" data <- read.table(datafile, header=TRUE, sep=";", stringsAsFactors=FALSE, dec=".") #get the subset of the dates for the plot subset <- data[data$Date %in% c("1/2/2007","2/2/2007") ,] # get the globalActivePower values from the subset globalActivePower <...
## initailize data and visualize relationships in both sepal & petal irs = read.table(file.choose(), header = F, sep=',') View(irs) names(irs) =c('sepal_length','sepal_width','petal_length','petal_width','class') attach(irs) plot(sepal_length,sepal_width,col=class, xlab='length', ylab='width', main='Sepal') leg...
/A_Peak_Into_Data.R
no_license
tyueh/R-Programming
R
false
false
1,543
r
## initailize data and visualize relationships in both sepal & petal irs = read.table(file.choose(), header = F, sep=',') View(irs) names(irs) =c('sepal_length','sepal_width','petal_length','petal_width','class') attach(irs) plot(sepal_length,sepal_width,col=class, xlab='length', ylab='width', main='Sepal') leg...
\name{mdatools} \alias{mdatools} \title{ Package for Multivariate Data Analysis (Chemometrics) } \description{ This package contains classes and functions for most common methods used in Chemometrics. For a complete list of functions, use \code{library(help = 'mdatools')}. } \details{ The project is hosted on GitHub...
/man/mdatools.Rd
permissive
svkucheryavski/mdatools
R
false
false
2,952
rd
\name{mdatools} \alias{mdatools} \title{ Package for Multivariate Data Analysis (Chemometrics) } \description{ This package contains classes and functions for most common methods used in Chemometrics. For a complete list of functions, use \code{library(help = 'mdatools')}. } \details{ The project is hosted on GitHub...
data1<-read.csv("household_power_consumption.txt", header=T, sep=';', na.strings="?", nrows=2075259, check.names=F,stringsAsFactors=F, comment.char="", quote='\"') data1_sub <- subset(data1, Date %in% c("1/2/2007","2/2/2007")) data1_sub$Date<-as.Date(data1_sub$Date,format="%d/%m/%Y") datetime <- paste(as.Date(data1_sub...
/plot2.R
no_license
pranshu5/ExData_Plotting1
R
false
false
584
r
data1<-read.csv("household_power_consumption.txt", header=T, sep=';', na.strings="?", nrows=2075259, check.names=F,stringsAsFactors=F, comment.char="", quote='\"') data1_sub <- subset(data1, Date %in% c("1/2/2007","2/2/2007")) data1_sub$Date<-as.Date(data1_sub$Date,format="%d/%m/%Y") datetime <- paste(as.Date(data1_sub...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/bootstrap.R \name{confint.multiscale.cpts} \alias{confint.multiscale.cpts} \title{Confidence intervals for change points} \usage{ \method{confint}{multiscale.cpts}(object, parm = "cpts", level = 0.05, N_reps = 1000, ...) } \arguments{ \item{o...
/man/confint.multiscale.cpts.Rd
no_license
cran/mosum
R
false
true
1,871
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/bootstrap.R \name{confint.multiscale.cpts} \alias{confint.multiscale.cpts} \title{Confidence intervals for change points} \usage{ \method{confint}{multiscale.cpts}(object, parm = "cpts", level = 0.05, N_reps = 1000, ...) } \arguments{ \item{o...
sourceFun <- function(dir) { # source all file in given directory if(file.exists(dir)){ for (nm in list.files(dir, pattern = "\\.[Rr]$")) { source(file.path(dir, nm)) } }else{ message('Directory not found, sourceFun abord') } } loadOrInst<-function(pack,...){ # load or install packages # packa...
/fun/sourceFun.R
no_license
fxi/LebaMod
R
false
false
660
r
sourceFun <- function(dir) { # source all file in given directory if(file.exists(dir)){ for (nm in list.files(dir, pattern = "\\.[Rr]$")) { source(file.path(dir, nm)) } }else{ message('Directory not found, sourceFun abord') } } loadOrInst<-function(pack,...){ # load or install packages # packa...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/russett-data.r \docType{data} \name{russa} \alias{russa} \title{Russett A} \format{A data frame with 47 rows and 9 columns} \usage{ russa } \description{ Russett dataset with variable \code{demo} as numeric variable } \keyword{datasets}
/man/russa.Rd
no_license
kongdd/plspm
R
false
true
315
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/russett-data.r \docType{data} \name{russa} \alias{russa} \title{Russett A} \format{A data frame with 47 rows and 9 columns} \usage{ russa } \description{ Russett dataset with variable \code{demo} as numeric variable } \keyword{datasets}
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/extentTogdal.R \name{extentTogdal} \alias{extentTogdal} \title{Convert raster extnet to gdal extent} \usage{ extentTogdal(x) } \arguments{ \item{x}{ratser* or raster::extent object} } \value{ numeric vector with corner coordinates (xmin, ymin...
/man/extentTogdal.Rd
permissive
JornDallinga/probaV
R
false
true
390
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/extentTogdal.R \name{extentTogdal} \alias{extentTogdal} \title{Convert raster extnet to gdal extent} \usage{ extentTogdal(x) } \arguments{ \item{x}{ratser* or raster::extent object} } \value{ numeric vector with corner coordinates (xmin, ymin...
iris
/file2.R
no_license
Tejesh-471/ranalytics
R
false
false
6
r
iris
#' feature plots to file #' #' This function to plots a scatter plot, a histogram, and a few summary statistics of each feature in a data frame to a pdf file #' #' @param wdata a data frame of feature (ex: metabolite or protein) abundance levels #' @param outdir output directory path #' @param nsd number of SD from the...
/R/feature_plots.R
permissive
yiheng-aug30/metaboprep
R
false
false
3,241
r
#' feature plots to file #' #' This function to plots a scatter plot, a histogram, and a few summary statistics of each feature in a data frame to a pdf file #' #' @param wdata a data frame of feature (ex: metabolite or protein) abundance levels #' @param outdir output directory path #' @param nsd number of SD from the...
#Black Litterman model #Download Sp500 stocks library(rvest) library(TTR) library(plyr) library(quantmod) library(alphavantager) setwd('/Users/mihailtsonev/Desktop/Research_03_14/') library(readr) sp500 <- read.csv("sp500_symbols.csv") data=as.data.frame(sp500) data[,'year']=as.character(substr(data$date,1,4)) dat...
/Black_litterman_industries_sp500.R
no_license
MihailTso/Personal_Projects
R
false
false
10,121
r
#Black Litterman model #Download Sp500 stocks library(rvest) library(TTR) library(plyr) library(quantmod) library(alphavantager) setwd('/Users/mihailtsonev/Desktop/Research_03_14/') library(readr) sp500 <- read.csv("sp500_symbols.csv") data=as.data.frame(sp500) data[,'year']=as.character(substr(data$date,1,4)) dat...
% Generated by roxygen2 (4.1.1): do not edit by hand % Please edit documentation in R/outcome_vector_tools.R \name{isMode} \alias{isMode} \title{Check to see if an outcome vector is associated with a particular interaction mode} \usage{ isMode(ov, pwt_n) } \arguments{ \item{ov}{numeric or character vector of length n =...
/man/isMode.Rd
no_license
taylo5jm/interactions
R
false
false
648
rd
% Generated by roxygen2 (4.1.1): do not edit by hand % Please edit documentation in R/outcome_vector_tools.R \name{isMode} \alias{isMode} \title{Check to see if an outcome vector is associated with a particular interaction mode} \usage{ isMode(ov, pwt_n) } \arguments{ \item{ov}{numeric or character vector of length n =...
#' weihting on propensity score for one drug exposure #' #' Implement the weighting on propensity score with Matching Weights (MW) #' or the Inverse Probability of Treatment Weighting (IPTW) for #' one drug exposure. #' The binary outcome is regressed on the drug exposure of interest #' through a classical weighted reg...
/R/ps_pond_one.R
no_license
Zoe187419/adapt4pv
R
false
false
5,046
r
#' weihting on propensity score for one drug exposure #' #' Implement the weighting on propensity score with Matching Weights (MW) #' or the Inverse Probability of Treatment Weighting (IPTW) for #' one drug exposure. #' The binary outcome is regressed on the drug exposure of interest #' through a classical weighted reg...
context("Labelled") # var_label -------------------------------------------------------------- test_that("var_label works properly", { x <- 1:3 var_label(x) <- "value" expect_equal(attr(x, "label"), "value") expect_equal(var_label(x), "value") var_label(x) <- NULL expect_null(attr(x, "label")) expect_nu...
/tests/testthat/test-labelled.r
no_license
iago-ContributedForks/labelled
R
false
false
11,225
r
context("Labelled") # var_label -------------------------------------------------------------- test_that("var_label works properly", { x <- 1:3 var_label(x) <- "value" expect_equal(attr(x, "label"), "value") expect_equal(var_label(x), "value") var_label(x) <- NULL expect_null(attr(x, "label")) expect_nu...
## This combination of functions cache a inverse of matrix and return them without need of recomputing again ## makeCacheMatrix stores/caches the inverse of a matrix makeCacheMatrix <- function(x = matrix()) { m <-NULL set <-function(y){ x <<-y m <<-NULL } get <-function() x setinv <-function(inv) ...
/cachematrix.R
no_license
sai15kumar/ProgrammingAssignment2
R
false
false
765
r
## This combination of functions cache a inverse of matrix and return them without need of recomputing again ## makeCacheMatrix stores/caches the inverse of a matrix makeCacheMatrix <- function(x = matrix()) { m <-NULL set <-function(y){ x <<-y m <<-NULL } get <-function() x setinv <-function(inv) ...
testlist <- list(id = NULL, id = NULL, booklet_id = c(8168473L, 2127314835L, 171177770L, -1942759639L, -1815221204L, 601253144L, -804651186L, 2094281728L, 860713787L, -971707632L, -1475044502L, 868664342L, -1182814578L, -1415711445L, 1901326755L, -1882837573L, 1340545259L, 1156041943L, 823641812L, -1106109928L, -10...
/dexterMST/inst/testfiles/is_person_booklet_sorted/AFL_is_person_booklet_sorted/is_person_booklet_sorted_valgrind_files/1615939495-test.R
no_license
akhikolla/updatedatatype-list1
R
false
false
826
r
testlist <- list(id = NULL, id = NULL, booklet_id = c(8168473L, 2127314835L, 171177770L, -1942759639L, -1815221204L, 601253144L, -804651186L, 2094281728L, 860713787L, -971707632L, -1475044502L, 868664342L, -1182814578L, -1415711445L, 1901326755L, -1882837573L, 1340545259L, 1156041943L, 823641812L, -1106109928L, -10...
library(RPostgreSQL) library(rpostgisLT) # Create connection to DB pw <- { "nemesis" } drv <- dbDriver("PostgreSQL") con <- dbConnect(drv, dbname = "mep", host = "localhost", port = 5432, user = "postgres", password = pw) rm(pw) # Query definitions # This query exclude groups of relocations with less than 3 points...
/create_sub_trajectories.r
no_license
felipe07/trajectories-app
R
false
false
4,307
r
library(RPostgreSQL) library(rpostgisLT) # Create connection to DB pw <- { "nemesis" } drv <- dbDriver("PostgreSQL") con <- dbConnect(drv, dbname = "mep", host = "localhost", port = 5432, user = "postgres", password = pw) rm(pw) # Query definitions # This query exclude groups of relocations with less than 3 points...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/plot_data.R \name{plot_network_neg} \alias{plot_network_neg} \title{Plot Network As Flux Diagramm For Negative Links} \usage{ plot_network_neg( network_obj, matrix, icon_SDG, icon_NCS, nodes_col, save = FALSE, name ) } \argument...
/man/plot_network_neg.Rd
permissive
CmlMagneville/NCSSDGproj
R
false
true
959
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/plot_data.R \name{plot_network_neg} \alias{plot_network_neg} \title{Plot Network As Flux Diagramm For Negative Links} \usage{ plot_network_neg( network_obj, matrix, icon_SDG, icon_NCS, nodes_col, save = FALSE, name ) } \argument...
library(xts) library(here) RI_query <- function(ID, code){ ## this function can query any variable on the schedule RI ----- ## arguments to the function are ID (the firm's IDRSSD) and the variable code (starting wtih RD...) reports <- c("03312001/sch_RI_03312001.rds", "06302001/sch_RI_06302001.rds", "0930200...
/1_querying_data_and_analysis/individual_schedule_queries/schedule_RI_query.R
no_license
Matt-Brigida/FFIEC_Call_Reports
R
false
false
3,224
r
library(xts) library(here) RI_query <- function(ID, code){ ## this function can query any variable on the schedule RI ----- ## arguments to the function are ID (the firm's IDRSSD) and the variable code (starting wtih RD...) reports <- c("03312001/sch_RI_03312001.rds", "06302001/sch_RI_06302001.rds", "0930200...
setwd('/data/home/qiujie/Rice_Navigation_project/GWAS_QTG_analysis/1_400Rice_NaturalPop/population_structure/SNPRelate') library(gdsfmt) library(SNPRelate) gds <- createfn.gds("Final_all404lines.gds") samples <- read.table("sampleid",header=TRUE) sample.id <- samples$samples add.gdsn(gds,"sample.id",sample.id,replac...
/population_structure/run_SNPRelate.R
no_license
pjx1990/QTN_scripts
R
false
false
1,445
r
setwd('/data/home/qiujie/Rice_Navigation_project/GWAS_QTG_analysis/1_400Rice_NaturalPop/population_structure/SNPRelate') library(gdsfmt) library(SNPRelate) gds <- createfn.gds("Final_all404lines.gds") samples <- read.table("sampleid",header=TRUE) sample.id <- samples$samples add.gdsn(gds,"sample.id",sample.id,replac...
################################# ## <제2장 연습문제> ################################# # 01. 다음과 같은 벡터 객체를 생성하시오. #1) Vec1 벡터 변수를 만들고, 1~5까지 연속된 정수를 만드시오. Vec1 <- 1:5 Vec1 # [1] 1 2 3 4 5 #2) Vec2 벡터 변수에 1~10까지 3간격으로 연속된 정수를 만드시오. Vec2 <- seq(1, 10, by = 3) Vec2 # [1] 1 4 7 10 #3) Vec3 벡터 변수에 "R" 문자가 5회...
/Test2.R
no_license
imitationray/stellaris
R
false
false
4,429
r
################################# ## <제2장 연습문제> ################################# # 01. 다음과 같은 벡터 객체를 생성하시오. #1) Vec1 벡터 변수를 만들고, 1~5까지 연속된 정수를 만드시오. Vec1 <- 1:5 Vec1 # [1] 1 2 3 4 5 #2) Vec2 벡터 변수에 1~10까지 3간격으로 연속된 정수를 만드시오. Vec2 <- seq(1, 10, by = 3) Vec2 # [1] 1 4 7 10 #3) Vec3 벡터 변수에 "R" 문자가 5회...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/epanet.inp-s3.r \name{plotInpLinks} \alias{plotInpLinks} \title{Plot .inp Links} \usage{ plotInpLinks(x, lwd = 3, col = "black") } \arguments{ \item{x}{epanet.inp object} \item{lwd}{width of lines} \item{col}{color of lines} } \description{...
/man/plotInpLinks.Rd
no_license
BlomTbl/epanetReader
R
false
true
660
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/epanet.inp-s3.r \name{plotInpLinks} \alias{plotInpLinks} \title{Plot .inp Links} \usage{ plotInpLinks(x, lwd = 3, col = "black") } \arguments{ \item{x}{epanet.inp object} \item{lwd}{width of lines} \item{col}{color of lines} } \description{...
library(shiny) library(ggplot2) data2 <- read.csv("BTC.csv") data2.completed <- na.omit(data2) u<- shinyUI(fluidPage( titlePanel("title panel"), sidebarLayout(position = "left", sidebarPanel("sidebar panel", checkboxInput("do2", "Make 3 plots", value = T)...
/hw-econ.R
no_license
YiruiLi/covid
R
false
false
1,366
r
library(shiny) library(ggplot2) data2 <- read.csv("BTC.csv") data2.completed <- na.omit(data2) u<- shinyUI(fluidPage( titlePanel("title panel"), sidebarLayout(position = "left", sidebarPanel("sidebar panel", checkboxInput("do2", "Make 3 plots", value = T)...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/secretsmanager_operations.R \name{secretsmanager_remove_regions_from_replication} \alias{secretsmanager_remove_regions_from_replication} \title{For a secret that is replicated to other Regions, deletes the secret replicas from the Regions you...
/cran/paws.security.identity/man/secretsmanager_remove_regions_from_replication.Rd
permissive
paws-r/paws
R
false
true
830
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/secretsmanager_operations.R \name{secretsmanager_remove_regions_from_replication} \alias{secretsmanager_remove_regions_from_replication} \title{For a secret that is replicated to other Regions, deletes the secret replicas from the Regions you...
# # This fie contains functions that are useful by many functions. # # Receives the path for reading a csv file and returns the data corresponding to the input. readFile <- function(filePath) { read.csv(filePath, sep = ';') } # this function should be used to save to a graphic into a png file printToPng <- function...
/utils.R
no_license
zembrzuski/ExData_Plotting1
R
false
false
1,002
r
# # This fie contains functions that are useful by many functions. # # Receives the path for reading a csv file and returns the data corresponding to the input. readFile <- function(filePath) { read.csv(filePath, sep = ';') } # this function should be used to save to a graphic into a png file printToPng <- function...
makeChangePointModel <- function(cpmType,ARL0=500,startup=20,lambda=NA) { args <- verifyArguments(cpmType,ARL0,startup,lambda) if (args$success==FALSE) { return() } cpmType <- args$cpmType thresholds <- NA if (is.na(ARL0)) { thresholds <- rep(999999,10000) } else { ...
/R/makeChangePointModel.R
no_license
cran/cpm
R
false
false
625
r
makeChangePointModel <- function(cpmType,ARL0=500,startup=20,lambda=NA) { args <- verifyArguments(cpmType,ARL0,startup,lambda) if (args$success==FALSE) { return() } cpmType <- args$cpmType thresholds <- NA if (is.na(ARL0)) { thresholds <- rep(999999,10000) } else { ...
# https://twitter.com/data_question # When u try to load data like AirPassengers in R, # using the function data(), the dataset is loaded as a Promise, # rather than a dataframe. # What is Promise?
/12142020.R
no_license
pritikadasgupta/datasciencequestionaday
R
false
false
202
r
# https://twitter.com/data_question # When u try to load data like AirPassengers in R, # using the function data(), the dataset is loaded as a Promise, # rather than a dataframe. # What is Promise?
## Course Project - Plot 3 power_consuption <- read.table("../data/household_power_consumption.txt", header = TRUE, sep = ";", skip = 66636, nrows = 2880) # Rename the columns names(power_consuption) <- c("Date", "Time", "Global_active_power", ...
/plot3.R
no_license
sineco/ExData_Plotting1
R
false
false
1,588
r
## Course Project - Plot 3 power_consuption <- read.table("../data/household_power_consumption.txt", header = TRUE, sep = ";", skip = 66636, nrows = 2880) # Rename the columns names(power_consuption) <- c("Date", "Time", "Global_active_power", ...
# DES application: M/M/1 queue, arrival rate 0.5, service rate 1.0 # the call # dosim(mm1initglbls,mm1reactevnt,mm1prntrslts,10000.0, # list(arrvrate=0.5,srvrate=1.0)) # should return a value of about 2 (may take a while) # initializes global variables specific to this app mm1initglbls <- function(apppars) { ...
/Art of R Programming Code/Ch7/mm1.R
no_license
abhi8893/Intensive-R
R
false
false
2,352
r
# DES application: M/M/1 queue, arrival rate 0.5, service rate 1.0 # the call # dosim(mm1initglbls,mm1reactevnt,mm1prntrslts,10000.0, # list(arrvrate=0.5,srvrate=1.0)) # should return a value of about 2 (may take a while) # initializes global variables specific to this app mm1initglbls <- function(apppars) { ...
testlist <- list(Beta = 0, CVLinf = 0, FM = 0, L50 = 0, L95 = 0, LenBins = numeric(0), LenMids = numeric(0), Linf = 0, MK = 0, Ml = numeric(0), Prob = structure(0, .Dim = c(1L, 1L)), SL50 = 3.23153516975384e-319, SL95 = 0, nage = 0L, nlen = 0L, rLens = numeric(0)) result <- do.call(DLMtool::LBSPRgen,test...
/DLMtool/inst/testfiles/LBSPRgen/AFL_LBSPRgen/LBSPRgen_valgrind_files/1615830117-test.R
no_license
akhikolla/updatedatatype-list2
R
false
false
337
r
testlist <- list(Beta = 0, CVLinf = 0, FM = 0, L50 = 0, L95 = 0, LenBins = numeric(0), LenMids = numeric(0), Linf = 0, MK = 0, Ml = numeric(0), Prob = structure(0, .Dim = c(1L, 1L)), SL50 = 3.23153516975384e-319, SL95 = 0, nage = 0L, nlen = 0L, rLens = numeric(0)) result <- do.call(DLMtool::LBSPRgen,test...
# helper functions for fGWAS analysis # calculate differences but include first value as well diff_with_first <- function(x) { if (sum(!is.na(x)) > 1) out <- c(x[1], diff(x)) else out <- x[1] out } # rebase a vector intended as an index to start at 1 and count up with no gaps rebase_index <- function(x)...
/R/utils.R
permissive
jdyen/functional-gwas
R
false
false
3,386
r
# helper functions for fGWAS analysis # calculate differences but include first value as well diff_with_first <- function(x) { if (sum(!is.na(x)) > 1) out <- c(x[1], diff(x)) else out <- x[1] out } # rebase a vector intended as an index to start at 1 and count up with no gaps rebase_index <- function(x)...
# Survey of distinctive R features # CPSC 420 Spring 2016 # You can always use ls() and rm() to see/remove objects in your environment # Can use = or <- for assignment x=4 x<-5 # It's a vector already x[2]=6 x[5]=4 # Use is.na() to check for NA values is.na(x) # Use "which()" to get index numbers that evaluate to...
/r/introR.R
no_license
Adyke95/cpsc420
R
false
false
4,232
r
# Survey of distinctive R features # CPSC 420 Spring 2016 # You can always use ls() and rm() to see/remove objects in your environment # Can use = or <- for assignment x=4 x<-5 # It's a vector already x[2]=6 x[5]=4 # Use is.na() to check for NA values is.na(x) # Use "which()" to get index numbers that evaluate to...
#' discovr: Resources for Discovering Statistics Using R and RStudio (Field, 2022) #' #' @description #' #' The \code{discovr} package contains interactive \code{learnr} tutorials and datasets that accompany my textbook [Discovering Statistics Using R and RStudio](https://www.discovr.rocks/). #' #' @section Who is the ...
/R/discovr.R
no_license
KristenDowns/discovr
R
false
false
21,240
r
#' discovr: Resources for Discovering Statistics Using R and RStudio (Field, 2022) #' #' @description #' #' The \code{discovr} package contains interactive \code{learnr} tutorials and datasets that accompany my textbook [Discovering Statistics Using R and RStudio](https://www.discovr.rocks/). #' #' @section Who is the ...
/nfl_unique.r
no_license
Danhfg/Nfl-Suspensions
R
false
false
3,773
r
plan.diversification <- drake_plan( my.tree = TreeSim::sim.bd.taxa(n=300, numbsim=1, lambda=0.1, mu=0)[[1]], tree_print = plot_tree(my.tree, file = "results/simulated_tree.pdf"), ape::ltt.plot(my.tree), ape::ltt.plot(my.tree, log="y"), yule.trees = TreeSim::sim.bd.taxa(n=300, numbsim=10, lambda=0.1, mu=0, com...
/R/plan.diversification.R
no_license
ChanceNoff/Diversification
R
false
false
5,614
r
plan.diversification <- drake_plan( my.tree = TreeSim::sim.bd.taxa(n=300, numbsim=1, lambda=0.1, mu=0)[[1]], tree_print = plot_tree(my.tree, file = "results/simulated_tree.pdf"), ape::ltt.plot(my.tree), ape::ltt.plot(my.tree, log="y"), yule.trees = TreeSim::sim.bd.taxa(n=300, numbsim=10, lambda=0.1, mu=0, com...
library(Renvlp) ### Name: boot.env ### Title: Bootstrap for env ### Aliases: boot.env ### ** Examples data(wheatprotein) X <- wheatprotein[, 8] Y <- wheatprotein[, 1:6] u <- u.env(X, Y) u B <- 100 bootse <- boot.env(X, Y, 1, B) bootse
/data/genthat_extracted_code/Renvlp/examples/boot.env.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
244
r
library(Renvlp) ### Name: boot.env ### Title: Bootstrap for env ### Aliases: boot.env ### ** Examples data(wheatprotein) X <- wheatprotein[, 8] Y <- wheatprotein[, 1:6] u <- u.env(X, Y) u B <- 100 bootse <- boot.env(X, Y, 1, B) bootse
################################################################################### # Author: Mattias Villani, Linköping University. # E-mail: mattias.villani@liu.se # web: http://mattiasvillani.com # Script to illustrate numerical maximization of the Logistic or Probit regression #####################...
/Bayesian_Learning/Labs/Lab02/Reference/MainOptimizeSpam.R
no_license
Nikoge/LiU-2018
R
false
false
5,449
r
################################################################################### # Author: Mattias Villani, Linköping University. # E-mail: mattias.villani@liu.se # web: http://mattiasvillani.com # Script to illustrate numerical maximization of the Logistic or Probit regression #####################...
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Do not modify this file since it was automatically generated from: % % intToHex.R % % by the Rdoc compiler part of the R.oo package. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \name{format.binmode} \alias{fo...
/man/format.binmode.Rd
no_license
HenrikBengtsson/R.utils
R
false
false
917
rd
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Do not modify this file since it was automatically generated from: % % intToHex.R % % by the Rdoc compiler part of the R.oo package. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \name{format.binmode} \alias{fo...
getQuantilesParams <- function(fit.i, qFunc=qLOGNO, quantiles=seq(0.006,0.996,length.out=1000), linksq=c(identity,exp,NULL,NULL),freeParams, fixedParams){ if(sum(freeParams==c(TRUE, FALSE, FALSE, FALSE))==4){ params<-linksq[[1]](fit.i$mu.coefficient) if(length(fixedParams)==3){ samps<-qFunc(quantiles,par...
/R/getQuantilesParams.R
no_license
scarpino/binequality
R
false
false
8,094
r
getQuantilesParams <- function(fit.i, qFunc=qLOGNO, quantiles=seq(0.006,0.996,length.out=1000), linksq=c(identity,exp,NULL,NULL),freeParams, fixedParams){ if(sum(freeParams==c(TRUE, FALSE, FALSE, FALSE))==4){ params<-linksq[[1]](fit.i$mu.coefficient) if(length(fixedParams)==3){ samps<-qFunc(quantiles,par...
#####Conduct a Wilcoxson Signed-Rank test brand.A <- c(211.4, 204.4, 202, 201.9, 202.4, 202, 202.4, 207.1, 203.6, 216, 208.9, 208.7, 213.8, 201.6, 201.8, 200.3, 201.8, 201.5, 212.1, 203.4) brand.B <- c(186.3, 205.7, 184.4, 203.6, 180.4, 202, 181.5, 186.6, 205.7, 189.1, 183.6, 188.7, 188.6,...
/Signed_Rank_Test.R
no_license
jof003/R_Code_Statistics
R
false
false
647
r
#####Conduct a Wilcoxson Signed-Rank test brand.A <- c(211.4, 204.4, 202, 201.9, 202.4, 202, 202.4, 207.1, 203.6, 216, 208.9, 208.7, 213.8, 201.6, 201.8, 200.3, 201.8, 201.5, 212.1, 203.4) brand.B <- c(186.3, 205.7, 184.4, 203.6, 180.4, 202, 181.5, 186.6, 205.7, 189.1, 183.6, 188.7, 188.6,...
# Load Phase data.dir = "/Users/rafadaguiar/Documents/Workspace/Kaggle/facial_keypoints_detection/data/" train.file <-paste0(data.dir,"training.csv") test.file <-paste0(data.dir,'test.csv') d.train <-read.csv(train.file,stringsAsFactors=F) im.train <- d.train$Image d.train$Image <- NULL install.packages('doMC') # para...
/main.R
no_license
rafadaguiar/facial_keypoints_detection
R
false
false
1,572
r
# Load Phase data.dir = "/Users/rafadaguiar/Documents/Workspace/Kaggle/facial_keypoints_detection/data/" train.file <-paste0(data.dir,"training.csv") test.file <-paste0(data.dir,'test.csv') d.train <-read.csv(train.file,stringsAsFactors=F) im.train <- d.train$Image d.train$Image <- NULL install.packages('doMC') # para...
#=================== #CalculateSafetyMeasures.R #=================== #<doc> # ## CalculateSafetyMeasures Module #### June 02, 2020 # # This module aims to calculate safety measures for the model area. It uses the fatality and injury crash rates for different modes # All these rates are per miles traveled. Therefore th...
/sources/modules/VETravelPerformance/R/CalculateSafetyMeasures.R
permissive
sid-marain/VisionEval
R
false
false
12,046
r
#=================== #CalculateSafetyMeasures.R #=================== #<doc> # ## CalculateSafetyMeasures Module #### June 02, 2020 # # This module aims to calculate safety measures for the model area. It uses the fatality and injury crash rates for different modes # All these rates are per miles traveled. Therefore th...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/pasek_plot.R \docType{data} \name{offset} \alias{offset} \title{const} \format{An object of class \code{numeric} of length 1.} \usage{ offset } \description{ const } \keyword{datasets}
/man/offset.Rd
no_license
jaropis/RSciMisc
R
false
true
263
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/pasek_plot.R \docType{data} \name{offset} \alias{offset} \title{const} \format{An object of class \code{numeric} of length 1.} \usage{ offset } \description{ const } \keyword{datasets}
df = read.csv("household_power_consumption.txt", sep=';', na.strings = '?', colClasses=c("character", "character", "numeric","numeric","numeric","numeric","numeric","numeric","numeric")) ts = as.POSIXct(paste(df$Date, df$Time), format="%d/%m/%Y %H:%M:%S") start = as.POSIXct("2007-02-01 00:00:00", format="%Y-%m-%d %H:%M...
/plot3.R
no_license
qycoursera/ExData_Plotting1
R
false
false
852
r
df = read.csv("household_power_consumption.txt", sep=';', na.strings = '?', colClasses=c("character", "character", "numeric","numeric","numeric","numeric","numeric","numeric","numeric")) ts = as.POSIXct(paste(df$Date, df$Time), format="%d/%m/%Y %H:%M:%S") start = as.POSIXct("2007-02-01 00:00:00", format="%Y-%m-%d %H:%M...
library(dplyr) # Execute this function to generate the tidy dataset run_analysis <- function () { # Data download #data.path <- "./data-cleaning-project-data" #data.url <- "http://d396qusza40orc.cloudfront.net/getdata%2Fprojectfiles%2FUCI%20HAR%20Dataset.zip" #data.file <- paste0(data.path, "/Dataset.zip")...
/run_analysis.R
no_license
enrique-repulles/getting-and-cleaning-data
R
false
false
3,664
r
library(dplyr) # Execute this function to generate the tidy dataset run_analysis <- function () { # Data download #data.path <- "./data-cleaning-project-data" #data.url <- "http://d396qusza40orc.cloudfront.net/getdata%2Fprojectfiles%2FUCI%20HAR%20Dataset.zip" #data.file <- paste0(data.path, "/Dataset.zip")...
# scraping bawsala data require(rvest) require(stringr) require(dplyr) require(readr) require(tidyr) require(purrr) require(RSelenium) # remDr <- remoteDriver(remoteServerAddr = "localhost" # , port = 4444L # , browserName = "chrome" # ) remDr <- rsDriver(browser='chrome')...
/R_Scripts/scrape_votes_date_anc.R
no_license
saudiwin/ARP_Research
R
false
false
790
r
# scraping bawsala data require(rvest) require(stringr) require(dplyr) require(readr) require(tidyr) require(purrr) require(RSelenium) # remDr <- remoteDriver(remoteServerAddr = "localhost" # , port = 4444L # , browserName = "chrome" # ) remDr <- rsDriver(browser='chrome')...
#Packages that we will need #library("reshape") #library(ggplot2) #library(dplyr) #Importing data and checking it imported right Germ <- read_excel("~/Box Sync/WhitmanLab/Projects/JackPine/Data/Lab_Data/Core_Deepot_Assay/CFB_Core_Germination_R.xlsx") head(Germ) Germ = data.frame(Germ) class(Germ) #Combining or meltin...
/Intact_Core_Seed_Germination_Experiment/Scripts/Core_Germination.R
no_license
WhitmanLab/Jack_Pine
R
false
false
3,984
r
#Packages that we will need #library("reshape") #library(ggplot2) #library(dplyr) #Importing data and checking it imported right Germ <- read_excel("~/Box Sync/WhitmanLab/Projects/JackPine/Data/Lab_Data/Core_Deepot_Assay/CFB_Core_Germination_R.xlsx") head(Germ) Germ = data.frame(Germ) class(Germ) #Combining or meltin...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/simulation_functions.R \name{GeneEffects} \alias{GeneEffects} \title{Getting GeneEffects matrices} \usage{ GeneEffects(ngenes, nevf, randseed, prob, geffect_mean, geffect_sd) } \arguments{ \item{ngenes}{number of genes} \item{nevf}{number of...
/results/simulations/standard_bias/SymSim/man/GeneEffects.Rd
permissive
lareaulab/sc_binary_splicing
R
false
true
888
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/simulation_functions.R \name{GeneEffects} \alias{GeneEffects} \title{Getting GeneEffects matrices} \usage{ GeneEffects(ngenes, nevf, randseed, prob, geffect_mean, geffect_sd) } \arguments{ \item{ngenes}{number of genes} \item{nevf}{number of...
library("httr") library("jsonlite") taxonomy <- function(url,data,key) { req <- POST(url, body = list( text = data, api_key=key ), encode = "multipart" ) stop_for_status(req) result<-content(req) return(toJSON(result, auto_u...
/ParallelDots/R/taxonomy.R
no_license
ompa979/ParallelDots-R-API
R
false
false
336
r
library("httr") library("jsonlite") taxonomy <- function(url,data,key) { req <- POST(url, body = list( text = data, api_key=key ), encode = "multipart" ) stop_for_status(req) result<-content(req) return(toJSON(result, auto_u...
rm(list=ls()) set.seed(123) library(h2o) library(data.table) library(ggplot2) date_code <- as.character(Sys.time()) date_code <- paste0(substr(date_code,9,10),substr(date_code,6,7),substr(date_code,3,4)) date_code <- "010718" data_output_dir<-paste0("02_data/output/",date_code,"/") data_input_dir<-paste0("02_data/in...
/01_code/archive/FEAT_PROC.R
no_license
mohamedabolfadl/main_fx
R
false
false
2,872
r
rm(list=ls()) set.seed(123) library(h2o) library(data.table) library(ggplot2) date_code <- as.character(Sys.time()) date_code <- paste0(substr(date_code,9,10),substr(date_code,6,7),substr(date_code,3,4)) date_code <- "010718" data_output_dir<-paste0("02_data/output/",date_code,"/") data_input_dir<-paste0("02_data/in...
#' meanSub #' @author #' Alan Jassby, James Cloern #' @param x numeric vector #' @param sub integer index #' @param na.rm logical #' #' @export meanSub <- function(x, sub, na.rm = FALSE) { mean(x[sub], na.rm = na.rm) }
/R/meanSub.R
no_license
jsta/wql
R
false
false
224
r
#' meanSub #' @author #' Alan Jassby, James Cloern #' @param x numeric vector #' @param sub integer index #' @param na.rm logical #' #' @export meanSub <- function(x, sub, na.rm = FALSE) { mean(x[sub], na.rm = na.rm) }
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/draw.survey.R \name{draw.survey} \alias{draw.survey} \title{Create a chart of the Base Interest Rate (SELIC) time series} \usage{ draw.survey(survey) } \arguments{ \item{survey}{xxx} } \value{ An image file is saved in the 'graphs...
/man/draw.survey.Rd
no_license
tmeits/BETS
R
false
true
422
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/draw.survey.R \name{draw.survey} \alias{draw.survey} \title{Create a chart of the Base Interest Rate (SELIC) time series} \usage{ draw.survey(survey) } \arguments{ \item{survey}{xxx} } \value{ An image file is saved in the 'graphs...
#' @name weibull #' @title weibull #' @author Félicien Meunier #' @export #' @description Returns Weibull PLC #' @param psi water potential #' @param lambda lambda #' @param k k weibull <- function(psi,lambda = 2, k = 2){ PLC <- 100*(1-exp(-((abs(psi)/lambda)^k))) return(PLC) } #' @name weibul.comp #' @title weib...
/R/weibull.R
no_license
femeunier/LianaHydro
R
false
false
1,531
r
#' @name weibull #' @title weibull #' @author Félicien Meunier #' @export #' @description Returns Weibull PLC #' @param psi water potential #' @param lambda lambda #' @param k k weibull <- function(psi,lambda = 2, k = 2){ PLC <- 100*(1-exp(-((abs(psi)/lambda)^k))) return(PLC) } #' @name weibul.comp #' @title weib...
pwrdat<-read.table("exdata-data-household_power_consumption/household_power_consumption.txt", sep = ";", header=TRUE, na.strings= c("?", "NA")) dates<-pwrdat[pwrdat$Date %in% c("1/2/2007", "2/2/2007"),] dates$Date <- as.Date(dates$Date, format = "%d/%m/%Y") dates$DateTime <- strptime(paste(dates$Date, dates$Time), ...
/plot2.R
no_license
UltronOmega/ExData_Plotting1
R
false
false
565
r
pwrdat<-read.table("exdata-data-household_power_consumption/household_power_consumption.txt", sep = ";", header=TRUE, na.strings= c("?", "NA")) dates<-pwrdat[pwrdat$Date %in% c("1/2/2007", "2/2/2007"),] dates$Date <- as.Date(dates$Date, format = "%d/%m/%Y") dates$DateTime <- strptime(paste(dates$Date, dates$Time), ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/reconstruction.R \name{print_stats} \alias{print_stats} \title{Print statistics about the multiscale decomposition} \usage{ print_stats(D) } \arguments{ \item{D}{Matrix containing coeficients.} } \description{ Print statistics about the multi...
/man/print_stats.Rd
permissive
vsimko/trafficmsd
R
false
true
343
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/reconstruction.R \name{print_stats} \alias{print_stats} \title{Print statistics about the multiscale decomposition} \usage{ print_stats(D) } \arguments{ \item{D}{Matrix containing coeficients.} } \description{ Print statistics about the multi...
# this R file is just here to produce a package-level helpfile for people to # look at when they get started #' @title Perform Standard Model Checks #' @name greta.checks #' #' @description describe your package here, you can re-use the text from DESCRIPTION #' #' @docType package #' #' @importFrom tensorflow tf #'...
/R/package.R
permissive
lionel68/greta.checks
R
false
false
437
r
# this R file is just here to produce a package-level helpfile for people to # look at when they get started #' @title Perform Standard Model Checks #' @name greta.checks #' #' @description describe your package here, you can re-use the text from DESCRIPTION #' #' @docType package #' #' @importFrom tensorflow tf #'...
nearZeroVar <- function (x, freqCut = 95/5, uniqueCut = 10, saveMetrics = FALSE, foreach = FALSE, allowParallel = TRUE) { if(!foreach) return(nzv(x, freqCut = freqCut, uniqueCut = uniqueCut, saveMetrics = saveMetrics)) `%op%` <- getOper(foreach && allowParallel && getDoParWorkers() > 1) if(saveMetrics) {...
/pkg/caret/R/nearZeroVar.R
no_license
life8899/caret
R
false
false
3,723
r
nearZeroVar <- function (x, freqCut = 95/5, uniqueCut = 10, saveMetrics = FALSE, foreach = FALSE, allowParallel = TRUE) { if(!foreach) return(nzv(x, freqCut = freqCut, uniqueCut = uniqueCut, saveMetrics = saveMetrics)) `%op%` <- getOper(foreach && allowParallel && getDoParWorkers() > 1) if(saveMetrics) {...
# Process for downloading Comtrade data and extracting FFD trade # Best run as a job in Rstudio library(iapdashboardadmin) key <- Sys.getenv("COMTRADE_KEY") folder <- here::here("data", "downloads") yrs <- c(2010:2018) ctys <- c(660, 533, 112, 58, 84, 204, 60, 64, 68, 535, 92, 96, 854, 108, 132, 116, 136, 140, 148, ...
/R/acquire-comtrade-data.R
no_license
lee269/Comtrade
R
false
false
1,402
r
# Process for downloading Comtrade data and extracting FFD trade # Best run as a job in Rstudio library(iapdashboardadmin) key <- Sys.getenv("COMTRADE_KEY") folder <- here::here("data", "downloads") yrs <- c(2010:2018) ctys <- c(660, 533, 112, 58, 84, 204, 60, 64, 68, 535, 92, 96, 854, 108, 132, 116, 136, 140, 148, ...
#********************************************************************************** # FILE: C:\Projects\Practical Tools Book\Book Chapters\9 Designing PSU Samples # \Examples\Example 9.7.R # PROJECT: Practical Tools for Designing and Weighting Survey ...
/Examples/9 Designing PSU Samples/Examples/Example 9.7.R
no_license
andrewohall/PracTools
R
false
false
1,032
r
#********************************************************************************** # FILE: C:\Projects\Practical Tools Book\Book Chapters\9 Designing PSU Samples # \Examples\Example 9.7.R # PROJECT: Practical Tools for Designing and Weighting Survey ...
################################################## #Support Vector Machine ################################################## # SVM 알고리즘 - 두 범주를 직선으로 분류(이진분류) # 선형분리 - 2개의 집합을 직선으로 분리(초평면 분리) # 초평면(Separating Hyperplane) : 2차원 이상 공간에서 평면 # 가상의 직선을 중심으로 거리를 계산하여 직사각형 형태로 영역 확장 # -> 가장 가까운 점이 만날때 까지 영역 확장 ...
/R-script/chap17_svm.R
no_license
Elly-bang/R
R
false
false
7,737
r
################################################## #Support Vector Machine ################################################## # SVM 알고리즘 - 두 범주를 직선으로 분류(이진분류) # 선형분리 - 2개의 집합을 직선으로 분리(초평면 분리) # 초평면(Separating Hyperplane) : 2차원 이상 공간에서 평면 # 가상의 직선을 중심으로 거리를 계산하여 직사각형 형태로 영역 확장 # -> 가장 가까운 점이 만날때 까지 영역 확장 ...
#Equivalence of FD's equivalence <- function(fd1,fd2){ #All Attributes on RHS of FD1 temp <- strsplit(paste(fd1[,'V2'],collapse = ''),'')[[1]] temp <- temp[!duplicated(temp)] rhs_fd1 <- paste(sort(temp),collapse = '') #All Attributes on RHS of FD2 temp <- strsplit(paste(fd2[,'V2'],collapse = ''),...
/equivalence.r
permissive
krishna1401/DBMS-Codes
R
false
false
611
r
#Equivalence of FD's equivalence <- function(fd1,fd2){ #All Attributes on RHS of FD1 temp <- strsplit(paste(fd1[,'V2'],collapse = ''),'')[[1]] temp <- temp[!duplicated(temp)] rhs_fd1 <- paste(sort(temp),collapse = '') #All Attributes on RHS of FD2 temp <- strsplit(paste(fd2[,'V2'],collapse = ''),...
input: python -c 'print ("read" + "\x00\x00\x00\x00")*(256/8)' Inside GDB: 1. break after menu print out b *0x555555555079 2. Alloc() with idx = 0, input = "read..." & random 16 bytes 3. Delete() with idx = 9 4. gc() since now refCount = 0 & theOBJ ptr != NULL; however, the theOBJ ptr has not been deleted ...
/lokihardt/NOTE.rd
no_license
1NTB0/pwnable_kr
R
false
false
976
rd
input: python -c 'print ("read" + "\x00\x00\x00\x00")*(256/8)' Inside GDB: 1. break after menu print out b *0x555555555079 2. Alloc() with idx = 0, input = "read..." & random 16 bytes 3. Delete() with idx = 9 4. gc() since now refCount = 0 & theOBJ ptr != NULL; however, the theOBJ ptr has not been deleted ...
testthat::context('Search Features') test_that("Query search works", { text = c('Renewable fuel is better than fossil fuels!', 'A fueled debate about fuel', 'Mark Rutte is simply Rutte') tc = create_tcorpus(text, doc_id = c('a','b','c'), split_sentences = T) hits = tc$search_features('"re...
/tests/testthat/test_search_features.r
no_license
zhanglipku/corpustools
R
false
false
6,190
r
testthat::context('Search Features') test_that("Query search works", { text = c('Renewable fuel is better than fossil fuels!', 'A fueled debate about fuel', 'Mark Rutte is simply Rutte') tc = create_tcorpus(text, doc_id = c('a','b','c'), split_sentences = T) hits = tc$search_features('"re...
## plot4.R # Please set the working directory to the folder having "household_power_consumption.txt" rm(list=ls()) dataFile <- "./household_power_consumption.txt" readData <- read.table(dataFile, header=TRUE, sep=";", stringsAsFactors=FALSE, dec=".") subData <- subset(readData, readData$Date == "1/2/2007" | readDat...
/plot4.R
no_license
gspani/Exploratory-Data-Analysis-Project-1
R
false
false
1,403
r
## plot4.R # Please set the working directory to the folder having "household_power_consumption.txt" rm(list=ls()) dataFile <- "./household_power_consumption.txt" readData <- read.table(dataFile, header=TRUE, sep=";", stringsAsFactors=FALSE, dec=".") subData <- subset(readData, readData$Date == "1/2/2007" | readDat...
# This is the .R file for the Programming Assignment 2 ## This function creates a special "matrix" object that can cache its inverse. makeCacheMatrix <- function(x = matrix()) { # initialize the inversed variable inv <- NULL # the set function to set a new matrix set <- funct...
/cachematrix.R
no_license
sspywar/ProgrammingAssignment2
R
false
false
1,592
r
# This is the .R file for the Programming Assignment 2 ## This function creates a special "matrix" object that can cache its inverse. makeCacheMatrix <- function(x = matrix()) { # initialize the inversed variable inv <- NULL # the set function to set a new matrix set <- funct...
#!/usr/bin/Rscript library(tidyverse) source("mistnet.R") args <- commandArgs(TRUE) start = args[[1]] end = args[[2]] timeframe = args[[3]] # Find the cross-validation iteration with the lowest error row = dir(paste0("results/", timeframe, "/mistnet_output/"), pattern = "CV", full.names = TRUE) %...
/analysis/fit-mistnet.R
permissive
davharris/bbs-forecasting
R
false
false
836
r
#!/usr/bin/Rscript library(tidyverse) source("mistnet.R") args <- commandArgs(TRUE) start = args[[1]] end = args[[2]] timeframe = args[[3]] # Find the cross-validation iteration with the lowest error row = dir(paste0("results/", timeframe, "/mistnet_output/"), pattern = "CV", full.names = TRUE) %...
# # ctl.slope.R # # copyright (c) 2010-2013 - GBIC, Danny Arends and Ritsert C. Jansen # last modified Apr, 2013 # first written Apr, 2013 # # Slope analysis for CTL analysis # stdSlopeEstimate <- function(t1, t2, geno){ betas <- NULL for(g in munique(geno)){ ind <- which(geno == g) t1mea...
/R/ctl.slope.R
no_license
cran/ctl
R
false
false
4,984
r
# # ctl.slope.R # # copyright (c) 2010-2013 - GBIC, Danny Arends and Ritsert C. Jansen # last modified Apr, 2013 # first written Apr, 2013 # # Slope analysis for CTL analysis # stdSlopeEstimate <- function(t1, t2, geno){ betas <- NULL for(g in munique(geno)){ ind <- which(geno == g) t1mea...
envelBinom <- function(fit.model,ligacao){ #par(mfrow=c(1,1)) X <- model.matrix(fit.model) n <- nrow(X) p <- ncol(X) w <- fit.model$weights W <- diag(w) H <- solve(t(X)%*%W%*%X) H <- sqrt(W)%*%X%*%H%*%t(X)%*%sqrt(W) h <- diag(H) td <- resid(fit.model,type="deviance")/sqrt(1-h) e <- matrix(0,n,100) # for(i in 1:100){ nr...
/Parte01/RelatorioQuestao2/códigos_p2/source_files/envel_bin.R
no_license
GuilhermePazian/TrabalhoME714
R
false
false
1,285
r
envelBinom <- function(fit.model,ligacao){ #par(mfrow=c(1,1)) X <- model.matrix(fit.model) n <- nrow(X) p <- ncol(X) w <- fit.model$weights W <- diag(w) H <- solve(t(X)%*%W%*%X) H <- sqrt(W)%*%X%*%H%*%t(X)%*%sqrt(W) h <- diag(H) td <- resid(fit.model,type="deviance")/sqrt(1-h) e <- matrix(0,n,100) # for(i in 1:100){ nr...
# Created by: Jonas Vaclavek # Modified by: Jonas Vaclavek # Modify date: 23.5.2019 # Description: Package constants PACKAGE_NAME <- "rless" LESS_JS_FILENAME <- "less.js" RLESS_JS_FILENAME <- "rless.js"
/R/constants.R
no_license
cran/rless
R
false
false
212
r
# Created by: Jonas Vaclavek # Modified by: Jonas Vaclavek # Modify date: 23.5.2019 # Description: Package constants PACKAGE_NAME <- "rless" LESS_JS_FILENAME <- "less.js" RLESS_JS_FILENAME <- "rless.js"
#' SummaryMeasureGenerator #' #' This is a decorator for a general Data.Base object. It retrieves data from it, processes it, and #' returns a data frame containing the summary measure provided. Currently it only provides the lag #' of the data, but this could be extended with for example the mean, variance, MSSD of th...
/R/SummaryMeasureGenerator.R
no_license
guhjy/OnlineSuperLearner
R
false
false
5,999
r
#' SummaryMeasureGenerator #' #' This is a decorator for a general Data.Base object. It retrieves data from it, processes it, and #' returns a data frame containing the summary measure provided. Currently it only provides the lag #' of the data, but this could be extended with for example the mean, variance, MSSD of th...
## vim:textwidth=80:expandtab:shiftwidth=2:softtabstop=2 library(oce) context("Conversion from rsk to ctd") data(rsk) test_that("as.ctd(rsk)", { ctd <- as.ctd(rsk) ctd[['pressure']] - rsk[['pressure']] expect_equal(ctd[["pressure"]]+10.1325, rsk[["pressure"]])}) test_that("I.b -- as.ctd(r...
/tests/testthat/test_rsk.R
no_license
AnneMTreasure/oce
R
false
false
2,616
r
## vim:textwidth=80:expandtab:shiftwidth=2:softtabstop=2 library(oce) context("Conversion from rsk to ctd") data(rsk) test_that("as.ctd(rsk)", { ctd <- as.ctd(rsk) ctd[['pressure']] - rsk[['pressure']] expect_equal(ctd[["pressure"]]+10.1325, rsk[["pressure"]])}) test_that("I.b -- as.ctd(r...
library(shiny) # Load data data <- read.csv("individuals-fake-data-p1.csv", nrows = 5000, header = TRUE) data$Gender <- as.factor(data$Gender) # Create shiny server shinyServer(function(input, output) { # Data filtering reaction on input parameters dataFilter <- reactive({ paste0("data[data$Age ...
/server.R
no_license
Huiqiong2224/developing-data-products
R
false
false
1,035
r
library(shiny) # Load data data <- read.csv("individuals-fake-data-p1.csv", nrows = 5000, header = TRUE) data$Gender <- as.factor(data$Gender) # Create shiny server shinyServer(function(input, output) { # Data filtering reaction on input parameters dataFilter <- reactive({ paste0("data[data$Age ...
getStateCounty <- function(userPoints, userProj, countyFile, countyDir) { require('prevR') # I should remove this dependency # read in the county shape file countyShape <- readOGR(countyDir, countyFile) # re project the county shape file countyShape.proj <- spTransform(countyShape, CRS(userProj)) ...
/R/getStateCounty.R
no_license
melmel49/cdlTools
R
false
false
1,449
r
getStateCounty <- function(userPoints, userProj, countyFile, countyDir) { require('prevR') # I should remove this dependency # read in the county shape file countyShape <- readOGR(countyDir, countyFile) # re project the county shape file countyShape.proj <- spTransform(countyShape, CRS(userProj)) ...
test_that("fragSizeDist works not correct", { gal <- GAlignments(seqnames=Rle("chr1", 2020), pos=rep(1L, 2020), cigar=rep("10M", 2020), strand=Rle(strand(rep(c("+", "-"), 1010))), isize=rep(seq.int(1010), each=2) * c(1, -1), qname=re...
/tests/testthat/test_fragSizeDist.R
no_license
markgene/ATACseqQC
R
false
false
593
r
test_that("fragSizeDist works not correct", { gal <- GAlignments(seqnames=Rle("chr1", 2020), pos=rep(1L, 2020), cigar=rep("10M", 2020), strand=Rle(strand(rep(c("+", "-"), 1010))), isize=rep(seq.int(1010), each=2) * c(1, -1), qname=re...
#' @title Make A Tibble of The Project's US Census Variables from American Factfinder #' @description Return a `tibble` of all of the US Census data variables #' that are obtained from the American Factfinder user interface: \link{https://factfinder.census.gov/} #' @param factfinder_data Tibble, desc #' @param acs_ta...
/R/factfinder-variables.R
permissive
tiernanmartin/NeighborhoodChangeTypology
R
false
false
3,214
r
#' @title Make A Tibble of The Project's US Census Variables from American Factfinder #' @description Return a `tibble` of all of the US Census data variables #' that are obtained from the American Factfinder user interface: \link{https://factfinder.census.gov/} #' @param factfinder_data Tibble, desc #' @param acs_ta...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/mymaxlik.R \name{mymaxlik} \alias{mymaxlik} \title{title A maximum likelihood function} \usage{ mymaxlik(lfun, x, param, ...) } \arguments{ \item{lfun}{The distribution function to sample from} \item{x}{A vector of measurements} \item{param...
/man/mymaxlik.Rd
permissive
scottie-curtis/MATH4753CURTIS
R
false
true
633
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/mymaxlik.R \name{mymaxlik} \alias{mymaxlik} \title{title A maximum likelihood function} \usage{ mymaxlik(lfun, x, param, ...) } \arguments{ \item{lfun}{The distribution function to sample from} \item{x}{A vector of measurements} \item{param...
#create a 100 row DF with following variables #gender, spl, age, experience, grade, placement gender = factor(sample(c('M','F'), size=100, replace=T, prob=c(.7,.3))) spl = factor(sample(c('Marketing','Finance','HR'), size=100, replace=T, prob=c(.5,.3,.2))) placement =factor(sample(c('Yes','No'), size=100,...
/class assignment.R
no_license
PrevinPJ/analytics
R
false
false
1,657
r
#create a 100 row DF with following variables #gender, spl, age, experience, grade, placement gender = factor(sample(c('M','F'), size=100, replace=T, prob=c(.7,.3))) spl = factor(sample(c('Marketing','Finance','HR'), size=100, replace=T, prob=c(.5,.3,.2))) placement =factor(sample(c('Yes','No'), size=100,...
#----------------- # # BGA analyses # 04.04.2021 # JV # joni.virta(at)utu.fi # #----------------- library(tidyverse) library(lubridate) library(mgcv) library(scales) # Put here the folder which contains the data files (and where the output will go) my_folder <- "/folder/subfolder" # The follow...
/code_bga_analysis.R
no_license
jmvirta/seili_gam
R
false
false
19,582
r
#----------------- # # BGA analyses # 04.04.2021 # JV # joni.virta(at)utu.fi # #----------------- library(tidyverse) library(lubridate) library(mgcv) library(scales) # Put here the folder which contains the data files (and where the output will go) my_folder <- "/folder/subfolder" # The follow...
c9bcf9ceadc5cb50fc3f333f7ba569ea dungeon_i20-m100-u10-v0.pddl_planlen=15.qdimacs 11043 61929
/code/dcnf-ankit-optimized/Results/QBFLIB-2018/E1/Database/Kronegger-Pfandler-Pichler/dungeon/dungeon_i20-m100-u10-v0.pddl_planlen=15/dungeon_i20-m100-u10-v0.pddl_planlen=15.R
no_license
arey0pushpa/dcnf-autarky
R
false
false
92
r
c9bcf9ceadc5cb50fc3f333f7ba569ea dungeon_i20-m100-u10-v0.pddl_planlen=15.qdimacs 11043 61929