View source: R/univariate_dist.R
| mean.univariate_dist | R Documentation |
univariate_dist object x.Method for obtaining the mean of univariate_dist object x.
## S3 method for class 'univariate_dist'
mean(x, ...)
x |
The distribution object. |
... |
Additional arguments to pass into |
Numeric scalar; the mean of the distribution.
mean(normal(5, 2)) # 5
mean(exponential(2)) # 0.5
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.