inspectSampleCov(model, data, ...)sem for how to deal with
multiple groups, missing values, etc.sem, lavInspectmodel.syntax and
a data frame from which a covariance matrix will be calculated. This function
essentially calls sem, but doesn't fit the model, then uses
lavInspect to get the sample covariance matrix and meanstructure.