cdpois: Conditional Poisson distribution

Description Usage Arguments Examples

Description

cdpois calculates the probability density of a value k from a Poisson distribution with a maximum kmax. rdpois draws random numbers from a conditional Poisson distribution.

Usage

1
2
3
cdpois(k, lambda, kmax, log = TRUE)

rdpois(n, lambda, kmax, ...)

Arguments

k

random variable value

lambda

rate parameter of the Poisson distribution

kmax

maximum value of the conditional Poisson distribution

log

log transformed density

n

number of samples to draw

...

additional parameters passed to dpois or rpois

Examples

1
2
3
cdpois(10,1,10)
cdpois(11,1,10)
#rdpois(5,10,10)


Search within the bayou 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.