rzanegbin: Zero-altered Negative Binomial random number generation

Description Usage Arguments Value

Description

This function generates random numbers from the zero-altered negative binomial pdf. This function is modified from the rzanegbin VGAM package so that munb is not a parameter input option.

Usage

1
  rzanegbin(n, size, prob = NULL, pobs0 = 0)

Arguments

x

a vector of values where the pdf is to be evaluated

size

a value for the ordinary Negative Binomial size parameter

prob

a value for the ordinary Negative Binomial prob parameter

pobs0

Probability of zero.

Value

A vector of zero-altered negative binomial pdf values


benaug/move.HMM documentation built on Jan. 23, 2022, 4:29 a.m.