Learn R Programming

ctsem (version 2.1.0)

ctCompareExpected: ctCompareExpected Compares model implied to observed means and covariances for panel data fit with ctsem.

Description

ctCompareExpected Compares model implied to observed means and covariances for panel data fit with ctsem.

Usage

ctCompareExpected(fitobj, cov = TRUE, outputmatrices = FALSE, pause = TRUE, varlist = "all", ylim = c(-1, 1), ...)

Arguments

fitobj
Fitted model object from OpenMx or ctsem.
cov
Logical. If TRUE, show covariance plots, if FALSE show correlations.
outputmatrices
if TRUE, output expected, observed, and residual correlation matrices as well as plots.
pause
if TRUE (default) output plots interactively, one at a time. If FALSE, output without stopping.
varlist
if "all" include all variables in dataset. Otherwise, specify numeric vector of variables to include.
ylim
vector of min and max Y axis limits for plot.
...
additional arguments passed to plot.