Add a title or panel title

agg_title(text, panel = NULL)

Arguments

text

A string for the title.

panel

(optional) Specify a panel identifier to add a panel title instead of an overall graph title. You can specify a vector of panels (e.g. `panel = c("1","3")`) to apply the title to multiple panels at once.

See also

vignette("plotting-options", package = "arphit") for a detailed description of all the plotting options

Examples

arphitgg(data) + agg_title("Graph Title")
#> dev.new(): using pdf(file="Rplots135.pdf")
arphitgg(data) + agg_title("Panel title", panel = "1")
#> dev.new(): using pdf(file="Rplots136.pdf")