Error in lavsamplestats@cov[[g]][cbind(row.idx, col.idx)] :
subscript out of bounds
In addition: Warning messages:
1: In lav_data_full(data = data, group = group, group.label = group.label, :
lavaan WARNING: exogenous variable(s) declared as ordered in data: locSZ locGD locMA locOT
2: In lav_partable_check(lavpartable, categorical = categorical, warn = TRUE) :
lavaan WARNING: parameter table does not contain thresholds modelDef <- '
Control =~ contr4 + contr6 + contr3 + contr9 # latent variable definitions
TranSuc =~ prac10 + prac7 + prac11
HCAvail =~ resoua12 + resoua11
HCDevl =~ perfor8 + perfor9
HCStr =~ confid4 + confid1 + confid3
Perform =~ perfor20 + perfor18 + perfor19
TranSuc ~ Control # Model
HCStr ~ HCAvail + HCDevl
Perform ~ TranSuc + HCStr + Age + Sector + staffchil + staffhkl + locSZ + locGD + locMA + locOT
‘
modelFit <- sem(modelDef, data = dataset, ordered=c("locSZ","locGD", "locMA","locOT")
, sample.cov = true, estimator = "WLS")
--
You received this message because you are subscribed to a topic in the Google Groups "lavaan" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/lavaan/QxnaM5eyNv8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to lavaan+un...@googlegroups.com.
To post to this group, send email to lav...@googlegroups.com.
Visit this group at http://groups.google.com/group/lavaan.
For more options, visit https://groups.google.com/d/optout.