Description Usage Arguments Details Author(s)
Resample the elements of a named vector (typically class labels).
1 2 | sampleClasses(cl, subset.sizes = NULL, replace = TRUE,
discard.dup = FALSE)
|
cl |
vector of class labels |
subset.sizes=NULL |
named vector indicating the resampling size (values) for each class (names). If NULL, labels are resampled with the same frequency as in the input vector. |
replace=TRUE |
First version: 2015-04 Last modification: 2015-09
Jacques van Helden (Jacques.van-Helden@univ-amu.fr)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.