plot.bayeslincom {BBcor}R Documentation

Plot comparisons from compare

Description

See plot.bayeslincom

Usage

## S3 method for class 'bayeslincom'
plot(
  x,
  point_col = "black",
  hist_col = "black",
  hist_fill = "gray",
  bar_col = "steelblue",
  bins = 30,
  display_comb_strings = TRUE,
  ...
)

Arguments

x

An object of class bayeslincom

point_col

Color for point indicating mean of posterior

hist_col

Color for histogram edges

hist_fill

Color for histogram bars

bar_col

Color of bar for credible interval

bins

Number of bins

display_comb_strings

If TRUE, displays full strings for combinations in ggplot facets when there is more than one combination in x

...

Currently ignored

Value

An object of class ggplot

Examples

Y <- mtcars[, 1:3]
bb <- bbcor(Y)
bb_compare <- compare("mpg--cyl > mpg--disp",
                     obj = bb,
                     cred = 0.90,
                     rope = c(-0.1, 0.1))
plot(bb_compare)


[Package BBcor version 1.0.1 Index]