Description Usage Arguments Value
Sample single double from vector with probability weights.
1 |
x |
Vector of integers to sample from |
weights |
Vector of weights |
Probability weighted sample
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.