easystats / easystats/performance

`check_model` and `plot.see_check_*` functions

Open
#448 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Refactor :recycle:
Dominant language
R
Stars
1.2k
Forks
109
Avg merge
6h 34m
Merged PRs (30d)
8

Description

Maybe it's just me, but the method for check_model seems really hard to expand / add to currently.

Would it not be easier to have check_model be a simple wrapper around the various plot.see_check_* functions, like this:

check_model <- function(model, ...) {
  plot(check_normality(model)) + 
    plot(check_homogeneity(model)) + 
    plot(check_collinearity(model)) + 
    plot(check_outliers(model)) + 
    patchwork::plot_layout(ncol = 2)
}

With the plotting methods for each check_* living peacefully in see?


(If it is just me, then I need someone to implement check_model.htest 😒)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the existing check_model implementation and the plot.see_check_* functions, especially check_normality(), check_homogeneity(), check_collinearity(), and check_outliers(). Compare their current interfaces and determine whether check_model can delegate to them, including the requested htest behavior. Done means the expansion path and plotting composition are resolved and covered by appropriate checks.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
data-visualization
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.