lavaanPlotMake a quick and decent-looking lavaanPlot.
nice_lavaanPlot(
model,
node_options = list(shape = "box", fontname = "Helvetica"),
edge_options = c(color = "black"),
coefs = TRUE,
stand = TRUE,
covs = FALSE,
stars = c("regress", "latent", "covs"),
sig = 0.05,
graph_options = c(rankdir = "LR"),
...
)A lavaanPlot, of classes c("grViz", "htmlwidget"), representing the
specified lavaan model.
SEM or CFA model to plot.
Shape and font name.
Colour of edges.
Logical, whether to plot coefficients. Defaults to TRUE.
Logical, whether to use standardized coefficients. Defaults to TRUE.
Logical, whether to plot covariances. Defaults to FALSE.
Which links to plot significance stars for. One of
c("regress", "latent", "covs").
Which significance threshold to use to plot coefficients (defaults
to .05). To plot all coefficients, set sig to 1.
Read from left to right, rather than from top to bottom.
Arguments to be passed to function lavaanPlot::lavaanPlot.
