R/beta_dist.R
mean.beta_dist.Rd
Computes \(\alpha / (\alpha + \beta)\) where \(\alpha\) = shape1 and \(\beta\) = shape2.
shape1
shape2
# S3 method for class 'beta_dist' mean(x, ...)
A beta_dist object.
beta_dist
Additional arguments (not used).
The mean of the distribution.
mean(beta_dist(2, 5)) #> [1] 0.2857143