Re: [R] Plotting Simple Slopes with Multilevel Categorical Moderator

2014-04-10 Thread Richard M. Heiberger
I think you are looking for analysis of covariance. Try the ancova function in the HH package. install.packages("HH") library(HH) ?ancova demo("ancova") On Thu, Apr 10, 2014 at 10:48 AM, Patzelt, Edward wrote: > R - > > I've got a DV with 2 IVs one of which has 5 levels. I tried using the > "peq

[R] Plotting Simple Slopes with Multilevel Categorical Moderator

2014-04-10 Thread Patzelt, Edward
R - I've got a DV with 2 IVs one of which has 5 levels. I tried using the "pequod" package; however found that it is not able to graph/simple slope a moderator with multiple levels. Is there a package available to do this? (data below) dat$gpa <- as.factor(dat$gpa) mod1 <- lmres(item25 ~ psd * g