calcSSE: Calculate sum of squared error.

View source: R/fns.R

calcSSER Documentation

Calculate sum of squared error.

Description

Calculate sum of squared error.

Usage

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


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


sigr documentation built on Aug. 20, 2023, 9:06 a.m.