Description Usage Arguments Value Examples
Stratified index sample of different values in a vector.
1 | sample_classes(vec, tot_sample)
|
vec |
Vector of values to sample from. |
tot_sample |
Total number of samples. |
A vector of indices that can be used to select a balanced population of values from vec
.
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.