stratSample | R Documentation |
Sample stratified indices according to a factor variable
stratSample(f)
f |
A factor variable |
A vector of the same length as f
, containing the resampled
indices, stratified according to the levels of f
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.