preview_pal {DOYPAColors} | R Documentation |
This function generates a visual preview of a DOYPAColors palette with multiple plots. It includes a direct palette preview, a scatter plot, a bar plot, and a heatmap, each using the specified palette.
preview_pal(palette, seed = NULL)
palette |
A character string specifying the name of the palette to use. |
seed |
An optional seed for reproducibility of random numbers. |
A 'ggplot' object with multiple plots arranged in a grid, showcasing the color palette in different visualizations.
# Preview a DOYPAColors palette with multiple plots
preview_pal(palette = "buzz")