Description
Add legend for aesthetic mapping.
Usage
bb_legend(
position = "topright",
title = NULL,
aesthetic = "col",
pch = 19,
bty = "n",
...
)
Value
A modified bbplot object
Arguments
- position
legend position passed to graphics::legend.
- title
legend title.
- aesthetic
currently only supports "col".
- pch
point shape used in legend.
- bty
box type passed to graphics::legend.
- ...
additional parameters passed to graphics::legend.