powered by
Compute the weighted mean of x.
.wmean(x, weights = NULL)
weighted mean
numeric vector without NA to compute mean of
weights vector (or NULL)
.wmean(c(1, 2, 3))
Run the code above in your browser using DataLab