fit_beta_shapes | R Documentation |
Fit shape1, shape2 using the method of moments.
fit_beta_shapes(x)
x |
numeric predictions |
beta shape1, shape2 parameters in a named list
x <- rbeta(1000, shape1 = 3, shape2 = 5.5)
fit_beta_shapes(x) # should often be near [3, 5.5]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.