pztp: Cumulative distribution function of a zero truncated Poisson...

Description Usage Arguments Value Author(s) See Also Examples

View source: R/pztp.R

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)

CopulaRegression documentation built on May 29, 2017, 5:47 p.m.