Learn R Programming

CopulaRegression (version 0.1-5)

dztp: Density of a zero truncated Poisson variable

Description

Probability mass function of a zero truncated Poisson variable

Usage

dztp(y, lambda)

Arguments

y
vector of length n
lambda
either a number or a vector of length n

Value

See Also

pztp

Examples

Run this code
y<-0:10
lambda1<-5 # fixed lambda
out1<-dztp(y,lambda1)
lambda2<-2:12 # variable lambda
out2<-dztp(y,lambda2)

Run the code above in your browser using DataLab