Description Usage Arguments Examples
Use the method of moments to obtain the shape1
(alpha) and shape2
(beta)
parameters when provided either a vector of beta random variables
or the sample mean and variance of such a vector.
1 |
mn |
numeric vector of length == 1. The mean of a beta random variable.
Must be specified if |
vr |
numeric vector of length == 1. The variance of a beta random variable.
Must be specified if |
p |
numeric vector of length > 1. iid beta random variables.
Must be |
na.rm |
logical. Do you wish to remove NA elements before calculating mean and variance?
Defaults to |
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.