Function to calculate weighted standard deviation.

weighted.sd(x, w, na.rm = FALSE)

## Arguments

x The observations to calculate the standard deviations from The weights associated with each observation. If TRUE, then NA values will be removed.