ggready.data.frame: Prepare Data Frame for GGplot

View source: R/ggready.R

ggready.data.frameR Documentation

Prepare Data Frame for GGplot

Description

Prepares data.frame for ggplot. 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 'data.frame'
ggready(x, ..., parse = getOption("yamlet_ggready_parse", TRUE))

Arguments

x

object

...

passed to append_units; may include unquoted column names

parse

passed to append_units

Value

ggready decorated

See Also

Other ggready: ggready.decorated(), ggready()

Examples

example(ggready)

yamlet documentation built on Oct. 6, 2023, 9:07 a.m.