preview_doypa_pals {DOYPAColors} | R Documentation |
Preview DOYPAColors palettes
Description
This function generates a visual preview of DOYPAColors color palettes, allowing you to explore and select color schemes for your data visualizations.
Usage
preview_doypa_pals(palette = NULL, colors = NULL)
Arguments
palette |
Character string specifying the name of a specific DOYPAColors palette to preview. If provided, this overrides 'colors'. |
colors |
A vector of colors to preview. |
Value
A 'ggplot' visualization of DOYPAColors color palettes for exploring and selecting color schemes in your data visualizations.
Examples
# Preview a specific DOYPAColors palette by name
preview_doypa_pals(palette = "buzz")
# Preview a custom vector of colors
custom_colors <- c("#FF5733", "#33FF57", "#5733FF")
preview_doypa_pals(colors = custom_colors)
# Preview all available DOYPAColors palettes
preview_doypa_pals()
[Package DOYPAColors version 0.0.1 Index]