plot.model_graph {modelbpp} | R Documentation |
Plot a Network of Models
Description
Plot a network of models
generated by model_graph()
.
Usage
## S3 method for class 'model_graph'
plot(x, ...)
Arguments
x |
The output of
|
... |
Additional arguments,
passed to |
Details
This function is the plot
method of model_graph
objects,
the output of
model_graph()
.
For now, it simply passes the object
to plot.igraph()
. This function
is created for possible customization
of the plot in the future.
Value
NULL
. Called for its
side effect.
See Also
Examples
library(lavaan)
dat <- dat_path_model
mod <-
"
x3 ~ a*x1 + b*x2
x4 ~ a*x1
ab := a*b
"
fit <- sem(mod, dat_path_model, fixed.x = TRUE)
out <- model_set(fit)
out
g <- model_graph(out)
plot(g)
[Package modelbpp version 0.1.3 Index]