get_color_func | R Documentation |
Get color function from BioVisReportR namespace.
get_color_func(palname = "npg", data_class = "discrete", mode = "fill")
palname |
palette name Currently there is 19 available options:
See the Scientific Journal and Sci-Fi Themed Color Palettes for ggplot2 for details. |
mode |
the corresponding scales Currently there is 2 available options:
|
Jingcheng Yang <yjcyxky@163.com>
https://nanx.me/ggsci/articles/ggsci.html
library("BioVisReportR") nejm_fill_func <- get_color_func('nejm', 'fill')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.