preview_theme {ggprism} | R Documentation |
Preview Prism themes
Description
Quickly generate a preview of a ggprism theme.
See names(ggprism_data$themes)
for valid palette names.
Usage
preview_theme(palette)
Arguments
palette |
|
Value
Returns an object of class ggplot.
Examples
library(ggplot2)
## see names of available themes
names(ggprism_data$themes)
## preview a theme
preview_theme("floral")
[Package ggprism version 1.0.5 Index]