wtd_summary | R Documentation |
Compute a weighted summary of a numeric vector.
wtd_summary(x, weights = NULL)
x |
A numeric vector. |
weights |
A vector of weights, same length as
|
If weights
is NULL
an unweighted summary is
returned.
A vector with values Min., 1st Qu., Median,
Mean, 3rd Qu., Max.
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.