choose_foo_axis: Choose an axis function

View source: R/pretty_axis_support.R

choose_foo_axisR Documentation

Choose an axis function

Description

This function returns a function to add an axis to a plot, depending on the input.

Usage

choose_foo_axis(at)

Arguments

at

A sequence of positions at which the axis is drawn. Numbers or times (i.e., dates or POSIXct objects) are supported.

Value

The function returns either axis, axis.Date or axis.POSIXct depending on the input.

Author(s)

Edward Lavender


edwardlavender/prettyGraphics documentation built on Jan. 19, 2025, 2:47 p.m.