powered by
Compute a weighted summary of a numeric vector.
wtd_summary(x, weights = NULL)
A vector with values Min., 1st Qu., Median, Mean, 3rd Qu., Max..
Min., 1st Qu., Median, Mean, 3rd Qu., Max.
A numeric vector.
A vector of weights, same length as x.
x
If weights is NULL an unweighted summary is returned.
weights
NULL