weighted.sd: Weighted standard deviation
Description
Weighted standard deviation
Usage
weighted.sd(x, wt, na.rm = TRUE)
Arguments
- x
Numeric vector
- wt
Numeric vector of weights
- na.rm
Remove missing values (default is TRUE)
Details
Calculate weighted standard deviation