Skip to contents

Expands (sd_mult > 1) or reduces (sd_mult < 1) the standard deviation of the Poisson distribution. Due to the parameterization of this distribution, adjusting the standard deviation necessarily changes the mean value.

Usage

sens_pois(lambda, sd_mult = 2)

Arguments

lambda

A non-negative numeric vector of means.

sd_mult

A non-negative multiplier on the standard deviation of the distribution.

Value

A named list of the adjusted distribution's parameters.

Examples

sens_pois(10, 2)
#> $lambda
#> [1] 40
#> 
sens_pois(10, 0.8)
#> $lambda
#> [1] 6.4
#>