Learn R Programming

lavaanPlot (version 0.3.0)

lavaanPlot: Plots lavaan path model with DiagrammeR

Description

Plots lavaan path model with DiagrammeR

Usage

lavaanPlot(name = "plot", model, labels = NULL,
  graph_options = list(overlap = "true", fontsize = "10"),
  node_options = list(shape = "box"), edge_options = list(color = "black"),
  coefs = FALSE, sig = 0.05, stand = TRUE)

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 fit object of class lavaan.

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.

coefs

whether or not to include significant path coefficient values in diagram

sig

significance level for determining what significant paths are

stand

Should the coefficients being used be standardized coefficients

Value

A Diagrammer plot of the path diagram for model