ctsem (version 3.3.11)

plot.ctsemFitMeasure: Misspecification plot using ctCheckFit output

Description

Misspecification plot using ctCheckFit output

Usage

# S3 method for ctsemFitMeasure
plot(
  x,
  indices = "all",
  means = TRUE,
  separatemeans = TRUE,
  cov = TRUE,
  covtype = "MisspecRatio",
  cov2cor = FALSE,
  wait = TRUE,
  ggcorrArgs = list(data = NULL, cor_matrix = get(covtype), limits = limits, geom =
    "circle", max_size = 10, name = covtype),
  ...
)

Arguments

x

Object output from ctCheckFit function.

indices

Either 'all' or a vector of integers denoting which observations to include (from 1 to n.manifest * maximum number of obs for a subject, blocked by manifest).

means

Logical -- plot simulated means vs observed?

separatemeans

Logical -- means from different variables on same or different plots?

cov

Logical -- plot simulated cov vs observed?

covtype

Column name of $cov sub object

cov2cor

Logical -- convert covariances to correlations?

wait

Logical -- wait for input before new plot?

ggcorrArgs

List of arguments to GGally::ggcorr .

...

not used.

Value

Nothing, just plots.

Examples

Run this code
# NOT RUN {
if(w32chk()){


scheck <- ctCheckFit(ctstantestfit,niter=50)
plot(scheck,wait=FALSE)

}
# }

Run the code above in your browser using DataLab