add_data for estimate_contrasts
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- r
- Domain
- data-visualization
Research direction
Start by reading the plot method for estimate_contrasts and the estimate_contrasts and estimate_means examples shown in the issue. Compare the requested plot output with the supplied iris data and confirm that the finished behavior can add the relevant raw observations to the contrasts plot without requiring manual geom_jitter2 layering.
Written by the indexing model from the issue text.
Description
It would be really nice if the plot method for estimate_contrasts had an argument to add the relevant raw data to the plot, ala:
library(modelbased)
library(see)
library(ggplot2)
model <- lm(Sepal.Width ~ Species, data = iris)
contrasts <- estimate_contrasts(model)
means <- estimate_means(model)
plot(contrasts, means) + geom_jitter2(aes(x = Species, y = Sepal.Width), data = iris, width = .2, height = 0, alpha = .2) + ylab("Sepal.Width")

Created on 2021-05-29 by the reprex package (v2.0.0)
- Dominant language
- R
- Stars
- 263
- Forks
- 22
- Avg merge
- 1h 37m
- Merged PRs (30d)
- 9
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/modelbased
-
What's your opinion :hear_no_evil:
Difficulty 2/5 1-3 hours Newbie friendliness 55/100
easystats/modelbased#651 · 3 comments ·
-
What's your opinion :hear_no_evil:
Difficulty 5/5 Over a week Newbie friendliness 35/100
easystats/modelbased#609 · 3 comments ·
-
Enhancement :boom:
Difficulty 5/5 Over a week Newbie friendliness 25/100
easystats/modelbased#591 · 3 comments ·
-
3 investigators :grey_question::question: Consistency :green_apple: :apple:
Difficulty 4/5 3-5 days Newbie friendliness 35/100
easystats/modelbased#579 · 9 comments ·
-
What's your opinion :hear_no_evil:
Difficulty 3/5 1-2 days Newbie friendliness 35/100
easystats/modelbased#569 · 4 comments ·
All issues in easystats/modelbased
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
rfordatascience/tidytuesday#1089 ·
-
Component: R Type: bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
apache/arrow#51695 · 1 comment ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
nflverse/nflverse-rosters#102 ·
-
bug priority: should
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
The-Strategy-Unit/nhp_outputs#477 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
InseeFrLab/melodi#27 ·