fit.model: Attempt to fit lavaan model.
Description
Attempt to fit lavaan model.
Usage
fit.model(syntax, data_file)
Value
If successful, returns fitted lavaan object. If not successful,
catches and returns error message.
Arguments
- syntax
A character vector containing syntax.
- data_file
A data frame containing individual data set.