I would like to select one panel from the jnplot generated by probe_interactions() for a three-way interactions. The get_panel() command from cowplot does not seem to work here. Does anybody know whther this is possible? I may be overlooking something, I am not terribly familiar with cowplot.
Here's an illustration of what I want to do:
- I ran the probe_interactions() command from interactions for a three-way interaction with
jnplot=T
, like soplot <- probe_interaction(fit, pred = pred, modx = mod1, mod2 = mod2, jnplot = T)
- I want to use the johnson_neyman plots this generates
plot <- plot$simslopes$jnplot
- Then I only want to have (and be able to edit) the plot for -1 SD on mod2, I have tried this
ggdraw(get_panel(plot, 1))
. But this just generates the same plot.
Does anybody know if this is possible at all? Thanks!