Description Usage Arguments Value Examples
Generate a random vector of probabilities that sum to 1.
1 |
j |
An integer of number of probability elements (typically performs best at j < 4000). |
upper |
|
Returns a vector of probabilities summing to 1.
1 2 3 |
[1] 0.08146402 0.03100816 0.18286120 0.13811748 0.19214272 0.10787875
[7] 0.03805287 0.17992465 0.03442538 0.01412477
[1] 1
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.