Description Usage Arguments Details Value See Also
Take a numeric vector and return the arithmetic mean.
1 | amean(x)
|
x |
a numeric vector. |
The function amean()
works as the standard function
stats::mean()
, but with option na.rm = TRUE
by default.
Return the arithmetic mean of a numeric vector.
amean
returns an arithmetic mean.
gmean
returns a geometric mean.
wamean
returns a weighted arithmetic mean.
wgmean
returns a weighted geometric mean.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.