weighted.mean {surveybootstrap} | R Documentation |
Given a vector of values and a vector of weights, compute the weighted mean
weighted.mean(x, w, na.rm = FALSE)
x |
The vector of values |
w |
The vector of weights |
na.rm |
if |
The weighted mean