Learn R Programming

BBcor (version 1.0.3)

plot.bbcor: Plot bbcor point estimates and intervals

Description

Plot bbcor point estimates and intervals

Usage

# S3 method for bbcor
plot(x, ci = 0.9, point_col = "red", bar_col = "black", ...)

Arguments

x

An object of class bbcor

ci

Width of credible interval. Defaults to 0.9.

point_col

Color for point indicating mean of posterior

bar_col

Color of bar for credible interval

...

Currently ignored

Value

An object of class ggplot

Examples

Run this code
# NOT RUN {
Y <- mtcars[, 1:5]
bb <- bbcor(Y)
plot(bb)

# }

Run the code above in your browser using DataLab