Skip to contents

Expands (sd_mult > 1) or reduces (sd_mult < 1) the standard deviation of the Gamma distribution.

Usage

sens_gamma(shape, rate, sd_mult = 2)

Arguments

shape

A non-negative numeric vector of shape.

rate

A non-negative numeric vector of rate.

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_gamma(10, 2, 2)
#> $shape
#> [1] 2.5
#> 
#> $rate
#> [1] 0.5
#> 
sens_gamma(10, 2, 0.2)
#> $shape
#> [1] 250
#> 
#> $rate
#> [1] 50
#>