Skip to content
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

Fix warning in binned_residuals() #277

Closed
IndrajeetPatil opened this issue Mar 25, 2023 · 2 comments
Closed

Fix warning in binned_residuals() #277

IndrajeetPatil opened this issue Mar 25, 2023 · 2 comments

Comments

@IndrajeetPatil
Copy link
Member

library(performance)
library(see)
model <- glm(vs ~ wt + mpg, data = mtcars, family = "binomial")
result <- binned_residuals(model)
plot(result)
#> Warning: Computation failed in `stat_smooth()`
#> Caused by error in `smooth.construct.tp.smooth.spec()`:
#> ! A term has fewer unique covariate combinations than specified maximum degrees of freedom

Created on 2023-03-25 with reprex v2.0.2

IndrajeetPatil referenced this issue in easystats/performance Mar 25, 2023
@IndrajeetPatil
Copy link
Member Author

Seems to have disappeared:

library(performance)
library(see)
model <- glm(vs ~ wt + mpg, data = mtcars, family = "binomial")
result <- binned_residuals(model)
plot(result)
#> Warning: Removed 3 rows containing missing values (`geom_point()`).

Created on 2023-09-28 with reprex v2.0.2

@strengejacke
Copy link
Member

Yeah, should be "fixed" in this commit: 52cc4e9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants