Description Usage Arguments Value Author(s)
This function is used to do stratified subsampling based on the number of observations in each group in the response
1 | stratifiedSamplingForCV(response)
|
response |
Vector of categorical responses |
The function returns a vector of labels to assign each observation to a different fold
Alessandra Cabassi alessandra.cabassi@mrc-bsu.cam.ac.uk
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.