Learn R Programming

ggplot2 (version 3.5.0)

new_guide: Guide constructor

Description

A constructor function for guides, which performs some standard compatibility checks between the guide and provided arguments.

Usage

new_guide(..., available_aes = "any", super)

Value

A Guide ggproto object.

Arguments

...

Named arguments that match the parameters of super$params or the theme elements in super$elements.

available_aes

A vector of character strings listing the aesthetics for which the guide can be drawn.

super

The super class to use for the constructed guide. Should be a Guide class object.