Description Usage Arguments Value Author(s)
Function to choose a random sample of data stratified by label.
1 | stratSample(labels, nsamp)
|
labels |
Vector of strings denoting labels. |
nsamp |
Number of items to sample from each label class. |
Vector of indices chosen.
Katherine Ellis
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.