Cumulative distribution function of a zero truncated Poisson variable

Share:

Description

Cumulative distribution function of a zero truncated Poisson variable

Usage

1
pztp(y, lambda)

Arguments

y

vector of length n

lambda

either a number or a vector of length n

Value

cumulative distribution function, evaluated at y, this is a vector of length n

Author(s)

Nicole Kraemer

See Also

dztp

Examples

1
2
3
4
5
y<-0:10
lambda1<-5 # fixed lambda
out1<-pztp(y,lambda1)
lambda2<-2:12 # variable lambda
out2<-pztp(y,lambda2)