-
-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
check_predictions() fails when outcome is log-transformed and named like a valid function #722
Labels
Bug 🐛
Something isn't working
Comments
mattansb
changed the title
check_predictions() fails when outcome is log-transformed and names "rt"
check_predictions() fails when outcome is log-transformed and named like a valid function
May 17, 2024
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 |
strengejacke
added a commit
that referenced
this issue
Jul 13, 2024
…ike a valid function Fixes #722
Closed
strengejacke
added a commit
that referenced
this issue
Jul 13, 2024
…ike a valid function Fixes #722
Thanks @strengejacke ! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
these work…
these doens’t - why?
Created on 2024-05-17 with reprex v2.1.0
The text was updated successfully, but these errors were encountered: