fit_gamma_fwd_rev | R Documentation |
Fits reversible gamma distribution to x where x is a vector of data. Internal function for phy_or_env_spec() or calculate_pec_and_pval().
fit_gamma_fwd_rev(x, lower_prop = 0.1, upper_prop = 10)
x |
numeric vector. |
lower_prop |
float. proportion of gamma max likelihood estimator to use as lower boundary for fitting (default: 0.10). |
upper_prop |
float. proportion of gamma max likelihood estimator to use as upper boundary for fitting (default: 10.0). |
a list with par, log likelihood, and type - forward or reverse. for reverse, also returns mx which is max(x), needed for reversing quantiles.
John L. Darcy
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.