Description Usage Arguments Value Note
View source: R/balanced_sampling.R
Calculate strata along multiple variables
1 |
df |
A dataframe with continuous variables |
quants |
Quantiles to use as breakpoints in stratification |
A vector of length nrow(df) with a unique value for each stratum
for the time being strata are cut for each variable at the quantiles. Default quantiles are c(0,0.075,0.30,0.70,0.925,1) #http://stackoverflow.com/questions/32614736/multidimensional-histogram-with-r
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.