Plots lavaan path model with DiagrammeR and graphviz
Arguments
- model
A model fit object of class lavaan.
- name
A string of the name of the plot.
- labels
An optional named list of variable labels fit object of class lavaan.
- graph_options
A named list of graph options for Diagrammer syntax. See for options https://graphviz.org/docs/graph/
- node_options
A named list of node options for Diagrammer syntax. See for options https://graphviz.org/docs/nodes/
- edge_options
A named list of edge options for Diagrammer syntax. See for options https://graphviz.org/docs/edges/
- 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
- conf.int
whether or not to include confidence intervals of path coefficients
- edge_styles
Whether or not to depict non-significant coefficients with dashed paths
- ...
Additional arguments to be called to
buildCall
andbuildPaths