ggready.decorated: Prepare Decorated Data Frame for GGplot

View source: R/ggready.R

ggready.decoratedR Documentation

Prepare Decorated Data Frame for GGplot

Description

Prepares decorated data.frame for ggplot. Calls resolve and appends units to label using append_units (passing style = 'plotmath' if parse is true, else style = 'plain'). Enforces classes 'decorated' and 'ggready'.

Usage

## S3 method for class 'decorated'
ggready(
  x,
  ...,
  parse = getOption("yamlet_ggready_parse", TRUE),
  resolve = TRUE
)

Arguments

x

object

...

passed to append_units and resolve; may include unquoted column names

parse

passed to append_units

resolve

whether to resolve guide attributes

Value

ggready decorated

See Also

Other ggready: ggready(), ggready.data.frame()

Examples

example(ggready)

yamlet documentation built on June 8, 2025, 1:57 p.m.