R/distributions.R
poisson_dist.Rd
Create a Poisson-distributed variable with the specified rate. Named poisson_dist to avoid conflict with stats::poisson.
poisson_dist
stats::poisson
poisson_dist(rate, dim = NULL)
Rate parameter (positive numeric or gretaR_array).
gretaR_array
Integer vector of dimensions (default scalar).
A gretaR_array.
if (FALSE) { # \dontrun{ y <- poisson_dist(rate = 5) } # }