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