Description Usage Arguments Value Author(s) See Also Examples
A function that finds the shape and rate parameters required by the Gamma distribution given the observed
mean mu and standard deviation sigma of the response variable. Parameters are found numerically using a
two-dimensional Nelder-Mead optimization algorithm.
1 | get_gamma_params(mu, sigma)
|
mu |
the desired mean of the Gamma distribution |
sigma |
the desired standard deviation of the Gamma distribution |
a named numeric vector giving the shape and rate parameters of the Gamma distribution
John Giles
Other utility:
get_admin_level(),
get_beta_params(),
get_pop_vec(),
get_unique_coords(),
get_unique_ids()
1 2 3 4 5 6 7 8 9 10 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.