Learn R Programming

radiant.data (version 1.4.5)

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