Description Usage Arguments Value
Internal. Select the samples for each bootstrap iteration. Although it is only one line, we put this task in its own function to easily add more functionality in the future, like also subsetting the features, or giving different weights for the samples
1 | selectSubsample(nSamples, propSamples)
|
nSamples |
number of total items |
propSamples |
proportion of items to be sampled |
A list in with a vector with the indices of selected samples.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.