Probability function, distribution function, quantile function and random generation for the Bell distribution with parameter theta.
dbell(x, theta, log = FALSE)pbell(q, theta, lower.tail = TRUE, log.p = FALSE)
qbell(p, theta, log.p = FALSE)
rbell(n, theta)
dbell gives the (log) probability function, pbell gives the (log) distribution function, qbell gives the quantile function, and rbell generates random deviates.
vector of (non-negative integer) quantiles.
parameter of the Bell distribution (theta > 0).
logical; if TRUE, probabilities p are given as log(p).
vector of quantiles.
logical; if TRUE (default), probabilities are \(P[X \le x]\); otherwise, \(P[X > x]\).
vector of probabilities.
number of random values to return.
Probability mass function $$ f(x) = \frac{\theta^{x} e^{1-e^{\theta}}B_x}{x!}, $$ where \(B_x\) is the Bell number, and x = 0, 1, ....