dzigp {ZIGP}R Documentation

PMF of ZIGP distribution

Description

'dzigp' calculates the probability mass function of the ZIGP distribution.

Usage

dzigp(x, mu, phi, omega)

Arguments

x vector of discrete points
mu mean
phi dispersion parameter
omega zero inflation parameter

Value

Calculates a vector of the same length as of x of pmf-values.

Examples

x <- 1:10
dzigp(x, 2, 1.5, 0.2)
#[1] 0.201467310 0.144357635 0.093859287 0.058560538 0.03584669 0.02174912
#[7] 0.013146607 0.007938715 0.004796227 0.002901477

[Package ZIGP version 3.3 Index]