axis_labs: Generate axis labels or col/label structures for plots

View source: R/axis_data.R

axis_labsR Documentation

Generate axis labels or col/label structures for plots

Description

Generate axis labels or col/label structures for plots

Usage

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


metrumresearchgroup/yspec documentation built on May 24, 2024, 12:48 a.m.