Learn R Programming

lvnet (version 0.3.5)

plot.lvnet: Plot model matrices

Description

Plot method for lvnet. For lvnetSearch and lvnetLasso objects this is simply defined as plot(object$best, ...)

Usage

# S3 method for lvnet
plot(x, what = c("factorStructure", "residual", "latent"), partial, 
        layout = "circle", ...)
 # S3 method for lvnetLasso
plot(x, ...)
 # S3 method for lvnetSearch
plot(x, ...)

Arguments

x

An lvnet object.

what

What to plot? "factorStructure" plots the factor loadings and latent correlations or network. "residual" the residual correlations or network and "latent" the latent correlations or network.

partial

Plot partial correlations instead of correlations? Defaults to TRUE if omega_psi or omega_theta is estimated.

layout

The layour argument as used in qgraph

Arguments sent to qgraph