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