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

Description Usage Arguments See Also Examples

View source: R/gg-constructors.R

Description

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

Usage

1
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

1
arphitgg(data) + agg_xunits("index")

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