gamma_mu_to_rate: Convert Gamma parameters between mean-dispersion and...

View source: R/zeroAugmentedGamma.R

gamma_mu_to_rateR Documentation

Convert Gamma parameters between mean-dispersion and shape-rate

Description

Convert Gamma parameters between mean-dispersion and shape-rate

Usage

gamma_mu_to_rate(mu, phi)

gamma_rate_to_mu(shape, rate)

Arguments

mu

mean/s (non-negative).

phi

dispersion parameter.

shape

shape parameter.

rate

rate/s (or inverse scale/s).

See dgamma for more details on shape and rate.

Value

a list with the converted Gamma parameters


PRIMER-e/probabilityDistributions documentation built on Jan. 4, 2023, 10:32 a.m.