Learn R Programming

BGGM (version 2.1.5)

plot.summary.explore: Plot summary.explore Objects

Description

Visualize the posterior distributions for each partial correlation.

Usage

# S3 method for summary.explore
plot(x, color = "black", size = 2, width = 0, ...)

Value

A ggplot object

Arguments

x

An object of class summary.explore

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 ).

...

Currently ignored

See Also

explore

Examples

Run this code
# \donttest{
# note: iter = 250 for demonstrative purposes

Y <- ptsd[,1:5]

fit <- explore(Y, iter = 250,
               progress = FALSE)

plt <- plot(summary(fit))

plt
# }

Run the code above in your browser using DataLab