When using the performance_cv() function with method = "loo" on a linear model, the function throws an error indicating that the object test_resd is not found.
model <- lm(mpg ~ wt + cyl, data = mtcars)
performance_cv(model, method = "loo")
Error in performance_cv(model, method = "loo") :
object 'test_resd' not found
When using the performance_cv() function with method = "loo" on a linear model, the function throws an error indicating that the object test_resd is not found.
model <- lm(mpg ~ wt + cyl, data = mtcars)
performance_cv(model, method = "loo")
Error in performance_cv(model, method = "loo") :
object 'test_resd' not found