Description Usage Arguments Value Note See Also Examples
This is generic function for generating random numbers
from the underlying distribution of the distribution reference objects.
This function generates n
random numbers using the parameters
and xmin values found in the associated reference object.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | dist_rand(m, n)
## S4 method for signature 'conlnorm'
dist_rand(m, n = "numeric")
## S4 method for signature 'conexp'
dist_rand(m, n = "numeric")
## S4 method for signature 'conpl'
dist_rand(m, n = "numeric")
## S4 method for signature 'conweibull'
dist_rand(m, n = "numeric")
## S4 method for signature 'disexp'
dist_rand(m, n = "numeric")
## S4 method for signature 'dislnorm'
dist_rand(m, n = "numeric")
## S4 method for signature 'displ'
dist_rand(m, n = "numeric")
## S4 method for signature 'dispois'
dist_rand(m, n = "numeric")
|
m |
a distribution object. |
n |
number of observations to be generated. |
n random numbers
This method does *not* alter the internal state of the distribution object.
dist_cdf
, dist_pdf
and dist_ll
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.