Description Usage Arguments Details Value Examples
Fits the parameters of a gamma distribution to a set of observations
1 |
x |
vector of observations to fit. |
scale = var(x)/mean(x) shape = mean(x)/scale
list with two entries: shape and size.
1 2 | # dat <- rgamma(100, 0.1, 1)
# params <- bg__fit_gamma(dat)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.