Description Usage Arguments Value Examples
View source: R/SummaryStatistics.R
wtd_mean
returns the weighted mean of a variable. It's a tidy-compatible
wrapper around stats::weighted.mean().
1 |
df |
The data source |
variable |
the variable, it should be numeric |
weight |
The weighting variable |
a numeric value
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.