Description Usage Arguments Value Author(s) Examples
Draw random number between 1 and length(weights) with the distribution
1 |
n |
Number of random numbers to be drawn |
weights |
vector of numbers; defines the distribution |
vector of n random numbers between 1 and length(weights)
Thomas Laepple
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.