
Last chance! 50% off unlimited learning
Sale ends in
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)
A data table containing the comparison between generated and original data.
A fitted ctsem model.
If set to TRUE, includes residuals in the comparison.
Other ctsem functions for model fitting and analysis.
data_comparison <- ctPostPredData(ctstantestfit)
Run the code above in your browser using DataLab