Learn R Programming

CopulaRegression (version 0.1-5)

pztp: Cumulative distribution function of a zero truncated Poisson variable

Description

Cumulative distribution function of a zero truncated Poisson variable

Usage

pztp(y, lambda)

Arguments

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

Value

See Also

dztp

Examples

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

Run the code above in your browser using DataLab