rinflmixN: Generate 'n' variates from the OIPPMM, beginning with unknown...

Description Usage Arguments Value See Also Examples

View source: R/rinflmixN.R

Description

Generate n variates from the OIPPMM, beginning with unknown population size, N.

Usage

1
rinflmixN(N, l, p)

Arguments

N

the unknown population size

l

lambda, a vector of positive Poisson mixture components

p

pi, a vector of weights for the mixture components

Value

a vector of generated OIPPMM variates

See Also

inflmix, rinflmix

Examples

1
2
y <- rinflmixN(N=500, l=c(1,4), p=c(.4,.4))
inflmix(y)

rtgodwin/inflmix documentation built on May 27, 2019, 2:10 p.m.