Method for obtaining the mean of empirical_dist object x.

# 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
#> [1] 3