Add units (for the y axis)

agg_units(units, panel = NULL)

Arguments

units

A string specifying the units.

panel

(optional) Specify a panel identifier to add to a specific panel. If blank, units will be applied to all panels. You can specify a vector of panels (e.g. `panel = c("1","3")`) to apply the units 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_units("index")
#> dev.new(): using pdf(file="Rplots138.pdf")
arphitgg(data) + agg_units("ppt", panel = "1")
#> dev.new(): using pdf(file="Rplots139.pdf")