Learn R Programming

glmmTMB (version 1.1.9)

dtruncated_nbinom2: truncated distributions

Description

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

Usage

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