ctFitCovCheck: ctCheckFit
Description
Visual model fit diagnostics for ctsem fit objects.
Usage
ctFitCovCheck(fit, cor = FALSE)
Value
data.table containing quantiles of the model implied covariance matrix based on generated samples of data, the sample covariance matrix values, and the difference between the two.
Arguments
- fit
ctStanFit object.
- cor
Logical. If TRUE, the correlation matrix is used instead of the covariance matrix.