I'm new to JASP, but not to R. I've entered the R code below in the JASP SEM window:
When I press Cntrl + Enter to apply the code, I get the following error::
lavaan ERROR: left hand side (lhs) of the formula: model.1<-peer~coa
contains either a reserved word (in R) or an illegal character...
The code works in R and is from an SEM training, so it's a functional code. What am I missing? Thanks.