wtd.sd {caretEnsemble}R Documentation

Calculate a weighted standard deviation

Description

Used to weight deviations among ensembled model preditions

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


[Package caretEnsemble version 2.0.1 Index]