ctCompareExpected: ctCompareExpected Compares model implied to observed means...

View source: R/ctCompareExpectation.R

ctCompareExpectedR Documentation

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.


ctsemOMX documentation built on Oct. 5, 2023, 5:06 p.m.