View source: R/empirical_dist.R
| mean.empirical_dist | R Documentation |
empirical_dist object x.Method for obtaining the mean of empirical_dist object x.
## S3 method for class 'empirical_dist'
mean(x, ...)
x |
The distribution object. |
... |
Additional arguments to pass (not used). |
Numeric vector of column means.
ed <- empirical_dist(c(1, 2, 3, 4, 5))
mean(ed) # 3
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.