lavaanPlot2 | R Documentation |
Plots lavaan path model with DiagrammeR
lavaanPlot2(
model,
labels = NULL,
include = NULL,
gr_viz = NULL,
graph_options = NULL,
node_options = NULL,
edge_options = NULL,
stand = FALSE,
...
)
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. |
gr_viz |
pass a gr_viz model generated from |
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_grviz for creating edges |
A Diagrammer plot of the path diagram for model
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.