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

add_data for estimate_contrasts #114

Open
bwiernik opened this issue May 29, 2021 · 1 comment
Open

add_data for estimate_contrasts #114

bwiernik opened this issue May 29, 2021 · 1 comment
Labels
Feature idea 🔥 New feature or request

Comments

@bwiernik
Copy link
Contributor

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)

@DominiqueMakowski
Copy link
Member

Since 'see' has been recently updated on CRAN, I'll submit this version of modelbased as is first, because I'd like to revise the plotting which will break the current see, so it's best if CRAN versions at working together

@DominiqueMakowski DominiqueMakowski transferred this issue from easystats/see May 31, 2021
@DominiqueMakowski DominiqueMakowski added the Feature idea 🔥 New feature or request label Jun 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature idea 🔥 New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants