Learn R Programming

algebraic.dist (version 0.9.1)

mean.beta_dist: Mean of a beta distribution.

Description

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

Usage

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

Value

The mean of the distribution.

Arguments

x

A beta_dist object.

...

Additional arguments (not used).

Examples

Run this code
mean(beta_dist(2, 5))

Run the code above in your browser using DataLab