Closed psychelzh closed 1 year ago
A very straight-forward way to workaround this is to add backticks ("`"
) to all the data variables.
Indeed. This is an 'R' thing: variable names cannot start with a digit (without using backticks).
Just to make it clear. Will the backticks be added automatically by lavaan or manually by users? If the latter, I do think some documentation needs to be added to inform users.
This occurs when some of the data variables are not syntactical, here is a simple reprex:
Created on 2023-02-21 with reprex v2.0.2