interact plot with SEM tools

102 views
Skip to first unread message

Silvio Maltagliati

unread,
Nov 8, 2022, 12:46:01 PM11/8/22
to lavaan
Hi all, 
after computing a model including an interaction term, I am trying to plot simple slopes at different levels of the moderator. I have managed to do it using the PlotProbe function from the SEMtool package. 

As for now, I have only managed to change the legend of axis. 
Do you know if it is possible to further customize the plot? Add confidence intervals, change the colors of the slopes ? 

My code is the following: 
plotProbe(probeMC, xlim = c(-1,1), xlab = "Action Planning", ylab = "Automaticity", legendArgs = list(title = "Autonomous motivation"))

Thank you very much for your help, 
Silvio 

Terrence Jorgensen

unread,
Nov 8, 2022, 2:55:11 PM11/8/22
to lavaan
Do you know if it is possible to further customize the plot? Add confidence intervals, change the colors of the slopes ? 

Unfortunately, it is not.  

Terrence D. Jorgensen
Assistant Professor, Methods and Statistics
Research Institute for Child Development and Education, the University of Amsterdam

Reply all
Reply to author
Forward
0 new messages