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
#' @title Plotting numerical data #' @description #' Retrieves one plot containing all the histograms for numerical variables. NA values will not be displayed. #' @param data data frame #' @param bins number of bars (bins) to plot each histogram, 10 by default #' @param path_out path directory to export the output, if ...
/R/exploratory_data_analysis.R
permissive
DataVizi/funModeling
R
false
false
17,518
r
#' @title Plotting numerical data #' @description #' Retrieves one plot containing all the histograms for numerical variables. NA values will not be displayed. #' @param data data frame #' @param bins number of bars (bins) to plot each histogram, 10 by default #' @param path_out path directory to export the output, if ...
get.HKSE.symbols <- function() { data = c(); for( i in 0:9 ) { url = sprintf( 'http://eoddata.com/stocklist/HKEX/%d.htm', i ); raw.data = readHTMLTable( url, stringsAsFactors = FALSE ); if( !is.null( raw.data ) ) { new.data = raw.data[[6]][,1:2]; new.data = cbind( new.data, data.frame( Exc...
/database/eoddata/stock_info.R
no_license
cmm801/r-finance
R
false
false
1,810
r
get.HKSE.symbols <- function() { data = c(); for( i in 0:9 ) { url = sprintf( 'http://eoddata.com/stocklist/HKEX/%d.htm', i ); raw.data = readHTMLTable( url, stringsAsFactors = FALSE ); if( !is.null( raw.data ) ) { new.data = raw.data[[6]][,1:2]; new.data = cbind( new.data, data.frame( Exc...
setwd("C:/Users/maxim/Desktop/exdata_data_household_power_consumption") data_1 <-read.csv("household_power_consumption.txt", header = T, sep = ';', na.strings = "?") data_2 <- subset(data_1, Date %in% c("1/2/2007","2/2/2007")) data_2$Date <- as.Date(data_2$Date, format = "%d/%m/%y") datetime <- paste(as.Date(data...
/plot3.R
no_license
maximeverges/ExData_Plotting1
R
false
false
793
r
setwd("C:/Users/maxim/Desktop/exdata_data_household_power_consumption") data_1 <-read.csv("household_power_consumption.txt", header = T, sep = ';', na.strings = "?") data_2 <- subset(data_1, Date %in% c("1/2/2007","2/2/2007")) data_2$Date <- as.Date(data_2$Date, format = "%d/%m/%y") datetime <- paste(as.Date(data...
source('load.R') source('simulate_game.R') check.lock <- function( lock.file ) { return( scan( lock.file, quiet = TRUE ) == 1 ) } write.lock <- function( lock.file, locked = 0 ) { write( locked, lock.file ) } write.csv.lock <- function(data, filename) { lock.file <- paste(filename, '.lock', sep = "") if( !fil...
/simulate_tournament_MCMC.R
no_license
drewlanenga/jackboot-firebase
R
false
false
2,807
r
source('load.R') source('simulate_game.R') check.lock <- function( lock.file ) { return( scan( lock.file, quiet = TRUE ) == 1 ) } write.lock <- function( lock.file, locked = 0 ) { write( locked, lock.file ) } write.csv.lock <- function(data, filename) { lock.file <- paste(filename, '.lock', sep = "") if( !fil...
#' connection_reddit #' @description Given a .Renviron file, connects to reddit #' @example #' \dontrun { #' connection_reddit() #' } #' #' @export connection_reddit connection_reddit <- function() { praw <- import("praw") reddit_con <- praw$Reddit( client_id = Sys.getenv("REDDIT_CLIENT"), cli...
/redditsuite/R/connection_reddit.R
permissive
fdrennan/biggr3
R
false
false
492
r
#' connection_reddit #' @description Given a .Renviron file, connects to reddit #' @example #' \dontrun { #' connection_reddit() #' } #' #' @export connection_reddit connection_reddit <- function() { praw <- import("praw") reddit_con <- praw$Reddit( client_id = Sys.getenv("REDDIT_CLIENT"), cli...
## R CODE FOR GRAPHICS FOR ## FINAL DELIVERABLE FOR CS143 PROJECT 2B # If you already have R installed on your home machine, transfer the resulting files # to your shared directory and do the visualizations in R on your home system rather than # in the VM because R is not installed there. # R is actually the s...
/analysis.R
no_license
linuslyt/cs143-rpolclassifier
R
false
false
4,846
r
## R CODE FOR GRAPHICS FOR ## FINAL DELIVERABLE FOR CS143 PROJECT 2B # If you already have R installed on your home machine, transfer the resulting files # to your shared directory and do the visualizations in R on your home system rather than # in the VM because R is not installed there. # R is actually the s...
library(data.table) library(ggplot2) library(ggrepel) library(scales) library(ggthemes) library(ggspatial) library(sf) setwd("~") # Load the per-group prevalence computed by estimate_prevalence_by_variable.r load("estimates/wave1/prevalence_by_variable_level.rdata") # Prevalence lower bounds that cross zero to zero ...
/code/analysis/wave1/create_spb_district_prevalence_map.r
permissive
idorkhanov/spb_covid_study20
R
false
false
7,035
r
library(data.table) library(ggplot2) library(ggrepel) library(scales) library(ggthemes) library(ggspatial) library(sf) setwd("~") # Load the per-group prevalence computed by estimate_prevalence_by_variable.r load("estimates/wave1/prevalence_by_variable_level.rdata") # Prevalence lower bounds that cross zero to zero ...
# DS4B 101-R: R FOR BUSINESS ANALYSIS ---- # CATEGORICAL DATA MANIPULATION ---- library(tidyverse) library(tidyquant) bike_orderlines_tbl <- read_rds("00_data/bike_sales/data_wrangled/bike_orderlines.rds") bike_orderlines_tbl # 1.0 Factor Basics ---- # What is a Factor? # A way of managing categorical data # Wh...
/02_data_wrangling/05_categorical_data.R
no_license
devodla/DS4B-101-R-Business-Analysis
R
false
false
4,100
r
# DS4B 101-R: R FOR BUSINESS ANALYSIS ---- # CATEGORICAL DATA MANIPULATION ---- library(tidyverse) library(tidyquant) bike_orderlines_tbl <- read_rds("00_data/bike_sales/data_wrangled/bike_orderlines.rds") bike_orderlines_tbl # 1.0 Factor Basics ---- # What is a Factor? # A way of managing categorical data # Wh...
data <- read.csv("household_power_consumption.txt", header=TRUE, sep=";", dec=".") two <- subset(data, data$Date == "1/2/2007" | data$Date == "2/2/2007") two$Global_active_power<-as.numeric(as.character(two$Global_active_power)) two$Date2 <- as.Date(two$Date,format="%d/%m/%Y") dateTime<-as.POSIXct(paste(two$Date2,as....
/plot2.R
no_license
julienbalas/ExData_Plotting1
R
false
false
508
r
data <- read.csv("household_power_consumption.txt", header=TRUE, sep=";", dec=".") two <- subset(data, data$Date == "1/2/2007" | data$Date == "2/2/2007") two$Global_active_power<-as.numeric(as.character(two$Global_active_power)) two$Date2 <- as.Date(two$Date,format="%d/%m/%Y") dateTime<-as.POSIXct(paste(two$Date2,as....
library(dplyr) source('objects.R') source('db_interact.R') source('data_handler.R') CONST_API_SERVICES <- c('nova', 'keystone', 'glance','cinder','neutron','heat') #@ATTENTION -> rbind causes a lot of copies of memory. It gets very, very slow for really large dfs #@FIXME -> Should try and pre-allocate the whole df. T...
/OLD_DEPRECATED/boxplot_v2.R
no_license
Adnei/openstack_plots
R
false
false
6,748
r
library(dplyr) source('objects.R') source('db_interact.R') source('data_handler.R') CONST_API_SERVICES <- c('nova', 'keystone', 'glance','cinder','neutron','heat') #@ATTENTION -> rbind causes a lot of copies of memory. It gets very, very slow for really large dfs #@FIXME -> Should try and pre-allocate the whole df. T...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/myCltu.R \name{mycltu} \alias{mycltu} \title{CLT uniform} \usage{ mycltu(n, iter, a = 0, b = 10) } \arguments{ \item{b}{} } \value{ } \description{ CLT uniform } \examples{ mycltu(n=20,iter=100000) }
/math4753/man/mycltu.Rd
no_license
Liestria/stats
R
false
true
279
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/myCltu.R \name{mycltu} \alias{mycltu} \title{CLT uniform} \usage{ mycltu(n, iter, a = 0, b = 10) } \arguments{ \item{b}{} } \value{ } \description{ CLT uniform } \examples{ mycltu(n=20,iter=100000) }
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/ReplaceCurlyQuotesCmd.R \docType{class} \name{ReplaceCurlyQuotesCmd} \alias{ReplaceCurlyQuotesCmd} \title{ReplaceCurlyQuotesCmd} \format{An object of class \code{R6ClassGenerator} of length 24.} \usage{ ReplaceCurlyQuotesCmd$new() } \argument...
/man/ReplaceCurlyQuotesCmd.Rd
no_license
john-james-ai/NLPStudio-2.0
R
false
true
3,487
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/ReplaceCurlyQuotesCmd.R \docType{class} \name{ReplaceCurlyQuotesCmd} \alias{ReplaceCurlyQuotesCmd} \title{ReplaceCurlyQuotesCmd} \format{An object of class \code{R6ClassGenerator} of length 24.} \usage{ ReplaceCurlyQuotesCmd$new() } \argument...
## DATA SYNC MODULE ------------------------------------------------------------ #' A shiny module to synchronise datasets #' #' The purpose of this module is to merge changes made to a subset of the data #' with the master copy of the data. #' #' @param id unique identifier for the module to prevent namespace clashes...
/R/dataSync.R
no_license
paride92/DataEditR
R
false
false
4,275
r
## DATA SYNC MODULE ------------------------------------------------------------ #' A shiny module to synchronise datasets #' #' The purpose of this module is to merge changes made to a subset of the data #' with the master copy of the data. #' #' @param id unique identifier for the module to prevent namespace clashes...
library(forecast) library(tseries) ###### time series use "forecast" ###### x <- read.csv("C:\\Users\\User\\Desktop\\all\\data_mining/time.csv",header = T) x1 <- x[1:15,] #translate data x as time series data #aggregate time series object by month y <- ts(x1[,2],start = c(2015,6),end = c(2016,8),frequency = 12) plot...
/Code/time_series.R
no_license
kaoyuching/Apply-time-series-with-forecast
R
false
false
2,002
r
library(forecast) library(tseries) ###### time series use "forecast" ###### x <- read.csv("C:\\Users\\User\\Desktop\\all\\data_mining/time.csv",header = T) x1 <- x[1:15,] #translate data x as time series data #aggregate time series object by month y <- ts(x1[,2],start = c(2015,6),end = c(2016,8),frequency = 12) plot...
#Of the four types of sources indicated by the type (point, nonpoint, onroad, nonroad) variable, #which of these four sources have seen decreases in emissions from 1999–2008 for Baltimore City? #Which have seen increases in emissions from 1999–2008? #Use the ggplot2 plotting system to make a plot answer this question. ...
/plot3.R
no_license
caschmidt77/Exploratory-Data-Analysis-Course-Project-2
R
false
false
1,743
r
#Of the four types of sources indicated by the type (point, nonpoint, onroad, nonroad) variable, #which of these four sources have seen decreases in emissions from 1999–2008 for Baltimore City? #Which have seen increases in emissions from 1999–2008? #Use the ggplot2 plotting system to make a plot answer this question. ...
library(OneR) ### Name: eval_model ### Title: Classification Evaluation function ### Aliases: eval_model ### Keywords: accuracy evaluation ### ** Examples data <- iris model <- OneR(data) summary(model) prediction <- predict(model, data) eval_model(prediction, data)
/data/genthat_extracted_code/OneR/examples/eval_model.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
274
r
library(OneR) ### Name: eval_model ### Title: Classification Evaluation function ### Aliases: eval_model ### Keywords: accuracy evaluation ### ** Examples data <- iris model <- OneR(data) summary(model) prediction <- predict(model, data) eval_model(prediction, data)
library("ggplot2") "Displaying the top few rows of a dataframe:" head(diamonds) "Selecting a subset of columns from a dataframe:" head(subset(diamonds, select = c(carat, cut))) "Selecting a subset of rows from a dataframe:" head(subset(diamonds, cut == "Ideal" & price > 5000)) "Find average price group by color (plyr ...
/02 R Dataframes/Dataframes.R
no_license
pcannata/RWorkshop
R
false
false
531
r
library("ggplot2") "Displaying the top few rows of a dataframe:" head(diamonds) "Selecting a subset of columns from a dataframe:" head(subset(diamonds, select = c(carat, cut))) "Selecting a subset of rows from a dataframe:" head(subset(diamonds, cut == "Ideal" & price > 5000)) "Find average price group by color (plyr ...
library(tidyverse) library(data.table) power.data.file <- "household_power_consumption.txt" # Load and format columns as date/time power.data <- tibble::as.tibble(fread(power.data.file, na.strings="?")) power.data <- power.data %>% mutate(Date=as.Date(Date,'%d/%m/%Y')) power.data <- power.data %>% mut...
/plot2.R
no_license
mkdirtilde/ExData_Plotting1
R
false
false
888
r
library(tidyverse) library(data.table) power.data.file <- "household_power_consumption.txt" # Load and format columns as date/time power.data <- tibble::as.tibble(fread(power.data.file, na.strings="?")) power.data <- power.data %>% mutate(Date=as.Date(Date,'%d/%m/%Y')) power.data <- power.data %>% mut...
# TOOL calculate-descriptive-statistics.R: "Calculate descriptive statistics" (Calculates basic descriptive statistics for all genes. These include parametric and non-parametric location and spread descriptives.) # INPUT normalized.tsv: normalized.tsv TYPE GENE_EXPRS # OUTPUT descr-stats.tsv: descr-stats.tsv # OUTPUT d...
/tools/microarray/R/calculate-descriptive-statistics.R
permissive
chipster/chipster-tools
R
false
false
2,559
r
# TOOL calculate-descriptive-statistics.R: "Calculate descriptive statistics" (Calculates basic descriptive statistics for all genes. These include parametric and non-parametric location and spread descriptives.) # INPUT normalized.tsv: normalized.tsv TYPE GENE_EXPRS # OUTPUT descr-stats.tsv: descr-stats.tsv # OUTPUT d...
library(PartCensReg) ### Name: Cens.SMN.PCR ### Title: Estimation and diagnostics for partially linear censored ### regression models ### Aliases: Cens.SMN.PCR ### Keywords: package censored censoring diagnostic partial partially ### ** Examples dtawage = get(data(PSID1976,package = "AER")) y = dtawage$wage cc =...
/data/genthat_extracted_code/PartCensReg/examples/Cens.SMN.PCR.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
968
r
library(PartCensReg) ### Name: Cens.SMN.PCR ### Title: Estimation and diagnostics for partially linear censored ### regression models ### Aliases: Cens.SMN.PCR ### Keywords: package censored censoring diagnostic partial partially ### ** Examples dtawage = get(data(PSID1976,package = "AER")) y = dtawage$wage cc =...
# dist.default <- dist # dist <- function(x,...) UseMethod("dist") dist.speclib <- function( x, method="sam", ... ) { if (class(x)[1] != "Speclib") stop("x must be of class 'Speclib'") if (method=="sam") ...
/R/distance.R
no_license
cran/hsdar
R
false
false
3,347
r
# dist.default <- dist # dist <- function(x,...) UseMethod("dist") dist.speclib <- function( x, method="sam", ... ) { if (class(x)[1] != "Speclib") stop("x must be of class 'Speclib'") if (method=="sam") ...
#------------------------------------------------------------------------------- # Copyright (c) 2012 University of Illinois, NCSA. # All rights reserved. This program and the accompanying materials # are made available under the terms of the # University of Illinois/NCSA Open Source License # which accompanies this d...
/utils/R/mail.R
permissive
rgknox/pecan
R
false
false
1,749
r
#------------------------------------------------------------------------------- # Copyright (c) 2012 University of Illinois, NCSA. # All rights reserved. This program and the accompanying materials # are made available under the terms of the # University of Illinois/NCSA Open Source License # which accompanies this d...
## Put comments here that give an overall description of what your ## functions do ## Write a short comment describing this function makeCacheMatrix <- function(x = matrix()) { inv <- NULL set <- function(y) { x <<- y inv <<- NULL } get <- function() x setinverse <- function(invers...
/cachematrix.R
no_license
Navdeep-20/ProgrammingAssignment2
R
false
false
791
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()) { inv <- NULL set <- function(y) { x <<- y inv <<- NULL } get <- function() x setinverse <- function(invers...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/LiJ_2014.R \name{LiJ_2014} \alias{LiJ_2014} \alias{LiJ_2014.genefamilies_relab.stool} \alias{LiJ_2014.marker_abundance.stool} \alias{LiJ_2014.marker_presence.stool} \alias{LiJ_2014.metaphlan_bugs_list.stool} \alias{LiJ_2014.pathabundance_rela...
/man/LiJ_2014.Rd
permissive
teamcgc/curatedMetagenomicData
R
false
true
5,404
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/LiJ_2014.R \name{LiJ_2014} \alias{LiJ_2014} \alias{LiJ_2014.genefamilies_relab.stool} \alias{LiJ_2014.marker_abundance.stool} \alias{LiJ_2014.marker_presence.stool} \alias{LiJ_2014.metaphlan_bugs_list.stool} \alias{LiJ_2014.pathabundance_rela...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/query_help.r \name{inspect_family} \alias{inspect_family} \title{Given a query, find all possible parents/children for a given node} \usage{ inspect_family(tokens, query, node, family = c("family", "children", "parents"), depth = 1, group_c...
/man/inspect_family.Rd
no_license
zhanglipku/rsyntax
R
false
true
956
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/query_help.r \name{inspect_family} \alias{inspect_family} \title{Given a query, find all possible parents/children for a given node} \usage{ inspect_family(tokens, query, node, family = c("family", "children", "parents"), depth = 1, group_c...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/series.R \name{get_climate_data} \alias{get_climate_data} \title{Get Monthly Climatological Data from a Local Data Set or from the Internet} \usage{ get_climate_data(download, data_dir, filename_base, urls = climeseries::data_urls, o...
/man/get_climate_data.Rd
no_license
gavinsimpson/climeseries
R
false
true
6,047
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/series.R \name{get_climate_data} \alias{get_climate_data} \title{Get Monthly Climatological Data from a Local Data Set or from the Internet} \usage{ get_climate_data(download, data_dir, filename_base, urls = climeseries::data_urls, o...
### class ###################################################################### validFLOPtrigger.control <- function(object){ if (object@first.year<0 | object@last.year<0 | object@first.year > object@last.year) return(paste("value of first.year:",object@first.year, "or last.year",object@last.year, "is wrong"))...
/flop.control.r
no_license
ices-eg/wg_WGSAM
R
false
false
48,781
r
### class ###################################################################### validFLOPtrigger.control <- function(object){ if (object@first.year<0 | object@last.year<0 | object@first.year > object@last.year) return(paste("value of first.year:",object@first.year, "or last.year",object@last.year, "is wrong"))...
\name{objective} \alias{objective} %- Also NEED an '\alias' for EACH other topic documented here. \title{ NPMR objective function } \description{ Return the objective function of the data and the fitted parameters for nuclear penalized multinomial regression. The objective is the sum of the negative log-likelihood and ...
/man/objective.Rd
no_license
cran/npmr
R
false
false
1,455
rd
\name{objective} \alias{objective} %- Also NEED an '\alias' for EACH other topic documented here. \title{ NPMR objective function } \description{ Return the objective function of the data and the fitted parameters for nuclear penalized multinomial regression. The objective is the sum of the negative log-likelihood and ...
#' Get the correlation matrix #' #' This function takes the tree (of class 'igraph') with distances between the tips and outputs #' the corresponding correlation matrix #' #' @param T A tree of class igraph #' @keywords structural EM algorithm #' @export #' @examples #' #' get.corr <- function(T) { # takes a phylogen...
/R/get.corr.R
no_license
pzwiernik/StructuralEM
R
false
false
564
r
#' Get the correlation matrix #' #' This function takes the tree (of class 'igraph') with distances between the tips and outputs #' the corresponding correlation matrix #' #' @param T A tree of class igraph #' @keywords structural EM algorithm #' @export #' @examples #' #' get.corr <- function(T) { # takes a phylogen...
## File Name: frm_fb_verbose_mh_refresh.R ## File Version: 0.04 frm_fb_verbose_mh_refresh <- function( verbose, iter ) { if (verbose){ h1 <- " - Update proposal standard deviations in MH algorithm" h1 <- paste0( h1, " (Iteration ", iter, ")\n") cat(h1) } }
/R/frm_fb_verbose_mh_refresh.R
no_license
alexanderrobitzsch/mdmb
R
false
false
290
r
## File Name: frm_fb_verbose_mh_refresh.R ## File Version: 0.04 frm_fb_verbose_mh_refresh <- function( verbose, iter ) { if (verbose){ h1 <- " - Update proposal standard deviations in MH algorithm" h1 <- paste0( h1, " (Iteration ", iter, ")\n") cat(h1) } }
## write 2 function, the first is to create the special matrix ## and the second to cache the inverse ## This function creates a special "matrix" object ## that can cache its inverse. makeCacheMatrix <- function(x = matrix()) { inv <- NULL set <- function(y) { x <<- y inv <<- NULL } get <- function(...
/cachematrix.R
no_license
boaz-shor/ProgrammingAssignment2
R
false
false
1,168
r
## write 2 function, the first is to create the special matrix ## and the second to cache the inverse ## This function creates a special "matrix" object ## that can cache its inverse. makeCacheMatrix <- function(x = matrix()) { inv <- NULL set <- function(y) { x <<- y inv <<- NULL } get <- function(...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/tdp_2018_3_b_checks.R \name{tdp_2018_3_b_check_1} \alias{tdp_2018_3_b_check_1} \title{tdp 2018, appello 3, tema a, check 1} \usage{ tdp_2018_3_b_check_1(wd = getwd(), file_to_check = "death_ita.csv") } \arguments{ \item{wd}{\link{chr} working...
/man/tdp_2018_3_b_check_1.Rd
no_license
UBESP-DCTV/rexams
R
false
true
487
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/tdp_2018_3_b_checks.R \name{tdp_2018_3_b_check_1} \alias{tdp_2018_3_b_check_1} \title{tdp 2018, appello 3, tema a, check 1} \usage{ tdp_2018_3_b_check_1(wd = getwd(), file_to_check = "death_ita.csv") } \arguments{ \item{wd}{\link{chr} working...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/utils-data.R \name{dplyr_data} \alias{dplyr_data} \title{.data to allow column name use in dplyr} \description{ See https://github.com/STAT545-UBC/Discussion/issues/451 }
/man/dplyr_data.Rd
no_license
cran/geoviz
R
false
true
250
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/utils-data.R \name{dplyr_data} \alias{dplyr_data} \title{.data to allow column name use in dplyr} \description{ See https://github.com/STAT545-UBC/Discussion/issues/451 }
#to be run after a simulation run #expected result: offered quantities moves the month after harvesting. #### Choose a market session and extract offered quantities from simulation output data.sessions<-read.csv("../../output/z_sessions.csv") sessions<-levels(data.sessions$SessionDescription) print(sessions) #choos...
/scripts/checks/r_check_offered_quantities.R
no_license
gfgprojects/cms_wheat
R
false
false
3,055
r
#to be run after a simulation run #expected result: offered quantities moves the month after harvesting. #### Choose a market session and extract offered quantities from simulation output data.sessions<-read.csv("../../output/z_sessions.csv") sessions<-levels(data.sessions$SessionDescription) print(sessions) #choos...
#setwd(paste(getwd(), "/perc", sep = "")) set.seed(1234) library(sensitivity) morr <- morris(model = NULL, factors = 16, r = 1024, design = list(type = "oat", levels = 5, grid.jump = 3), binf = c(log(LeanBodyWt_min), log(Flow_pul_min), log(...
/perc/morris.R
no_license
nanhung/gsa
R
false
false
8,913
r
#setwd(paste(getwd(), "/perc", sep = "")) set.seed(1234) library(sensitivity) morr <- morris(model = NULL, factors = 16, r = 1024, design = list(type = "oat", levels = 5, grid.jump = 3), binf = c(log(LeanBodyWt_min), log(Flow_pul_min), log(...
test_that("make_install_process error", { tmp <- tempfile() on.exit(unlink(tmp), add = TRUE) cat("foobar\n", file = tmp) expect_error( make_install_process(tmp, lib = tempdir()), "Cannot extract", class = "install_input_error" ) }) test_that("install_extracted_binary, add_metadata", { pkg <- bin...
/tests/testthat/test-install-binary.R
permissive
r-lib/pkgdepends
R
false
false
2,752
r
test_that("make_install_process error", { tmp <- tempfile() on.exit(unlink(tmp), add = TRUE) cat("foobar\n", file = tmp) expect_error( make_install_process(tmp, lib = tempdir()), "Cannot extract", class = "install_input_error" ) }) test_that("install_extracted_binary, add_metadata", { pkg <- bin...
## # NOTE: To load this into R: # codeFile <-/Users/mazerlodge/Documents/XProjects/RProjects/cs1workspace/week2functions.R # source(codeFile) ## getmonitor <- function(id, directory, summarize = FALSE) { ## 'id' is a vector of length 1 indicating the monitor ID ## number. The user can specify 'id' as e...
/Week2/getMonitor.R
no_license
mazerlodge/RLanguage
R
false
false
1,273
r
## # NOTE: To load this into R: # codeFile <-/Users/mazerlodge/Documents/XProjects/RProjects/cs1workspace/week2functions.R # source(codeFile) ## getmonitor <- function(id, directory, summarize = FALSE) { ## 'id' is a vector of length 1 indicating the monitor ID ## number. The user can specify 'id' as e...
require(binance) require(DBI) require(odbc) db <- DBI::dbConnect(odbc::odbc(), Driver = "SQL Server", Server = "DESKTOP-MTCGC1L", Database = "binance", UID = "reto", PWD = Sys.getenv("SQL_PASSWORD")) sleep_time <-...
/inst/crawler.R
no_license
retooooo/binance
R
false
false
1,203
r
require(binance) require(DBI) require(odbc) db <- DBI::dbConnect(odbc::odbc(), Driver = "SQL Server", Server = "DESKTOP-MTCGC1L", Database = "binance", UID = "reto", PWD = Sys.getenv("SQL_PASSWORD")) sleep_time <-...
##' @title archive_timing ##' ##' @description Get or set the number of seconds to wait after trying to ##' retrieve a file from the CRAN Archive. ##' ##' This is intended to stop intermittent install failures ##' due to failing to retrieve files that *are* in the ##' archive but are not downloading properly when a la...
/R/accessors.R
no_license
gCEDAR/switchr
R
false
false
20,597
r
##' @title archive_timing ##' ##' @description Get or set the number of seconds to wait after trying to ##' retrieve a file from the CRAN Archive. ##' ##' This is intended to stop intermittent install failures ##' due to failing to retrieve files that *are* in the ##' archive but are not downloading properly when a la...
library(tidyverse) library(readxl) library(lubridate) library(broom) library(themebg) library(officer) library(rvg) data_glucose <- read_excel("data/raw/glucose_values.xlsx", skip = 1, col_names = c("patient", "period", "datetime", "value")) %>% mutate_at("period", factor, levels = c("Pre", "Drip", "Post")) %>% ...
/src/01_powerpoint-graphs.R
no_license
bgulbis/glucoses
R
false
false
1,487
r
library(tidyverse) library(readxl) library(lubridate) library(broom) library(themebg) library(officer) library(rvg) data_glucose <- read_excel("data/raw/glucose_values.xlsx", skip = 1, col_names = c("patient", "period", "datetime", "value")) %>% mutate_at("period", factor, levels = c("Pre", "Drip", "Post")) %>% ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/imrf.R \name{imrf} \alias{imrf} \title{Impulse Response Functions for SVAR Models} \usage{ imrf(x, horizon = 20) } \arguments{ \item{x}{SVAR object of class "svars"} \item{horizon}{Time horizon for the impulse responses} } \description{ Calc...
/man/imrf.Rd
no_license
smaxand/svars
R
false
true
686
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/imrf.R \name{imrf} \alias{imrf} \title{Impulse Response Functions for SVAR Models} \usage{ imrf(x, horizon = 20) } \arguments{ \item{x}{SVAR object of class "svars"} \item{horizon}{Time horizon for the impulse responses} } \description{ Calc...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/learning.R \name{classifySeeds} \alias{classifySeeds} \title{Use a trained model to predict to classify a sample into seeds or non-seed particles.} \usage{ classifySeeds(model, data) } \arguments{ \item{model}{A trained model as returned by t...
/man/classifySeeds.Rd
no_license
AleMorales/SeedSorter
R
false
true
644
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/learning.R \name{classifySeeds} \alias{classifySeeds} \title{Use a trained model to predict to classify a sample into seeds or non-seed particles.} \usage{ classifySeeds(model, data) } \arguments{ \item{model}{A trained model as returned by t...
# dead within first 1065 days c("TCGA-A7-A3RF","TCGA-A7-A425","TCGA-LL-A5YM","TCGA-E9-A243","TCGA-A7-A13G","TCGA-A7-A26H","TCGA-LQ-A4E4","TCGA-A7-A13H","TCGA-A8-A08O","TCGA-E9-A226","TCGA-A2-A3XY","TCGA-E9-A2JS","TCGA-A2-A3XU","TCGA-AR-A5QQ") # alive within after first 1065 days c("TCGA-A7-A0CE","TCGA-A7-A0CH","TCGA-E9...
/censorship of BRCA dataset for progression.R
no_license
indykpol/custom-code
R
false
false
28,652
r
# dead within first 1065 days c("TCGA-A7-A3RF","TCGA-A7-A425","TCGA-LL-A5YM","TCGA-E9-A243","TCGA-A7-A13G","TCGA-A7-A26H","TCGA-LQ-A4E4","TCGA-A7-A13H","TCGA-A8-A08O","TCGA-E9-A226","TCGA-A2-A3XY","TCGA-E9-A2JS","TCGA-A2-A3XU","TCGA-AR-A5QQ") # alive within after first 1065 days c("TCGA-A7-A0CE","TCGA-A7-A0CH","TCGA-E9...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/plot_core.R \name{plot_core} \alias{plot_core} \title{plot_core} \usage{ plot_core(x, title = "Core", plot = TRUE, prevalence.intervals = seq(5, 100, 5), detection.thresholds = 20, plot.type = "lineplot", palette = "bw") } \arguments{ \it...
/man/plot_core.Rd
no_license
himanshu-fff/microbiome
R
false
true
1,328
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/plot_core.R \name{plot_core} \alias{plot_core} \title{plot_core} \usage{ plot_core(x, title = "Core", plot = TRUE, prevalence.intervals = seq(5, 100, 5), detection.thresholds = 20, plot.type = "lineplot", palette = "bw") } \arguments{ \it...
## If the file already exists: don't download again if (!file.exists("household_power_consumption.txt")) { fileUrl <- "http://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip" download.file(fileUrl, destfile = "houhousehold_power_consumption.zip") unzip("houhousehold_power_consu...
/plot1.R
no_license
hgf241/ExData_Plotting1
R
false
false
1,078
r
## If the file already exists: don't download again if (!file.exists("household_power_consumption.txt")) { fileUrl <- "http://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip" download.file(fileUrl, destfile = "houhousehold_power_consumption.zip") unzip("houhousehold_power_consu...
# # Copyright 2007-2019 by the individuals mentioned in the source code history # # 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 ...
/R/0ClassUnion.R
no_license
lnsongxf/OpenMx
R
false
false
4,224
r
# # Copyright 2007-2019 by the individuals mentioned in the source code history # # 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 ...
#' Fast distance covariance for two bivariate variables #' #' This method implements the fast algorithm proposed by \cite{Huo and Székely}. The #' result of \code{dcov2d} and \code{dcor2d} is same with the result of #' \code{energy::dcov2d} and \code{energy::dcor2d} #' #' @aliases dcov2d #' @aliases dcor2d #' @param x ...
/dcov/R/dcov2d.R
no_license
akhikolla/TestedPackages-NoIssues
R
false
false
1,624
r
#' Fast distance covariance for two bivariate variables #' #' This method implements the fast algorithm proposed by \cite{Huo and Székely}. The #' result of \code{dcov2d} and \code{dcor2d} is same with the result of #' \code{energy::dcov2d} and \code{energy::dcor2d} #' #' @aliases dcov2d #' @aliases dcor2d #' @param x ...
testlist <- list(Rs = numeric(0), atmp = numeric(0), relh = numeric(0), temp = c(NaN, NaN, NaN, NaN, NaN, NaN, -1.34826269880257e+285, NaN, NaN, 2.98498076472455e-144, 2.17974168709966e-304, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
/meteor/inst/testfiles/ET0_Makkink/libFuzzer_ET0_Makkink/ET0_Makkink_valgrind_files/1612737577-test.R
no_license
akhikolla/updatedatatype-list3
R
false
false
455
r
testlist <- list(Rs = numeric(0), atmp = numeric(0), relh = numeric(0), temp = c(NaN, NaN, NaN, NaN, NaN, NaN, -1.34826269880257e+285, NaN, NaN, 2.98498076472455e-144, 2.17974168709966e-304, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
\name{MutSigCV.out} \alias{MutSigCV.out} %\docType{package} \title{ Example of the \code{MutSigCV.out} data object } \description{ Example of the \code{MutSigCV.out} data object } \details{ The object is a data frame named \code{MutSigCV.out}. Currently, the only columns of this data that are used are: \code{...
/source/man/MutSigCV.out.Rd
no_license
binzhulab/MUTSCOT
R
false
false
523
rd
\name{MutSigCV.out} \alias{MutSigCV.out} %\docType{package} \title{ Example of the \code{MutSigCV.out} data object } \description{ Example of the \code{MutSigCV.out} data object } \details{ The object is a data frame named \code{MutSigCV.out}. Currently, the only columns of this data that are used are: \code{...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/parallel.R \name{start_parallel_rplexos} \alias{start_parallel_rplexos} \alias{stop_parallel_rplexos} \alias{check_parallel_rplexos} \alias{is_parallel_rplexos} \title{Enable or disable parallel queries} \usage{ start_parallel_rplexos(ncores ...
/man/start_parallel_rplexos.Rd
no_license
NREL/rplexos
R
false
true
1,047
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/parallel.R \name{start_parallel_rplexos} \alias{start_parallel_rplexos} \alias{stop_parallel_rplexos} \alias{check_parallel_rplexos} \alias{is_parallel_rplexos} \title{Enable or disable parallel queries} \usage{ start_parallel_rplexos(ncores ...
library(ggplot2) library(reshape2) args <- commandArgs(T) if(length(args)<2){stop("Rscript 708_metastats.R input.txt group.txt output.txt 8 cutoff_p")} inputfile <- args[1] groupfile <- args[2] outputdir <- args[3] gstart <- as.numeric(args[4]) cutoff_p <- args[5] pflag <- args[6] source("/data_center_01/pi...
/bin/07.kegg/708_metastats.R
no_license
ms201420201029/real_metagenome_pipeline
R
false
false
2,550
r
library(ggplot2) library(reshape2) args <- commandArgs(T) if(length(args)<2){stop("Rscript 708_metastats.R input.txt group.txt output.txt 8 cutoff_p")} inputfile <- args[1] groupfile <- args[2] outputdir <- args[3] gstart <- as.numeric(args[4]) cutoff_p <- args[5] pflag <- args[6] source("/data_center_01/pi...
#' @templateVar class betareg #' @template title_desc_tidy #' #' @param x A `betareg` object produced by a call to [betareg::betareg()]. #' @template param_confint #' @template param_unused_dots #' #' @evalRd return_tidy(regression = TRUE, #' component = "Whether a particular term was used to model the mean or the ...
/R/betareg-tidiers.R
no_license
nemochina2008/broom
R
false
false
2,778
r
#' @templateVar class betareg #' @template title_desc_tidy #' #' @param x A `betareg` object produced by a call to [betareg::betareg()]. #' @template param_confint #' @template param_unused_dots #' #' @evalRd return_tidy(regression = TRUE, #' component = "Whether a particular term was used to model the mean or the ...
/NetworkB/MetadataB3_B6_100/MetadataB3_B6_Fonction.R
no_license
BenoitGahet/Simulation_NMA_Weight
R
false
false
9,314
r
\name{print.cepa.all} \alias{print.cepa.all} \title{ print the cepa.all object } \description{ print the cepa.all object } \usage{ \method{print}{cepa.all}(x, ...) } \arguments{ \item{x}{a \code{\link{cepa.all}} object} \item{...}{other arguments} } \details{ The function print the number of significant pathways ...
/R/CePa_v0.6/man/print.cepa.all.Rd
permissive
NCBI-Hackathons/Metabolomics-Data-Portal
R
false
false
935
rd
\name{print.cepa.all} \alias{print.cepa.all} \title{ print the cepa.all object } \description{ print the cepa.all object } \usage{ \method{print}{cepa.all}(x, ...) } \arguments{ \item{x}{a \code{\link{cepa.all}} object} \item{...}{other arguments} } \details{ The function print the number of significant pathways ...
#Loading libraries and functions source("../library/general.R") #Loading the datasets train <- read.csv("../input/train.csv", stringsAsFactors=FALSE) test <- read.csv("../input/test.csv", stringsAsFactors=FALSE) #Variables Exploration and Formatting #Character Variables List str(train[, !sapply(train, class)...
/library/1_Exploration_And_Cleaning.R
no_license
dsananez/House-Prices-Advanced-Regression
R
false
false
48,976
r
#Loading libraries and functions source("../library/general.R") #Loading the datasets train <- read.csv("../input/train.csv", stringsAsFactors=FALSE) test <- read.csv("../input/test.csv", stringsAsFactors=FALSE) #Variables Exploration and Formatting #Character Variables List str(train[, !sapply(train, class)...
```{r} # Model in tibble #gotta vectorize model_def <- tibble(models = c("mod01", "mod02"), fmla = c("quality ~ . - quality_type", "quality ~ poly(alcohol, 3) + poly(volatile_acidity, 3) + poly(density, 3) + citric_acid")) ``` ```{r 10-Fold-CV} wine_10fold <- red_wi...
/Models for EDA.R
no_license
mariaarias74/wine-final
R
false
false
1,947
r
```{r} # Model in tibble #gotta vectorize model_def <- tibble(models = c("mod01", "mod02"), fmla = c("quality ~ . - quality_type", "quality ~ poly(alcohol, 3) + poly(volatile_acidity, 3) + poly(density, 3) + citric_acid")) ``` ```{r 10-Fold-CV} wine_10fold <- red_wi...
306f4631678cdabc91e591040f10743e mult_bool_matrix_dyn_2_2.sat.qdimacs 214 606
/code/dcnf-ankit-optimized/Results/QBFLIB-2018/E1+A1/Database/Tentrup/mult-matrix/mult_bool_matrix_dyn_2_2.sat/mult_bool_matrix_dyn_2_2.sat.R
no_license
arey0pushpa/dcnf-autarky
R
false
false
77
r
306f4631678cdabc91e591040f10743e mult_bool_matrix_dyn_2_2.sat.qdimacs 214 606
library(testthat) library(Rmleda) test_check("Rmleda")
/tests/testthat.R
permissive
UBC-MDS/Rmleda
R
false
false
57
r
library(testthat) library(Rmleda) test_check("Rmleda")
% Generated by roxygen2 (4.1.0): do not edit by hand % Please edit documentation in R/GetSiteTitle.R \name{GetSiteTitle} \alias{GetSiteTitle} \title{Get Site Title for a Report Suite(s)} \usage{ GetSiteTitle(reportsuite.ids) } \arguments{ \item{reportsuite.ids}{Report suite id (or list of report suite ids)} } \value{ D...
/man/GetSiteTitle.Rd
no_license
goooooooonuts/RSiteCatalyst
R
false
false
626
rd
% Generated by roxygen2 (4.1.0): do not edit by hand % Please edit documentation in R/GetSiteTitle.R \name{GetSiteTitle} \alias{GetSiteTitle} \title{Get Site Title for a Report Suite(s)} \usage{ GetSiteTitle(reportsuite.ids) } \arguments{ \item{reportsuite.ids}{Report suite id (or list of report suite ids)} } \value{ D...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/node.R \name{compose_id} \alias{compose_id} \title{Compose an id value from env and name} \usage{ compose_id(x) } \arguments{ \item{obj}{object definition} } \value{ Node's id as a character value constructed from env + name fields. } \descri...
/man/compose_id.Rd
permissive
vh-d/Rflow
R
false
true
367
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/node.R \name{compose_id} \alias{compose_id} \title{Compose an id value from env and name} \usage{ compose_id(x) } \arguments{ \item{obj}{object definition} } \value{ Node's id as a character value constructed from env + name fields. } \descri...
y = c(10,13,12,17,56,36,29,14,10,24,110,28,17,8,30,9,47,35,29,14,56,14,11,46,11,23,65,26,69,61,94,10,18,9,10,28,31,26,29,31,16) x1 = c(213,91,453,454,412,80,434,136,207,368,3344,361,104,125,291,204,625,1064,699,381,775,181,46,44,391,462,1007,266,1692,347,343,337,275,641,721,137,96,197,379,35,569) data = data.frame(x1,y...
/HOMEWORK #3/R-Run-Q3-a.R
no_license
TariesW/STAT350
R
false
false
1,168
r
y = c(10,13,12,17,56,36,29,14,10,24,110,28,17,8,30,9,47,35,29,14,56,14,11,46,11,23,65,26,69,61,94,10,18,9,10,28,31,26,29,31,16) x1 = c(213,91,453,454,412,80,434,136,207,368,3344,361,104,125,291,204,625,1064,699,381,775,181,46,44,391,462,1007,266,1692,347,343,337,275,641,721,137,96,197,379,35,569) data = data.frame(x1,y...
rm(list=ls(all=TRUE)) setwd('/Users/Helena/Desktop/DataScience/Incubator') #Read files #---------------------- filename="math-achievement-lea-sy2014-15.csv" data <-read.csv(filename, header=TRUE) data_original <-data filename="rla-achievement-lea-sy2014-15.csv" data2 <-read.csv(filename, header=TRUE) data2_original...
/Project_Education.r
no_license
HelenaDominguez/DataIncubatorChallenge
R
false
false
9,656
r
rm(list=ls(all=TRUE)) setwd('/Users/Helena/Desktop/DataScience/Incubator') #Read files #---------------------- filename="math-achievement-lea-sy2014-15.csv" data <-read.csv(filename, header=TRUE) data_original <-data filename="rla-achievement-lea-sy2014-15.csv" data2 <-read.csv(filename, header=TRUE) data2_original...
#function to create freq plots FreqPlots<-function(df, folder){ require(ggplot2) plotFunc <- function(x, na.rm = TRUE){ nm <- names(x) for (i in seq_along(nm)) { plots <-ggplot(x,aes_string(x = nm[i]), fill="lightblue") + geom_bar(stat="count",position = position_dodge())+theme_bw()+ theme(...
/R/plot_functions.R
no_license
AVJdataminer/Squeaky
R
false
false
3,885
r
#function to create freq plots FreqPlots<-function(df, folder){ require(ggplot2) plotFunc <- function(x, na.rm = TRUE){ nm <- names(x) for (i in seq_along(nm)) { plots <-ggplot(x,aes_string(x = nm[i]), fill="lightblue") + geom_bar(stat="count",position = position_dodge())+theme_bw()+ theme(...
library(rstan) d <- read.csv(file='input/data-protein.txt', stringsAsFactors=FALSE) idx <- grep('<', d$Y) Y_obs <- as.numeric(d[-idx, ]) L <- as.numeric(sub('<', '', d[idx,]))[1] data <- list(N_obs=length(Y_obs), N_cens=length(idx), Y_obs=Y_obs, L=L) fit <- stan(file='model/model7-7.stan', data=data, seed=1234)
/chap07/run-model7-7.R
no_license
winterwang/RStanBook
R
false
false
315
r
library(rstan) d <- read.csv(file='input/data-protein.txt', stringsAsFactors=FALSE) idx <- grep('<', d$Y) Y_obs <- as.numeric(d[-idx, ]) L <- as.numeric(sub('<', '', d[idx,]))[1] data <- list(N_obs=length(Y_obs), N_cens=length(idx), Y_obs=Y_obs, L=L) fit <- stan(file='model/model7-7.stan', data=data, seed=1234)
\name{plot.anylist} \alias{plot.anylist} \title{Plot a List of Things} \description{ Plots a list of things } \usage{ \method{plot}{anylist}(x, \dots, main, arrange=TRUE, nrows=NULL, ncols=NULL, main.panel=NULL, mar.panel=c(2,1,1,2), hsep=0, vsep=0, panel.begin=NULL, panel.end=NULL, panel.args=NULL, plotco...
/man/plot.anylist.Rd
no_license
cuulee/spatstat
R
false
false
8,388
rd
\name{plot.anylist} \alias{plot.anylist} \title{Plot a List of Things} \description{ Plots a list of things } \usage{ \method{plot}{anylist}(x, \dots, main, arrange=TRUE, nrows=NULL, ncols=NULL, main.panel=NULL, mar.panel=c(2,1,1,2), hsep=0, vsep=0, panel.begin=NULL, panel.end=NULL, panel.args=NULL, plotco...
# NOTE # # Move to the last line of this file to get more information about which files that this script will save --> Default is to save all of agegroup and the total cases of all group --> 101 files # Basically same with Generate_Cases_DF.R --> but here use both original VIMC data and Quan (VIMC+UN) data # Create Cas...
/Generate_Cases/Generate_Cases_Dataframe.R
no_license
JieSun1990/JERFOUCRU
R
false
false
5,502
r
# NOTE # # Move to the last line of this file to get more information about which files that this script will save --> Default is to save all of agegroup and the total cases of all group --> 101 files # Basically same with Generate_Cases_DF.R --> but here use both original VIMC data and Quan (VIMC+UN) data # Create Cas...
#' Retrieve or create a document-feature matrix (dfm) from hard coded options relevant to current project #' @param dfm_file Path to a dfm file, if file exists, file is read, if not dfm is computed from corpus #' @param corpus_file path to a corpus data.frame with text in text column #' @param text_col text column in t...
/R/text_mining.R
permissive
hrvg/wateReview
R
false
false
2,477
r
#' Retrieve or create a document-feature matrix (dfm) from hard coded options relevant to current project #' @param dfm_file Path to a dfm file, if file exists, file is read, if not dfm is computed from corpus #' @param corpus_file path to a corpus data.frame with text in text column #' @param text_col text column in t...
rm(list=ls()) library(readr) library(data.table) library(finML) library(fBasics) setwd("C:/Users/nicholas.warren/Desktop/Work/Kaggle/Houses/") train <- data.frame(read_csv(file = "data/train.csv")) test <- data.frame(read_csv(file = "data/test.csv")) train$SalePrice<-log(train$SalePrice) #or define factor names...
/Houses/Submissions/Submission 1 PLB 0.13020/finML Houses (lm).R
no_license
nerdville/WaddleFish
R
false
false
6,196
r
rm(list=ls()) library(readr) library(data.table) library(finML) library(fBasics) setwd("C:/Users/nicholas.warren/Desktop/Work/Kaggle/Houses/") train <- data.frame(read_csv(file = "data/train.csv")) test <- data.frame(read_csv(file = "data/test.csv")) train$SalePrice<-log(train$SalePrice) #or define factor names...
library(httr) library(jsonlite) load("data/finnotech/token.rda") service <- "companies" address <- "https://api.finnotech.ir" clientID <- "Billionaire" finnotech_version <- "v1" token <- content_token[["access_token"]][["value"]] service_url <- paste(address, "bourse", finnotech_version, "clients", clientID, service...
/R/finnotech/getting_instruments_data.R
no_license
pooya1991/BillioR
R
false
false
659
r
library(httr) library(jsonlite) load("data/finnotech/token.rda") service <- "companies" address <- "https://api.finnotech.ir" clientID <- "Billionaire" finnotech_version <- "v1" token <- content_token[["access_token"]][["value"]] service_url <- paste(address, "bourse", finnotech_version, "clients", clientID, service...
library(TSA) ### Name: garch.sim ### Title: Simulate a GARCH process ### Aliases: garch.sim ### Keywords: methods ### ** Examples set.seed(1235678) garch01.sim=garch.sim(alpha=c(.01,.9),n=500) plot(garch01.sim,type='l', main='',ylab=expression(r[t]),xlab='t')
/data/genthat_extracted_code/TSA/examples/garch.sim.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
267
r
library(TSA) ### Name: garch.sim ### Title: Simulate a GARCH process ### Aliases: garch.sim ### Keywords: methods ### ** Examples set.seed(1235678) garch01.sim=garch.sim(alpha=c(.01,.9),n=500) plot(garch01.sim,type='l', main='',ylab=expression(r[t]),xlab='t')
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/cluster_determination.R \name{FindClusters} \alias{FindClusters} \title{Cluster Determination} \usage{ FindClusters(object, genes.use = NULL, pc.use = NULL, k.param = 10, k.scale = 10, plot.SNN = FALSE, prune.SNN = 0.1, save.SNN = FALSE, ...
/man/FindClusters.Rd
no_license
paodan/studySeu
R
false
true
2,983
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/cluster_determination.R \name{FindClusters} \alias{FindClusters} \title{Cluster Determination} \usage{ FindClusters(object, genes.use = NULL, pc.use = NULL, k.param = 10, k.scale = 10, plot.SNN = FALSE, prune.SNN = 0.1, save.SNN = FALSE, ...
orderly_locate_config <- function() { root <- find_file_descend("orderly_config.yml") if (is.null(root)) { stop("Reached root without finding 'orderly_config.yml'") } orderly_config$new(root) } orderly_config_get <- function(x, locate = FALSE) { if (inherits(x, "orderly_config")) { x } else if (is...
/R/config.R
permissive
Karagul/orderly
R
false
false
12,142
r
orderly_locate_config <- function() { root <- find_file_descend("orderly_config.yml") if (is.null(root)) { stop("Reached root without finding 'orderly_config.yml'") } orderly_config$new(root) } orderly_config_get <- function(x, locate = FALSE) { if (inherits(x, "orderly_config")) { x } else if (is...
top_genes<- function(inhibitor_df){ inhibitor_df->df row_int<- ceiling(nrow(df)*0.10) df<- df[order(df$PValue), ] df[1:row_int, 1]-> top_sig df<-df[order(abs(df$logFC), decreasing = TRUE), ] df[1:row_int, 1]-> top_logFC top_genes<- top_sig[which(top_sig %in% top_logFC)] return(top_genes) }
/simulations/top_genes.R
no_license
KatieFish/Sato_lab_chemical_genomics
R
false
false
295
r
top_genes<- function(inhibitor_df){ inhibitor_df->df row_int<- ceiling(nrow(df)*0.10) df<- df[order(df$PValue), ] df[1:row_int, 1]-> top_sig df<-df[order(abs(df$logFC), decreasing = TRUE), ] df[1:row_int, 1]-> top_logFC top_genes<- top_sig[which(top_sig %in% top_logFC)] return(top_genes) }
#Preparing merge library(tidyr) library(dplyr) library(Gmisc) library(tidyverse) library(boot) library(randomForest) library(ranger) library(neuralnet) library(nnet) rm(list = ls()) data_3 <- read.csv("/Volumes/NO NAME/VARA_DATA_orginal/tab_3.csv", encoding="latin1", dec = ",", na.strings = ".") data_3$VTID_Median <- ...
/runs/2018-10-02T07-28-28Z/tfruns.d/source/prediction_model.R
no_license
MarMagn/VARA_rep
R
false
false
24,794
r
#Preparing merge library(tidyr) library(dplyr) library(Gmisc) library(tidyverse) library(boot) library(randomForest) library(ranger) library(neuralnet) library(nnet) rm(list = ls()) data_3 <- read.csv("/Volumes/NO NAME/VARA_DATA_orginal/tab_3.csv", encoding="latin1", dec = ",", na.strings = ".") data_3$VTID_Median <- ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/lists_members.R, R/lists_memberships.R \name{lists_members} \alias{lists_members} \alias{lists_memberships} \title{Get the members of a specified Twitter list.} \usage{ lists_members(list_id = NULL, slug = NULL, owner_user = NULL, n = 5000, ...
/man/lists_members.Rd
no_license
tylerlittlefield/rtweet
R
false
true
2,963
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/lists_members.R, R/lists_memberships.R \name{lists_members} \alias{lists_members} \alias{lists_memberships} \title{Get the members of a specified Twitter list.} \usage{ lists_members(list_id = NULL, slug = NULL, owner_user = NULL, n = 5000, ...
#' @name survdata #' @title Simulated Survival Data #' @description A simulated dataset with 1500 fake right-censored survival times #' with a change point at \code{time = 90}.\cr The survival times are Weibull #' distributed with parameters \code{shape = 0.44} and \code{scale = 100} #' below the change point and...
/R/cpsurv-data.R
permissive
stefpeschel/CPsurv
R
false
false
530
r
#' @name survdata #' @title Simulated Survival Data #' @description A simulated dataset with 1500 fake right-censored survival times #' with a change point at \code{time = 90}.\cr The survival times are Weibull #' distributed with parameters \code{shape = 0.44} and \code{scale = 100} #' below the change point and...
library(restimizeapi) ### Name: GetCompanies ### Title: Returns the company information for all companies that Estimize ### covers. ### Aliases: GetCompanies ### ** Examples ## Not run: ##D result <- GetCompanies () ##D ## End(Not run)
/data/genthat_extracted_code/restimizeapi/examples/GetCompanies.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
249
r
library(restimizeapi) ### Name: GetCompanies ### Title: Returns the company information for all companies that Estimize ### covers. ### Aliases: GetCompanies ### ** Examples ## Not run: ##D result <- GetCompanies () ##D ## End(Not run)
sd(c(5,8,12)) which.min(c(4,1,6)) c(2,3,5,8, 13) Country <- c("Brazil","China","India", "Switzerland", "USA") LifeExpectancy <- c(74,76,65,83,79) Country LifeExpectancy seq(0,100,2) CountryData <- data.frame(Country, LifeExpectancy) CountryData CountryData$Population <- c(199000, 1390000,1240000, 7997,318000) CountryDa...
/week_1.R
no_license
MGundiK/Analytics-Edge
R
false
false
5,712
r
sd(c(5,8,12)) which.min(c(4,1,6)) c(2,3,5,8, 13) Country <- c("Brazil","China","India", "Switzerland", "USA") LifeExpectancy <- c(74,76,65,83,79) Country LifeExpectancy seq(0,100,2) CountryData <- data.frame(Country, LifeExpectancy) CountryData CountryData$Population <- c(199000, 1390000,1240000, 7997,318000) CountryDa...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/sym_circle_plot.R \name{sym.circle.plot} \alias{sym.circle.plot} \title{Symbolic Circle of Correlations} \usage{ sym.circle.plot(prin.corre) } \arguments{ \item{prin.corre}{A symbolic interval data matrix with correlations between the variabl...
/man/sym.circle.plot.Rd
no_license
cran/RSDA
R
false
true
793
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/sym_circle_plot.R \name{sym.circle.plot} \alias{sym.circle.plot} \title{Symbolic Circle of Correlations} \usage{ sym.circle.plot(prin.corre) } \arguments{ \item{prin.corre}{A symbolic interval data matrix with correlations between the variabl...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/model.R \name{model-method-format} \alias{model-method-format} \alias{format} \title{Run stanc's auto-formatter on the model code.} \usage{ format( overwrite_file = FALSE, canonicalize = FALSE, backup = TRUE, max_line_length = NULL, ...
/man/model-method-format.Rd
permissive
stan-dev/cmdstanr
R
false
true
2,976
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/model.R \name{model-method-format} \alias{model-method-format} \alias{format} \title{Run stanc's auto-formatter on the model code.} \usage{ format( overwrite_file = FALSE, canonicalize = FALSE, backup = TRUE, max_line_length = NULL, ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/MutationTime.R \name{mtHeader} \alias{mtHeader} \title{Return header elements} \usage{ mtHeader() } \value{ DataFrame() to be added to VCF header } \description{ Return header elements } \author{ mg14 }
/man/mtHeader.Rd
no_license
JhuangLabReferences/MutationTimeR
R
false
true
281
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/MutationTime.R \name{mtHeader} \alias{mtHeader} \title{Return header elements} \usage{ mtHeader() } \value{ DataFrame() to be added to VCF header } \description{ Return header elements } \author{ mg14 }
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/paws.route53domains_operations.R \name{view_billing} \alias{view_billing} \title{Returns all the domain-related billing records for the current AWS account for a specified period} \usage{ view_billing(Start = NULL, End = NULL, Marker = NULL, ...
/service/paws.route53domains/man/view_billing.Rd
permissive
CR-Mercado/paws
R
false
true
1,672
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/paws.route53domains_operations.R \name{view_billing} \alias{view_billing} \title{Returns all the domain-related billing records for the current AWS account for a specified period} \usage{ view_billing(Start = NULL, End = NULL, Marker = NULL, ...
sffsqpSum <- function(Xall, Aall, Kmax = NULL, deltaK = NULL, iInd = NULL) { Kmax <- max(ncol(Aall), Kmax) deltaK <- min(deltaK, ncol(Aall) - Kmax) costfunc <- function(combset) { A <- Aall[, combset, drop = F...
/CAM/sffsqpSum.R
permissive
MinjieSh/ProImput
R
false
false
2,276
r
sffsqpSum <- function(Xall, Aall, Kmax = NULL, deltaK = NULL, iInd = NULL) { Kmax <- max(ncol(Aall), Kmax) deltaK <- min(deltaK, ncol(Aall) - Kmax) costfunc <- function(combset) { A <- Aall[, combset, drop = F...
% Generated by roxygen2 (4.1.0): do not edit by hand % Please edit documentation in R/wfm.R \name{plot.wfdf} \alias{plot.wfdf} \title{Plots a wfdf object} \usage{ \method{plot}{wfdf}(x, ...) } \arguments{ \item{x}{The wfdf object} \item{\ldots}{Other arguments passed to \code{\link[qdap]{plot.wfm}}.} } \description{ P...
/man/plot.wfdf.Rd
no_license
Libardo1/qdap
R
false
false
343
rd
% Generated by roxygen2 (4.1.0): do not edit by hand % Please edit documentation in R/wfm.R \name{plot.wfdf} \alias{plot.wfdf} \title{Plots a wfdf object} \usage{ \method{plot}{wfdf}(x, ...) } \arguments{ \item{x}{The wfdf object} \item{\ldots}{Other arguments passed to \code{\link[qdap]{plot.wfm}}.} } \description{ P...
############### SYNOPSIS ################### # AIM: Make GIF/MP4 annitation of cell-type prioritization main figure # ======================================================================= # # =============================== SETUP ================================= # # ================================================...
/src/publication/fig-celltype_priori_animation.R
no_license
Tobi1kenobi/msc-thesis-2019
R
false
false
6,062
r
############### SYNOPSIS ################### # AIM: Make GIF/MP4 annitation of cell-type prioritization main figure # ======================================================================= # # =============================== SETUP ================================= # # ================================================...
library(sspse) ### Name: plot.sspse ### Title: Plot Summary and Diagnostics for Population Size Estimation ### Model Fits ### Aliases: plot.sspse ### Keywords: hplot ### ** Examples N0 <- 200 n <- 100 K <- 10 # Create probabilities for a Waring distribution # with scaling parameter 3 and mean 5, but truncated ...
/data/genthat_extracted_code/sspse/examples/plot.sspse.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
907
r
library(sspse) ### Name: plot.sspse ### Title: Plot Summary and Diagnostics for Population Size Estimation ### Model Fits ### Aliases: plot.sspse ### Keywords: hplot ### ** Examples N0 <- 200 n <- 100 K <- 10 # Create probabilities for a Waring distribution # with scaling parameter 3 and mean 5, but truncated ...
## This function fits Bayesian Conditional Transformation Models. ## Author: Manuel Carlan bctm <- function(formula, family = c("gaussian", "logistic", "mev"), data, hyperparams=list(a=1, b=0.001), iterations = 2000, start=NULL, warmup = iterations/2, burnin=iterations/2, cens=NULL, seed = NULL, inte...
/bctm_fun.R
no_license
manucarl/bctm_showcase
R
false
false
6,030
r
## This function fits Bayesian Conditional Transformation Models. ## Author: Manuel Carlan bctm <- function(formula, family = c("gaussian", "logistic", "mev"), data, hyperparams=list(a=1, b=0.001), iterations = 2000, start=NULL, warmup = iterations/2, burnin=iterations/2, cens=NULL, seed = NULL, inte...
# >80 = 1 e <80 = -1 # >3 = 1 e <3 = -1 # qa qb qab # -1 -1 1 >> # 1 -1 -1 >< # -1 1 -1 <> # 1 1 1 << #q0 = sum(y) #qa = qa*y #qb = qb*y #qab = qab*y relevanciaFatores <- NULL for(comunidade in unique(tab_result_moran$comunidade)) { tabAnalise <- tab_result_moran[tab_result_moran$comunidade...
/analises/estatisticas/calcRelevanciaFatores.R
no_license
acgabriel3/difusaoDeUmaInovacao
R
false
false
1,245
r
# >80 = 1 e <80 = -1 # >3 = 1 e <3 = -1 # qa qb qab # -1 -1 1 >> # 1 -1 -1 >< # -1 1 -1 <> # 1 1 1 << #q0 = sum(y) #qa = qa*y #qb = qb*y #qab = qab*y relevanciaFatores <- NULL for(comunidade in unique(tab_result_moran$comunidade)) { tabAnalise <- tab_result_moran[tab_result_moran$comunidade...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/nexml.R \name{add_provenance_record} \alias{add_provenance_record} \title{Generate and add provenance record to nexml} \usage{ add_provenance_record(nexml, cmd = NA, creator = Sys.getenv("USER")) } \arguments{ \item{nexml}{the \link[RNeXML:ne...
/man/add_provenance_record.Rd
permissive
phenoscape/rphenoscape
R
false
true
2,434
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/nexml.R \name{add_provenance_record} \alias{add_provenance_record} \title{Generate and add provenance record to nexml} \usage{ add_provenance_record(nexml, cmd = NA, creator = Sys.getenv("USER")) } \arguments{ \item{nexml}{the \link[RNeXML:ne...
library("oro.dicom") setwd("C:/Neurohacking/Neurohacking_data/BRAINIX/DICOM/FLAIR") slice=readDICOM("IM-0001-0011.dcm") class(slice) #explore the data names(slice) class(slice$hdr) class(slice$hdr[[1]]) class(slice$img) class(slice$img[[1]]) dim(slice$img[[1]]) #view the image d=dim(t(slice$img[[1]])) image(1:d[1],1...
/Neurohacking.R
no_license
sarahjeeeze/NueroinR
R
false
false
890
r
library("oro.dicom") setwd("C:/Neurohacking/Neurohacking_data/BRAINIX/DICOM/FLAIR") slice=readDICOM("IM-0001-0011.dcm") class(slice) #explore the data names(slice) class(slice$hdr) class(slice$hdr[[1]]) class(slice$img) class(slice$img[[1]]) dim(slice$img[[1]]) #view the image d=dim(t(slice$img[[1]])) image(1:d[1],1...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/raadtools.R \docType{data} \name{amps_metadata} \alias{amps_metadata} \title{AMPS GRIB file metadata} \format{ \code{amps_metadata} A data frame with 8 columns. The columns represent \tabular{rl}{ \code{Band} \tab the band number \cr \code{G...
/man/amps_metadata.Rd
no_license
AustralianAntarcticDivision/raadtools
R
false
true
829
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/raadtools.R \docType{data} \name{amps_metadata} \alias{amps_metadata} \title{AMPS GRIB file metadata} \format{ \code{amps_metadata} A data frame with 8 columns. The columns represent \tabular{rl}{ \code{Band} \tab the band number \cr \code{G...
library(data.table) data <- fread("./ExploratorayData/household_power_consumption.txt") sdata<-subset(data, Date =='1/2/2007' | Date =='2/2/2007') df<-as.data.frame(sdata) df[, c(3:8)] <- apply(df[, c(3:8)], 2, function(x){as.numeric(x)}) png(filename = "./ExploratorayData/plot1.png", width = 480, height = 480, un...
/plot1.r
no_license
Serene00/ExData_Plotting1
R
false
false
451
r
library(data.table) data <- fread("./ExploratorayData/household_power_consumption.txt") sdata<-subset(data, Date =='1/2/2007' | Date =='2/2/2007') df<-as.data.frame(sdata) df[, c(3:8)] <- apply(df[, c(3:8)], 2, function(x){as.numeric(x)}) png(filename = "./ExploratorayData/plot1.png", width = 480, height = 480, un...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/billing_module.R \name{billing_module} \alias{billing_module} \title{billing module} \usage{ billing_module(input, output, session, sub_info) } \arguments{ \item{input}{the Shiny server input} \item{output}{the Shiny server output} \item{se...
/man/billing_module.Rd
no_license
socioskop/polipay
R
false
true
433
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/billing_module.R \name{billing_module} \alias{billing_module} \title{billing module} \usage{ billing_module(input, output, session, sub_info) } \arguments{ \item{input}{the Shiny server input} \item{output}{the Shiny server output} \item{se...
library(tensorA) ### Name: margin.tensor ### Title: Marginalization of tensors ### Aliases: margin.tensor ### Keywords: arith ### ** Examples A <- diag(1:5) A margin.tensor(A,1) A <- to.tensor(1:30,dim=c(i=3,j=5,k=2)) ftable(A) margin.tensor(A,"j")
/data/genthat_extracted_code/tensorA/examples/margin.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
258
r
library(tensorA) ### Name: margin.tensor ### Title: Marginalization of tensors ### Aliases: margin.tensor ### Keywords: arith ### ** Examples A <- diag(1:5) A margin.tensor(A,1) A <- to.tensor(1:30,dim=c(i=3,j=5,k=2)) ftable(A) margin.tensor(A,"j")
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/get_region_codes.R \name{rename_region_column} \alias{rename_region_column} \title{Helper to rename the region column in each dataset to the correct name for each country.} \usage{ rename_region_column(data, country) } \arguments{ \item{data}...
/man/rename_region_column.Rd
permissive
FelipeJColon/covidregionaldata
R
false
true
795
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/get_region_codes.R \name{rename_region_column} \alias{rename_region_column} \title{Helper to rename the region column in each dataset to the correct name for each country.} \usage{ rename_region_column(data, country) } \arguments{ \item{data}...
shinyUI(basicPage( plotOutput("myplot", clickId = "myplot_click", hoverId = "myplot_hover", hoverDelay = 150, width = 400, height = 400), tableOutput("mytable") ))
/locator/ui.r
no_license
takewiki/testapp
R
false
false
172
r
shinyUI(basicPage( plotOutput("myplot", clickId = "myplot_click", hoverId = "myplot_hover", hoverDelay = 150, width = 400, height = 400), tableOutput("mytable") ))
#' @title A function to create personalized KM curve for 2 or more groups #' @author Salil Deo #' @description Provides KM curve for 2/more groups with CI bands #' @param s survfit object #' @param xlab x-axis label #' @param ylab y-axis label #' @import ggplot2 #' @import broom #' @seealso \code{\link[survival]{survfi...
/R/proc_kmcurve2.R
no_license
svd09/Smisc
R
false
false
1,138
r
#' @title A function to create personalized KM curve for 2 or more groups #' @author Salil Deo #' @description Provides KM curve for 2/more groups with CI bands #' @param s survfit object #' @param xlab x-axis label #' @param ylab y-axis label #' @import ggplot2 #' @import broom #' @seealso \code{\link[survival]{survfi...
## function best(state, outcome) ## Returns the hospital in the given US state with the given rank for the ## 30-day death rate of a given illness. ## ## Reads a CSV of hospital outcomes from <http://hospitalcompare.hxhs.gov> ## ## IN : char state - the capitalized postal code for a US state/territory ex WV ## char ou...
/2-rprogramming/ProgrammingAssignment3/rankhospital.R
no_license
r-handsfield/datasciencecoursera
R
false
false
3,105
r
## function best(state, outcome) ## Returns the hospital in the given US state with the given rank for the ## 30-day death rate of a given illness. ## ## Reads a CSV of hospital outcomes from <http://hospitalcompare.hxhs.gov> ## ## IN : char state - the capitalized postal code for a US state/territory ex WV ## char ou...
#:# libraries library(digest) library(mlr) library(OpenML) library(farff) #:# config set.seed(1) #:# data dataset <- getOMLDataSet(data.name = "arsenic-female-bladder") head(dataset$data) #:# preprocessing head(dataset$data) #:# model task = makeClassifTask(id = "task", data = dataset$data, target = "binaryClass") ...
/models/openml_arsenic-female-bladder/classification_binaryClass/105833a60b461e44b05c8cd4cb3b115b/code.R
no_license
pysiakk/CaseStudies2019S
R
false
false
699
r
#:# libraries library(digest) library(mlr) library(OpenML) library(farff) #:# config set.seed(1) #:# data dataset <- getOMLDataSet(data.name = "arsenic-female-bladder") head(dataset$data) #:# preprocessing head(dataset$data) #:# model task = makeClassifTask(id = "task", data = dataset$data, target = "binaryClass") ...
#' Pairwise plot #' #' Compare two water chemistry parameters for precipitation, lake, and #' groundwaters. #' #' #' @param water_chem data frame with water chemistry information to use #' @param parameters vector with dnr description of two parameters to compare #' @param no_site_id vector with site_ids to remove from...
/R/plot_pairs.R
no_license
cvoter/CSLSchem
R
false
false
3,982
r
#' Pairwise plot #' #' Compare two water chemistry parameters for precipitation, lake, and #' groundwaters. #' #' #' @param water_chem data frame with water chemistry information to use #' @param parameters vector with dnr description of two parameters to compare #' @param no_site_id vector with site_ids to remove from...