wtd_var.Rd
Weighted Variance
wtd_var(x, w, na.rm = TRUE)
values whose weighted mean is to be computed
weights of the same length as x
to be used against x
a logical values indicating whether NA
values in both x
and
w
should be stripped before computation