create_grviz: Creates the grViz dot language code for plotting

View source: R/lavaanPlot2.R

create_grvizR Documentation

Creates the grViz dot language code for plotting

Description

Creates the grViz dot language code for plotting

Usage

create_grviz(
  model,
  labels = labels,
  include = include,
  graph_options = graph_options,
  node_options = node_options,
  edge_options = edge_options,
  stand = stand,
  ...
)

Arguments

model

A model fit object of class lavaan.

labels

An optional named list of variable labels.

include

which parameters to include in the plot. Default is all regression and latent relationships. "covs" will also include covariances, while "all will also include error variances.

graph_options

a named list of graphviz graph attributes

node_options

a named list of graphviz node attributes

edge_options

a named list of graphviz edge attributes

stand

Should the coefficients being used be standardized coefficients

...

Additional arguments to be passed to create_edges

Value

A string specifying the path diagram for model


alishinski/lavaanPlot documentation built on Jan. 28, 2024, 1:05 p.m.