Learn R Programming

distributional (version 0.5.0)

mean.distribution: Mean of a probability distribution

Description

[Stable]

Returns the empirical mean of the probability distribution. If the method does not exist, the mean of a random sample will be returned.

Usage

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

Arguments

x

The distribution(s).

...

Additional arguments used by methods.