prettifyUnit: Returns 'pretty' units for use for plotting or printing

View source: R/trackeRdata_plot.R

prettifyUnitR Documentation

Returns 'pretty' units for use for plotting or printing

Description

Returns 'pretty' units for use for plotting or printing

Usage

prettifyUnit(unit)

prettifyUnits(unit)

Arguments

unit

a unit as recorded in the data.frame generated by generate_units.

Details

prettifyUnits is the vectorized version of prettifyUnit

Examples

prettifyUnit("m_per_s")
prettifyUnit("rev_per_min")
prettifyUnits(c("rev_per_min", "ft_per_min"))


trackeR documentation built on May 29, 2024, 5:04 a.m.