Probability functions for k-truncated Poisson and negative binomial distributions.

dtruncated_nbinom2(x, size, mu, k = 0, log = FALSE)

dtruncated_poisson(x, lambda, k = 0, log = FALSE)

dtruncated_nbinom1(x, phi, mu, k = 0, log = FALSE)

Arguments

x

value

size

number of trials/overdispersion parameter

mu

mean parameter

k

truncation parameter

log

(logical) return log-probability?

lambda

mean parameter

phi

overdispersion parameter