gamma_params: Estimate the parameters for a Gamma distribution

Description Usage Arguments Value Author(s)

View source: R/helpers.R

Description

This is a simple function to estimate what the parameters for a Gamma distribution would be from a data vector. It is used internally to generate start values.

Usage

1

Arguments

x

a data vector to operate on

Value

a list of the shape (alpha) and rate (beta) parameters and the mean and variance

Author(s)

Joshua F. Wiley <[email protected]>


varian documentation built on May 29, 2017, 7:14 p.m.