layer: bb_boxplot

bb_barR Documentation

bb_boxplot

Description

boxplot layer

histogram layer

layer

significance layer

Usage

bb_bar(mapping = NULL, data = NULL, stat = "identity", width = 0.9, ...)

bb_boxplot(mapping = NULL, data = NULL, ...)

bb_errorbar(mapping = NULL, data = NULL, orientation = "y", width = 0.5, ...)

bb_hist(mapping = NULL, data = NULL, ...)

bb_line(mapping = NULL, data = NULL, ...)

bb_lm(mapping = NULL, data = NULL, ...)

bb_point(mapping = NULL, data = NULL, position = "identity", ...)

bb_segment(mapping = NULL, data = NULL, ...)

bb_signif(mapping = NULL, data = NULL, ...)

bb_text(mapping = NULL, data = NULL, ...)

bb_tile(mapping = NULL, data = NULL, ...)

Arguments

mapping

aesthetic mapping

data

layer data

stat

one of 'identity' or 'count'

width

bar width or errorbar cap width

...

addition parameter for the layer

orientation

one of 'y' or 'x'

position

one of 'identity' or 'jitter'

Details

bbplot layers

Value

A modified bbplot object

A modified bbplot object

A modified bbplot object

A modified bbplot object

Author(s)

Guangchuang Yu

Examples

library(plotbb)
p <- bbplot(mtcars, bb_aes(mpg, disp, col=factor(cyl))) +
  bb_point() + bb_lm(bb_aes(group=cyl), lwd=2)

plotbb documentation built on Jan. 30, 2026, 5:06 p.m.

Related to layer in plotbb...