agg_title: Add a title or panel title

Description Usage Arguments See Also Examples

View source: R/gg-constructors.R

Description

Add a title or panel title

Usage

1
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

1
2
arphitgg(data) + agg_title("Graph Title")
arphitgg(data) + agg_title("Panel title", panel = "1")

angusmoore/arphit documentation built on Feb. 15, 2021, 9:40 a.m.