Skip to contents

A specification for a ggplot2::layer built from a layer_spec and intended for piping. Typically constructed using geom_() or stat_(), not this function.

Usage

new_layer_spec()

Value

A ggbuilder layer_spec representing a layer to be constructed by new_layer().

Examples


# See geom_() or stat_() for examples; this function
# should not usually be used directly.