Description Usage Arguments Value
Sample single integer from vector with probability weights conditional on minimum lower bound.
1 | weighted_sample_min_int(x, weights, lower)
|
x |
Vector of integers to sample from (must be ordered) |
weights |
Vector of weights |
lower |
Lower value of x that must be exceeded |
Probability weighted sample
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.