sens_gamma: Adjust Gamma Distribution Parameters for Sensitivity Analyses

View source: R/sens.R

sens_gammaR Documentation

Adjust Gamma Distribution Parameters for Sensitivity Analyses

Description

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.

See Also

Other sens_dist: sens_beta(), sens_exp(), sens_gamma_pois(), sens_gamma_pois_zi(), sens_lnorm(), sens_neg_binom(), sens_norm(), sens_pois(), sens_skewnorm(), sens_student()

Examples

sens_gamma(10, 2, 2)
sens_gamma(10, 2, 0.2)

extras documentation built on April 4, 2025, 2:40 a.m.