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

ggpredict - add.data with three-way interactions #246

Open
josericardopaula opened this issue Feb 18, 2022 · 1 comment
Open

ggpredict - add.data with three-way interactions #246

josericardopaula opened this issue Feb 18, 2022 · 1 comment
Labels
3 investigators ❔❓ bug 🐛 Something isn't working enhancement 💥 Implemented features can be improved or revised reprex 💾 An example (and data) to reproduce the issue is needed to

Comments

@josericardopaula
Copy link

Hi Daniel

For some unknown reason everytime I try to plot 3-way interactions and add data to them, in both planes it uses the same data points (wrongly). Check the image below. Do you know how to correct this?

Thanks.

Code for image here:
M9<- glm(Ub_G ~ locationhwsex ,data=data, family="gaussian")
dat9 <- ggpredict(M9, terms = c("location", "hw","sex" ))
plot9<-plot(dat9, add.data = TRUE,colors="system", jitter = c(width = 0.1, height = 0))+ labs (
x = "",
y = (bquote('Gonad Ubiquitin ('~mu 'g mg'~protein^-1')')),
colour ="hw",
title = "") + theme_few()
plot
Rplot

@strengejacke strengejacke added the enhancement 💥 Implemented features can be improved or revised label May 9, 2022
@strengejacke strengejacke added bug 🐛 Something isn't working 3 investigators ❔❓ labels May 9, 2022
@strengejacke
Copy link
Owner

Do you have a reproducible example?

@strengejacke strengejacke added the reprex 💾 An example (and data) to reproduce the issue is needed to label Jun 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3 investigators ❔❓ bug 🐛 Something isn't working enhancement 💥 Implemented features can be improved or revised reprex 💾 An example (and data) to reproduce the issue is needed to
Projects
None yet
Development

No branches or pull requests

2 participants