SEM in Jasp and (uninvolved) factor columns
I am fluent in R, but recently found Jasp and have recommended it a few times during statistical consultations when students wanted to run some mediation model that was too difficult to accomplish in SPSS.
One thing I'm currently struggling with is the fact that Jasp doesn't seem to have a way to restrict the columns that it sends to lavaan, which leads to the following error:
"Error in lav_data_full(data = data, group = group, cluster = cluster, : lavaan ERROR: unordered factor(s) detected; make them numeric or ordered:"
I don't see a way, even within the new R interface, to change the columns shown in the data editor, or to use any of the filtering options in that way. The SEM module only allows you to enter lavaan syntax, so you can't preface it with anything. Must they really open the data in a separate editor and delete any factor columns? Am I missing a simpler way to handle this?