Learn R Programming

superspreading (version 0.3.0)

dpoisweibull: Density of the poisson-Weibull compound distribution

Description

Density of the poisson-Weibull compound distribution

Usage

dpoisweibull(x, shape, scale)

Value

A numeric vector of the density of the poisson-Weibull distribution.

Arguments

x

A number for the quantile of the distribution.

shape

A number for the shape parameter of the distribution.

scale

A number for the scale parameter of the distribution.

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
dpoisweibull(x = 10, shape = 1, scale = 2)
dpoisweibull(x = 1:10, shape = 1, scale = 2)

Run the code above in your browser using DataLab