dztp: Density of a zero truncated Poisson variable

Description Usage Arguments Value Author(s) See Also Examples

Description

Probability mass function of a zero truncated Poisson variable

Usage

1
dztp(y, lambda)

Arguments

y

vector of length n

lambda

either a number or a vector of length n

Value

density, evaluated at y, this is a vector of length n

Author(s)

Nicole Kraemer

See Also

pztp

Examples

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


Search within the CopulaRegression package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.