r_exp {rando} | R Documentation |
Generate Exponentially Distributed Values
Description
Generates a set of Exponentially distributed values.
Usage
r_exp(rate = 1, ..., n = default_n(rate), .seed = NULL)
Arguments
rate |
vector of rates, strictly positive |
... |
Unused |
n |
number of observations to generate. The |
.seed |
One of the following:
To extract the random seed from a previously generated set of
values, use |
Value
A numeric vector of length n
Examples
set_n(5)
r_exp(10)
r_exp(1:10)
r_exp(10, n = 10)
[Package rando version 0.2.0 Index]