lavaanPlot: Plots lavaan path model with DiagrammeR

Description Usage Arguments Value

View source: R/graph.R

Description

Plots lavaan path model with DiagrammeR

Usage

1
2
3
lavaanPlot(name = "plot", model, labels = NULL,
  graph_options = list(overlap = "true", fontsize = "10"),
  node_options = list(shape = "box"), edge_options = list(color = "black"))

Arguments

name

A string of the name of the plot.

model

A model fit object of class lavaan.

labels

An optional named list of variable labels

graph_options

A named list of graph options for Diagrammer syntax, default provided.

node_options

A named list of node options for Diagrammer syntax, default provided.

edge_options

A named list of edge options for Diagrammer syntax., default provided.

Value

A Diagrammer plot of the path diagram for model


alishinski/graphPlot documentation built on May 24, 2019, 3:02 a.m.