ctPostPredData {ctsem} | R Documentation |
This function allows for easy comparison of data generated from a fitted ctsem model with the original data used to fit the model. It provides options to include residuals in the comparison.
ctPostPredData(fit, residuals = F)
fit |
A fitted ctsem model. |
residuals |
If set to TRUE, includes residuals in the comparison. |
A data table containing the comparison between generated and original data.
Other ctsem functions for model fitting and analysis.
data_comparison <- ctPostPredData(ctstantestfit)