wtd.sd: Calculate a weighted standard deviation

wtd.sdR Documentation

Calculate a weighted standard deviation

Description

Used to weight deviations among ensembled model predictions

Usage

wtd.sd(x, w = NULL, na.rm = FALSE)

Arguments

x

a vector of numerics

w

a vector of weights equal to length of x

na.rm

a logical indicating how to handle missing values, default = FALSE


caretEnsemble documentation built on Sept. 20, 2023, 5:08 p.m.