mean.empirical_dist: Method for obtaining the mean of 'empirical_dist' object 'x'.

View source: R/empirical_dist.R

mean.empirical_distR Documentation

Method for obtaining the mean of empirical_dist object x.

Description

Method for obtaining the mean of empirical_dist object x.

Usage

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

Arguments

x

The distribution object.

...

Additional arguments to pass (not used).

Value

Numeric vector of column means.

Examples

ed <- empirical_dist(c(1, 2, 3, 4, 5))
mean(ed) # 3

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