I am trying to extract the slope and intercept for each of my groups from my linear mixed effects models. The model was constructed using lmer in the lme4 library, and I can view the results for each group using interact_plot from the jtools library. How do I get the slope and intercept for each of these lines?
I know that I can use the summary() or summ() to see the estimates for the fixed effects and the variances of the random effects but I cannot see the estimates of the random effects. Therefore, I cannot accurately calculate the slope and intercepts of the models.
>library(lme4)
> cond_waterxsilver <- lmer(LnAg ~ LnVolume + (LnVolume | FilterID) + SilverType + WaterType + SilverType*WaterType + SilverType*LnVolume + WaterType*LnVolume, data=capwater_removed.data)
> library(jtools)
> interact_plot(cond_ranin_waterxsilver, pred = LnVolume, modx = WaterType, mod2 = SilverType)
I am just trying to get the slope and intercepts for the six lines from the model (two different WaterType and three different SilverType). Is there a tool within jtools or another package that can help me with extracting the slope and intercepts from my model?