So I've been trying to fit a sem with ordered variables. I get the following error message:
Error in lav_samplestats_step1(Y = Data, wt = wt, ov.names = ov.names, :
lavaan ERROR: unknown ov.types:haven_labelled
I tried to look the error message up, but couldn't really find an answer. Anyone got an idea what might be going on here? My research on the subject suggests it might have something to do with the data being imported from a stata file. I don't know if that's true though or how I might solve this problem.