Description Usage Arguments Value Examples
This function generates random deviates of a given probability density analogously to runif
and rnorm
in case of the uniform and normal distribution respectively.
1 | rdens(dens, n)
|
dens |
a probability density on the intervall [0,1] |
n |
a natural number, which specifies the number of deviates to be generated |
a numeric vector of length n
containing random deviates of dens
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.