Learn R Programming

extras (version 0.7.3)

sens_skewnorm: Adjust Skew Normal Distribution Parameters for Sensitivity Analyses

Description

Expands (sd_mult > 1) or reduces (sd_mult < 1) the standard deviation of the Skew Normal distribution without changing the mean.

Usage

sens_skewnorm(mean, sd, shape, sd_mult = 2)

Value

A named list of the adjusted distribution's parameters.

Arguments

mean

A numeric vector of the means.

sd

A non-negative numeric vector of the standard deviations.

shape

A non-negative numeric vector of shape.

sd_mult

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

See Also

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

Examples

Run this code
if (FALSE) { # requireNamespace("sn")
sens_skewnorm(10, 3, -1, 2)
sens_skewnorm(10, 3, 3, 0.8)
}

Run the code above in your browser using DataLab