Draw a random sample from a probability distribution
Draw a random sample from a probability distribution
random(d, n = 1L, ...)
d |
A probability distribution object such as those created by
a call to |
n |
The number of samples to draw. Should be a positive
integer. Defaults to |
... |
Unused. Unevaluated arguments will generate a warning to catch mispellings or other possible errors. |
X <- Normal() random(X, 10)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.