Open mattansb opened 1 month ago
Okay, this happens if the outcome is named like any valid R function...
library(performance)
mtcars$lapply <- mtcars$mpg
model <- lm(log(lapply) ~ disp, data = mtcars)
check_predictions(model)
#> Error in exp(i) - plus_minus: non-numeric argument to binary operator
mtcars$binned_residuals <- mtcars$mpg
model <- lm(log(binned_residuals) ~ disp, data = mtcars)
check_predictions(model)
#> Error in exp(i) - plus_minus: non-numeric argument to binary operator
these work…
these doens’t - why?
Created on 2024-05-17 with reprex v2.1.0