View source: R/ctStanPostPredict.R
ctPostPredData | 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.