3  Function Descriptions

3.1 theme_duke()

Implements theme components.

Defines the overall aesthetic and thematic features of the plot. This function specifies simple background, grid line, text, and legend arguments to create minimalist design. Its use is intended for ggplot objects. See https://aidangildea.github.io/duke/reference/theme_duke.html for more information and examples.

3.2 scale_duke_continuous()

Continuous scale constructor.

Applies a Duke branded and accessible continuous color scale to ggplot geometric objects. It is applicable for both fill and color arguments. Defines gradient scale from dark to light to improve visibility and contrast for readers. See https://aidangildea.github.io/duke/reference/scale_duke_continuous.html for more information and examples.

3.3 scale_duke_fill_discrete()

Discrete scale constructor for fill argument.

Applies a Duke branded and accessible discrete color palette to ggplot geometric objects using fill argument. It prioritizes high contrast colors aligned with Web Content Accessibility Guidelines (WCAG). See https://aidangildea.github.io/duke/reference/scale_duke_fill_discrete.html for more information and examples.

3.4 scale_duke_color_discrete()

Discrete scale constructor for color argument.

Applies a Duke branded and accessible discrete color palette to ggplot geometric objects using color argument. It prioritizes high contrast colors aligned with Web Content Accessibility Guidelines (WCAG). See https://aidangildea.github.io/duke/reference/scale_duke_color_discrete.html for more information and examples.

3.5 duke_pal()

Discrete palette constructor.

Defines 8-color palette to be used by discrete scale function. It is intended for internal package use and not to be directly called. See https://aidangildea.github.io/duke/reference/duke_pal.html for more information and examples.