buildPaths: Extracts the paths from the lavaan model.

Description Usage Arguments

View source: R/lavaanPlot.R

Description

Extracts the paths from the lavaan model.

Usage

1
2
3
4
5
6
7
8
9
buildPaths(
  fit,
  coefs = FALSE,
  sig = 1,
  stand = FALSE,
  covs = FALSE,
  stars = NULL,
  digits = 2
)

Arguments

fit

A model fit object of class lavaan.

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

covs

Should model covariances be included in the diagram

stars

a character vector indicating which parameters should include significance stars be included for regression paths, latent paths, or covariances. Include which of the 3 you want ("regress", "latent", "covs"), default is none.

digits

A number indicating the desired number of digits for the coefficient values in the plot


lavaanPlot documentation built on Aug. 13, 2021, 5:07 p.m.