pal_bmj {ggsci} | R Documentation |
BMJ color palettes
Description
Color palette from the BMJ living style guide.
Usage
pal_bmj(palette = c("default"), alpha = 1)
Arguments
palette |
Palette type.
Currently there is one available option: |
alpha |
Transparency level, a real number in (0, 1].
See |
Author(s)
Hui Chen | huichen@zju.edu.cn
References
https://technology.bmj.com/living-style-guide/colour.html
Examples
library("scales")
show_col(pal_bmj("default")(9))
show_col(pal_bmj("default", alpha = 0.6)(9))
[Package ggsci version 3.2.0 Index]