Learn R Programming

extras (version 0.7.3)

sens_gamma: 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)

Value

A named list of the adjusted distribution's parameters.

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.

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

Run this code
sens_gamma(10, 2, 2)
sens_gamma(10, 2, 0.2)

Run the code above in your browser using DataLab