Generate axis labels or col/label structures for plots

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

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

axis_label(x, .add_unit = TRUE, ...)

axis_asis(x)

Arguments

.spec

a yspec object

vars

a quosure or character vector; passed to tidyselect::vars_select

.fun

a function that forms the axis label data for

...

arguments passed to short()

x

a ycol object

.add_unit

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