Learn R Programming

LMoFit (version 0.1.6)

fit_gam: Fit Gamma distribution using the 'lmom' package

Description

Fit Gamma distribution using the 'lmom' package

Usage

fit_gam(sl1, sl2, st3, st4)

Arguments

sl1

sample 1st l-moment

sl2

sample 2nd l-moment

st3

sample 3rd l-moment ratio

st4

sample 4th l-moment ratio

Value

A vector of parameters as alpha (shape) and beta (scale).

Examples

Run this code
# NOT RUN {
gam_par <- fit_gam(15, 1.7, 0.04, -0.02)

# }

Run the code above in your browser using DataLab