PRESS tells you how well the model will predict new data.

press(model)

Arguments

model
an object of class lm

Value

PRESS Statistic

Examples

model <- lm(mpg ~ disp + hp + wt + qsec, data = mtcars) press(model)
#> [1] 257.8314