class_theme: The theme class

class_themeR Documentation

The theme class

Description

The theme class holds information on how non-data elements of the plot should be rendered. The preferred way to construct an object of this class is through the theme() function.

Usage

class_theme(elements = list(), ..., complete = FALSE, validate = TRUE)

Arguments

elements

A named list containing theme elements.

...

Reserved for future expansion.

complete

A boolean value stating whether a theme is complete.

validate

A boolean value stating whether a theme should still be validated.


ggplot2 documentation built on Sept. 11, 2025, 9:10 a.m.