layer: layer

Description Usage Arguments Details Value Author(s) Examples

Description

layer

Usage

1
2
3
4
5
6
7
bb_lm(mapping = NULL, data = NULL, ...)

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

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

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

Arguments

mapping

aesthetic mapping

data

layer data

...

addition parameter for the layer

position

one of 'identity' or 'jitter'

Details

bbplot layers

Value

A modified bbplot object

Author(s)

Guangchuang Yu

Examples

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

YuLab-SMU/bbplot documentation built on Sept. 8, 2021, 11:42 p.m.