Inconsistent check_model() failure for plsRglm package-constructed model
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 62/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- r
- Domain
- data-visualization
Research direction
Start by reproducing the failure with the supplied plsRglm example: check_model() errors for a seven-component FinalModel, while the five-component model works. Inspect the check_model() plotting path for plsRglm models and compare how it handles those two component counts. Done means the seven-component model can be checked successfully and existing behavior for the five-component model still works.
Written by the indexing model from the issue text.
Description
Dear developers,
thank you for providing easystats to the community.
Using the performance 0.19.0 package, I stumbled upon a potential bug; steps to reproduce:
library(plsRglm)
library(easystats)
data(Cornell)
XCornell <- Cornell[, 1:7]
YCornell <- Cornell$Y
mod7 <- plsRglm(
YCornell,
XCornell,
7,
modele = "pls-glm-gaussian"
)
mod7_fin <- mod7$FinalModel
# Standard plots work
plot(mod7_fin)
# Plot via check_model() does not work
check_model(mod7_fin)
# Oddly, check_model() does work on models where the number of components constructed
# is smaller than the number of components that would theoretically be possible
# (6; see above)
mod5 <- plsRglm(
YCornell,
XCornell,
5,
modele = "pls-glm-gaussian"
)
mod5_fin <- mod5$FinalModel
check_model(mod5_fin)
check_model() returns the error stating that not enough space for plotting is available. However, this does not seem the real reason to me, because increasing the plot size drastically does not solve this issue.
Thank you for your assistance.
- Dominant language
- R
- Stars
- 1.2k
- Forks
- 113
- Avg merge
- 9h 8m
- Merged PRs (30d)
- 27
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing 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.
More from easystats/performance
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
easystats/performance#1038 ·
Maintainers usually reply within 1 day
-
misleading subtitle with check_heteroscedasticity with binomial data?Possibly taken @jmgirard claimed this 26 days ago. OpenConsistency :green_apple: :apple: Docs :books:
easystats/performance#1003 · 2 comments · 1 assignee ·
Maintainers usually reply within 1 day
-
`check_outliers()`: Cook's distances land on the wrong rows when the model skips or reorders rowsOpen3 investigators :grey_question::question: Bug :bug:
Difficulty 4/5 3-5 days Newbie friendliness 22/100
easystats/performance#981 · 1 comment ·
Maintainers usually reply within 1 day
-
Docs :books: Enhancement :boom:
Difficulty 5/5 Over a week Newbie friendliness 45/100
easystats/performance#901 · 2 comments · 1 reaction ·
Maintainers usually reply within 1 day
-
Enhancement :boom:
Difficulty 4/5 3-5 days Newbie friendliness 35/100
easystats/performance#891 ·
Maintainers usually reply within 1 day
All issues in easystats/performance
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
ThinkR-open/mordew#89 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
epiforecasts/EpiNow2#1694 · 2 reactions ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
easystats/correlation#403 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 85/100
mitchelloharawild/mixtime#111 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
conda-forge/xgboost-feedstock#313 ·