Visualize 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,...)
Arguments
x: An object of class summary.var_estimate
color: Character string. The color for the error bars. (defaults to "black").
size: Numeric. The size for the points (defaults to 2).
width: Numeric. The width of error bar ends (defaults to 0).
param: Character string. Which parameters should be plotted ? The options are pcor, beta, or all (default).
order: Logical. Should the relations be ordered by size (defaults to TRUE) ?
...: Currently ignored
Returns
A list of ggplot objects.
Examples
# dataY <- 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