| .wmean | R Documentation | 
Compute the weighted mean of x.
.wmean(x, weights = NULL)
| x | numeric vector without NA to compute mean of | 
| weights | weights vector (or NULL) | 
weighted mean
.wmean(c(1, 2, 3))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.