mean.beta_dist: Mean of a beta distribution.

View source: R/beta_dist.R

mean.beta_distR Documentation

Mean of a beta distribution.

Description

Computes \alpha / (\alpha + \beta) where \alpha = shape1 and \beta = shape2.

Usage

## S3 method for class 'beta_dist'
mean(x, ...)

Arguments

x

A beta_dist object.

...

Additional arguments (not used).

Value

The mean of the distribution.

Examples

mean(beta_dist(2, 5))

algebraic.dist documentation built on Feb. 27, 2026, 5:06 p.m.