gamma_mle: Fitting the gamma distribution with MLE

Description Usage Arguments Value Examples

View source: R/GAMMA.R

Description

Function to fit the gamma distribution with the maximum likelihood method

Usage

1
gamma_mle(dat)

Arguments

dat

the data that needs fitting (i.e. flood data)

Value

param Estimated parameters (2) and standard error returned as a list($estimate, $se)

Examples

1
2
3
library(FlomKartShinyApp)
estimate = gamma_mle(test_data)
FlomKartShinyApp::plot4server(test_data, param = estimate$estimate, distr = 2)

NVE/fitdistrib documentation built on May 7, 2019, 6:04 p.m.