plot.bayeslincom: Plot comparisons from 'compare'

Description Usage Arguments Value Examples

Description

See plot.bayeslincom

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## 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

1
2
3
4
5
6
7
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)

BBcor documentation built on Oct. 14, 2021, 5:22 p.m.