Learn R Programming

yamlet (version 0.6.5)

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"))
)

Arguments

x

class 'decorated_ggplot' from ggplot.decorated

...

passed arguments

search

attribute names from which to seek label substitutes

Value

see print.ggplot

See Also

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

Examples

Run this code
# NOT RUN {
example(ggplot.decorated)
# }

Run the code above in your browser using DataLab