Learn R Programming

yamlet (version 1.2.1)

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

Value

ggready decorated

Arguments

x

object

...

passed to append_units; may include unquoted column names

parse

passed to append_units

See Also

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

Examples

Run this code
example(ggready)

Run the code above in your browser using DataLab