sampler.exponential | R Documentation |
exponential
object.Method to sample from an exponential
object.
## S3 method for class 'exponential'
sampler(x, ...)
x |
The |
... |
Additional arguments to pass (not used) |
A function that allows sampling from the exponential
distribution. Accepts an argument n
denoting sample
size and rate
denoting the failure rate. Defaults to
the failure rate of object x
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.