Get graph data from lavaan or blavaan objects.
# S3 method for lavaan
get_graph(fit, links = c("Regression", "Correlation",
"Loading"), standardize = FALSE, threshold_Coef = NULL,
threshold_p = NULL, threshold_MPE = NULL, digits = 2,
CI = "default", labels_CI = TRUE, ...)
lavaan object.
Which links to include? A list including at least one of "Regression", "Loading" or "Correlation".
Use standardized coefs.
Omit all links with a Coefs below this value.
Omit all links with a p value above this value.
In case of a blavaan model, omit all links with a MPE value below this value.
Edges' labels rounding.
CI level.
Add the CI in the edge label.
Arguments passed to or from other methods.
A list containing nodes and edges data to be used by `tidygraph::tbl_graph()`.