Learn R Programming

yamlet (version 0.6.5)

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 class 'ggready'.

Usage

# S3 method for data.frame
ggready(x, ..., parse = getOption("ggready_parse", TRUE))

Arguments

x

object

...

passed to append_units; may include unquoted column names

parse

passed to append_units

Value

ggready

See Also

Other ggready: ggplot.ggready(), ggplot_build.ggready_ggplot(), ggready.decorated(), ggready(), print.ggready_ggplot()

Examples

Run this code
# NOT RUN {
example(ggready)
# }

Run the code above in your browser using DataLab