Render a Plot
iidda_render_plot.RdExtracts a plot object attached to a data set, applies a title, subtitle, and theme, and returns the plot.
Usage
iidda_render_plot(
data,
title = TitleGuesser(),
subtitle = TimeRangeDescriber(),
theme = iidda_theme
)Arguments
- data
A data frame with an attached plot object.
- title
A plot title, or a function that takes
dataand returns a title string.- subtitle
A plot subtitle, or a function that takes
dataand returns a subtitle string.- theme
A function that returns a
ggplot2::themeobject.