powered by
Calculate sum of squared error.
calcSSE(pred, y, na.rm = FALSE)
sum of squared error
numeric predictions
numeric truth
logical, if TRUE remove NA values
sigr::calcSSE(1:4,c(1,0,1,1))
Run the code above in your browser using DataLab