Learn R Programming

ctsem (version 3.10.3)

plot.ctFitCovCheck: plot.ctFitCovCheck

Description

Plot the results of ctFitCovCheck.

Usage

# S3 method for ctFitCovCheck
plot(x, maxlag = 10, vars = NA, splitvar = NA, ...)

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.

...

not used.

Examples

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

Run the code above in your browser using DataLab