powered by
empirical_dist
x
Method for obtaining the mean of empirical_dist object x.
# S3 method for empirical_dist mean(x, ...)
Numeric vector of column means.
The distribution object.
Additional arguments to pass (not used).
ed <- empirical_dist(c(1, 2, 3, 4, 5)) mean(ed) # 3
Run the code above in your browser using DataLab