Description Usage Arguments Value
View source: R/resampleMultinomial.R
To construct an unweighted sample from a weighted one. Resample will be constructed according to the samples' weight. Samples with higher weights will be selected more often than samples with lower weights.
1 |
w |
weights vector. |
Function return an index called ancestry vector, which is drawn from a categorical distribution. Replace samples with the ancestor.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.