Lavaan error for SEM


I am trying to model a SEM using reflective and formative modelling using the following code:

sem.txt_partzuf <- 'zuf =~ Zufriedenheit_Leben_insgesamt + Zufriedenheit_Arbeit_insgesamt
              part ~ Ist_Dienstplan +
                      Ist_Essensauswahl +
                      Ist_Termine +
                      Ist_Urlaub +
                      Ist_Schliesszeiten +
                      Ist_Gruppenraumgestaltung +
                      Ist_Gemeinschaftsraumgestaltung +
                      Ist_KitaAnschaffungen +
                      Ist_Gruppenanschaffungen +
                      Ist_Technik +
                      Ist_Budgetentscheidungen +
                      Ist_Personalneueinstellungen +
                      Ist_Kuendigung +
                      Ist_Personalschluessel +
                      Ist_Konzeptionsentscheidungen +
                      Ist_Fortbildungen +
              zuf ~ Zufriedenheit_Kollegen +
                     Zufriedenheit_Vorgesetzen +
                     Zufriedenheit_Taetigkeit +
                     Zufriedenheit_Arbeitsbedigungen +
                     Zufriedenheit_ZGehalt +
                     Zufriedenheit_Wertschaetzung_Eltern +
          zuf ~ part'

However, I receive the lavaan error: missing observed variables in dataset: part

All variable names are available and spelled correctly as in the dataset. I ran a regression with all variables for part using lavaan to check and everything worked out perfectly.

Does anyone have an idea what could be wrong?

Thank you!

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.