create_grviz {lavaanPlot}R 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


[Package lavaanPlot version 0.8.1 Index]