scale_fill_WB_c {WrensBookshelf} | R Documentation |
Use WrensBookshelf with ggplot
Description
Wrapper function to allow easy integration with ggplot2. Sets continuous fill scale.
Usage
scale_fill_WB_c(name, direction = 1, ...)
Arguments
name |
Name of palette from WrensBookshelf. |
direction |
Direction you want the palette to proceed; 1 = direction shown in ShowBookshelf() or ShowBook(), -1 = reversed. |
... |
See scale_color_gradientn() for additional params. |
Value
No return value, integrates WB_brewer into ggplot2 function.
Examples
ggplot2::ggplot(mtcars, ggplot2::aes(x = disp,y = wt, fill= mpg))+
ggplot2::geom_point(size=3, shape = 21)+
scale_fill_WB_c(name = "WhatWellBuild")
[Package WrensBookshelf version 0.1.0 Index]