gamma_start: Generate Gamma Distribution Starting Values

Description Usage Arguments Value

View source: R/gamma_start.R

Description

Generates starting values from a gamma distribution to estimate a parameter. The mode of the distribution is on the parameter value.

Usage

1
gamma_start(x, alpha = 3, seed)

Arguments

x

A single numeric parameter value.

alpha

Shape parameter of the gamma distribution.

seed

Seed of the random number generation (for reproducibility).

Value

A single numeric starting value for the parameter.


maltelueken/gazeHMM documentation built on Oct. 6, 2020, 11:10 a.m.