wtd.sd: Calculate a weighted standard deviation

View source: R/caretStack.R

wtd.sdR Documentation

Calculate a weighted standard deviation

Description

Used to weight deviations among ensembled model predictions

Usage

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

Arguments

x

a numeric vector

w

a vector of weights equal to length of x

na.rm

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


caretEnsemble documentation built on Sept. 13, 2024, 1:11 a.m.