Learn R Programming

ctsem (version 3.10.5)

ctFitCovCheckPlot: ctFitCovCheckPlot

Description

Plot the results of ctFitCovCheck.

Usage

ctFitCovCheckPlot(x, maxlag = 10, vars = NA, splitvar = NA, cor = FALSE, ...)

Value

ggplot object.

Arguments

x

Output from ctFitCovCheck.

maxlag

Maximum lag to plot.

vars

Optional character vector of variable names to plot. If `NA`, all variables are plotted.

splitvar

Optional character string specifying a variable to split the plot by.

cor

Logical; if `TRUE`, plot correlations instead of covariances. (label change)

...

not used.

Examples

Run this code
if (FALSE) {
ctFitCovCheckPlot(ctFitCovCheck(ctstantestfit,cor=TRUE,plot=FALSE),maxlag=3)
}

Run the code above in your browser using DataLab