plot.summary.var_estimate | R Documentation |
summary.var_estimate
ObjectsVisualize the posterior distributions of each partial correlation and regression coefficient.
## S3 method for class 'summary.var_estimate'
plot(x, color = "black", size = 2, width = 0, param = "all", order = TRUE, ...)
x |
An object of class |
color |
Character string. The color for the error bars.
(defaults to |
size |
Numeric. The size for the points (defaults to |
width |
Numeric. The width of error bar ends (defaults to |
param |
Character string. Which parameters should be plotted ? The options
are |
order |
Logical. Should the relations be ordered by size (defaults to |
... |
Currently ignored |
A list of ggplot
objects.
# data
Y <- subset(ifit, id == 1)[,-1]
# fit model with alias (var_estimate also works)
fit <- var_estimate(Y, progress = FALSE)
plts <- plot(summary(fit))
plts$pcor_plt
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.