Hello,
I want to plot the results of the following binomial mixed-effects model:
m1 <- glmer(position ~ language + type_verb + definiteness + language:type_verb + language:definiteness + type_verb:definiteness + (1 | subject), data = test, family = binomial(link = "logit"))
I plotted the results using the ggpredict()
and plot()
functions:
ggpredict(m1, terms = c("language", "type_verb")) %>% plot()
I got the below plot:
However, I want to get a similar plot using ggplot2
Any ideas about the code?