r_pois {rando} | R Documentation |
Generate Poisson Distributed Values
Description
Generates a set of Poisson distributed values.
Usage
r_pois(rate, ..., 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_pois(10)
r_pois(1:10)
r_pois(10, n = 10)
[Package rando version 0.2.0 Index]