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

issue with plot ggeffects on random effects #3

Open
francisvolh opened this issue Jan 19, 2022 · 0 comments
Open

issue with plot ggeffects on random effects #3

francisvolh opened this issue Jan 19, 2022 · 0 comments

Comments

@francisvolh
Copy link

Hello, I was running the tutorial from the website https://ourcodingclub.github.io/tutorials/mixed-models
And bumped into an issue maybe you can still help me with.

I was running the lines for plotting the random effect using ggeffect

ggpredict(mixed.lmer2, terms = c("bodyLength2", "mountainRange"), type = "re") %>% 
   plot() +
   labs(x = "Body Length", y = "Test Score", title = "Effect of body size on intelligence in dragons") + 
   theme_minimal()
  1. It seems to me this needs to load dplyr, which was not stated in the tutorial.
  2. the output graph is not the same as the one in the tutorial, therefore the parameters must be set to modify it a bit. I will try working on it a bit.

Thanks, and sorry for reviving this repo after it seems a while you have had it active!
Cheers!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant