Learn R Programming

yamlet (version 0.9.3)

print.decorated_ggplot: Substitute Expressions, Titles and Labels in ggplots

Description

At time of printing, default labels will be used as column names to search data for more meaningful labels, taking first available from attributes with names in search.

Usage

# S3 method for decorated_ggplot
print(
  x,
  ...,
  search = getOption("decorated_ggplot_search", c("expression", "title", "label"))
)

Value

see print.ggplot

Arguments

x

class 'decorated_ggplot' from ggplot.decorated

...

passed arguments

search

attribute names from which to seek label substitutes

See Also

Other decorated_ggplot: ggplot.decorated(), ggplot_build.decorated_ggplot()

Examples

Run this code
example(ggplot.decorated)

Run the code above in your browser using DataLab