R/beta_dist.R
mean.beta_dist.Rd
Computes α/(α+β) where α = shape1 and β = 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