R/model_grm.r
genLavSyn.Rd
Generate lavaan syntax
genLavSyn(dat, nfac = 1)
a data frame containing graded response data
a numeric indicating the number of factors
a string indicating lavaan syntax.
lavaan
This generates lavaan syntax