get_split_clss: Get a list of sampled dataframes of the original binary class...

Description Usage Arguments Value

View source: R/utils-uci.R

Description

Get a list of sampled dataframes of the original binary class dataframe split to get the specified true and contamination proportion between the 2 binary classes.

Usage

1
get_split_clss(uci_dat, plt_vars, clss_vals, epsilon, tot_nrows_req)

Arguments

uci_dat

(dataframe) : Dataframe for the binary classification data

plt_vars

(character) : These are the 2 variables we will scatterplot User needs to ensure that the class variable is last in the vector i.e. the third value

clss_vals

(character) : These are the binary class variables values. The first element value is assumed to be the true class value and the second value is assumed to be the contamination class value

epsilon

(double) : The proportion of the contamination class value that we require in our final dataframe

tot_nrows_req

(integer) : The total number of observations we require in our final dataframe of true and contaminated proportions

Value

(dataframe) : Combined resampled dataframe of true and contamination classes


shamindras/robustps documentation built on July 22, 2019, 12:09 a.m.