resample | R Documentation |
Systematic resampling.
systematic_resample(weights, Np = length(weights))
weights |
numeric; vector of weights. |
Np |
integer scalar; number of samples to draw. |
A vector of integers containing the indices of the resample.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.