Add units to the x axis (only works for scatter graphs)

agg_xunits(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_xunits("index")
#> dev.new(): using pdf(file="Rplots146.pdf")