View source: R/util_resampling.R
Runs a systematic resampling algorithm, taking a vector of normalized weights, a number of desired draws, and a uniform variable and returning a vector of ancestors
1 | systematic_resampling_n(normalized_weights, N, u)
|
A vector of ancestors
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.