You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you very much for providing this very useful package! I am using sim_slopes to probe a 3-way interaction between 3 continuous variables with a Johson-Neyman plot. I was wondering if it is possible to a) change the y-axis labels on the interaction plots and b) to arrange the subplots in a single row instead of in a 2 row grid (2 subplots in upper row and 1 subplot in lower row).
For example, using this code. I would like to change the y-axis label from "Slope of Illiteracy" to "Murder - Illiteracy Association" and instead of having the "Income = + 1 SD" plot on the bottom row, I would like that to appear to the right of the "Income = Mean" plot on the top row. I have searched the github Issues and stack overflow but cannot figure out an easy fix so chancing my arm here! Thank you.
dat <- data.frame(state.x77)
reg.mod = lm(data=dat, Murder ~ Illiteracy * Population * Income)
state_sim_slopes <- sim_slopes(reg.mod, pred = Illiteracy, modx = Population,
mod2 = Income, jnplot = TRUE)
state_sim_slopes
The text was updated successfully, but these errors were encountered:
Thank you very much for providing this very useful package! I am using sim_slopes to probe a 3-way interaction between 3 continuous variables with a Johson-Neyman plot. I was wondering if it is possible to a) change the y-axis labels on the interaction plots and b) to arrange the subplots in a single row instead of in a 2 row grid (2 subplots in upper row and 1 subplot in lower row).
For example, using this code. I would like to change the y-axis label from "Slope of Illiteracy" to "Murder - Illiteracy Association" and instead of having the "Income = + 1 SD" plot on the bottom row, I would like that to appear to the right of the "Income = Mean" plot on the top row. I have searched the github Issues and stack overflow but cannot figure out an easy fix so chancing my arm here! Thank you.
The text was updated successfully, but these errors were encountered: