wtd.sd {jtools} | R Documentation |
This function calculates standard deviations with weights and
is a counterpart to the built-in weighted.mean
function.
wtd.sd(x, weights)
x |
A vector of values for which you want the standard deviation |
weights |
A vector of weights equal in length to |