| wamean | R Documentation |
Take a numeric vector and return the weighted arithmetic mean.
wamean(x, w)
x |
a numeric vector. |
w |
a vector of numeric weights, of |
None.
Return the weighted 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.