create_edges | R Documentation |
Creates edge data frame and adds formatting
create_edges(
coefs,
ndf,
edge_options,
coef_labels = FALSE,
stand = FALSE,
stars = NULL,
sig = 1
)
coefs |
a coefficient table from lavaan model created by |
ndf |
A node data frame created by |
edge_options |
a named list of graphviz edge attributes, or a data frame of edge options created by |
coef_labels |
whether to label edges with coefficient values |
stand |
Should the coefficients being used be standardized coefficients |
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. |
sig |
significance level for determining what significant paths are |
an edge data frame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.