Learn R Programming

BGGM (version 2.1.5)

plot.summary.estimate: Plot summary.estimate Objects

Description

Visualize the posterior distributions for each partial correlation.

Usage

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

Value

A ggplot object.

Arguments

x

An object of class summary.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).

...

Currently ignored

See Also

estimate

Examples

Run this code
# \donttest{
# data
Y <- ptsd[,1:5]

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


plot(summary(fit))

# }

Run the code above in your browser using DataLab