Fits the parameters of a gamma distribution to a set of observations
vector of observations to fit.
scale = var(x)/mean(x) shape = mean(x)/scale
list with two entries: shape and size.
# 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.