Description Usage Arguments Value Examples
Make a discrete random variable.
1 |
x |
a numeric vector giving the values of the random variable. |
probs |
optional, a numeric vector giving the probabilities corresponding to each x value. If not specific, assumes all outcomes are equally likely |
An S3 object of class rv
1 2 3 4 5 6 7 8 9 10 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.