structure | R Documentation |
The plot shows the resulting graph structure, i.e. all edges with some evidence of inclusion (i.e., inclusion Bayes factor greater than 1).
plot_structure(output, ...)
output |
Output object from the easybgm function. Supports also objects from the bgm function of the |
... |
Additional arguments passed onto |
Returns a plot
library(easybgm)
library(bgms)
data <- na.omit(Wenchuan)
fit <- easybgm(data, type = "ordinal",
iter = 1000 # for demonstration only (> 5e4 recommended)
)
plot_structure(fit)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.