Learn R Programming

superspreading (version 0.3.0)

ppoislnorm: Cumulative distribution function of the poisson-lognormal compound distribution

Description

Cumulative distribution function of the poisson-lognormal compound distribution

Usage

ppoislnorm(q, meanlog, sdlog)

Value

A numeric vector of the distribution function.

Arguments

q

A number for the quantile of the distribution.

meanlog

A number for the mean of the distribution on the log scale.

sdlog

A number for the standard deviation of the distribution on the log scale.

Details

The function is vectorised so a vector of quantiles can be input and the output will have an equal length.

Examples

Run this code
ppoislnorm(q = 10, meanlog = 1, sdlog = 2)
ppoislnorm(q = 1:10, meanlog = 1, sdlog = 2)

Run the code above in your browser using DataLab