calcSSE: Calculate sum of squared error.

Description Usage Arguments Value Examples

View source: R/fns.R

Description

Calculate sum of squared error.

Usage

1
calcSSE(pred, y, na.rm = FALSE)

Arguments

pred

numeric predictions

y

numeric truth

na.rm

logical, if TRUE remove NA values

Value

sum of squared error

Examples

1
sigr::calcSSE(1:4,c(1,0,1,1))

sigr documentation built on June 12, 2021, 9:07 a.m.