easystats / easystats/performance
`check_predictions` not working for `nlme::lme()`
Open
Nobody has claimed this yet.
3 investigators :grey_question::question:
- Dominant language
- R
- Stars
- 1.2k
- Forks
- 109
- Avg merge
- 6h 34m
- Merged PRs (30d)
- 8
Description
library(nlme)
fm2 <- lme(Reaction ~ Days,
random = ~ Days | Subject,
data = lme4::sleepstudy)
performance::check_model(fm2)
#> Could not compute standard errors from random effects for diagnostic
#> plot.
#> Homogeneity of variance could not be computed. Cannot extract residual
#> variance from objects of class 'lme'.
#> Converting missing values (`NA`) into regular values currently not
#> possible for variables of class `NULL`.
#> Error in d[, !(names(data) %in% all.varying), drop = FALSE]: incorrect number of dimensions
Created on 2022-10-23 by the reprex package (v2.0.1)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by running the supplied nlme::lme example and tracing performance::check_model through its prediction and diagnostic paths. Use the reported errors to identify where lme objects are unsupported, then verify that the example completes and produces the expected diagnostics without errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r
- Domain
- data
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100