Description Usage Arguments Value Author(s) See Also Examples
This function finds the two shape parameters for the Beta distribution of a random variable between 0 and 1.
1 | get_beta_params(mu, sigma)
|
mu |
scalar or vector giving the mean of the proportion |
sigma |
scalar or vector giving the standard deviation of the proportion |
A list containing the two shape parameters of the Beta distribution
John Giles
Other utility:
get_admin_level()
,
get_gamma_params()
,
get_pop_vec()
,
get_unique_coords()
,
get_unique_ids()
1 2 3 4 | get_beta_params(0.6, 0.03)
n <- 5
get_beta_params(mu=runif(n, 0, 1), sigma=runif(n, 0, 0.05))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.