Generate axis labels or col/label structures for plots

axis_labs(.spec, ..., .fun = axis_label)

axis_col_labs(.spec, ..., .fun = axis_label)

axis_label(x, .add_unit = TRUE)

axis_asis(x)

Arguments

.spec

a yspec object

...

unquoted column names in the spec

.fun

a function that forms the axis label data for

x

a ycol object

.add_unit

if TRUE, the unit is appended to the axis title if it is found a single column