iso_get_units: Retrieve number units

Description Usage Arguments See Also

View source: R/units.R

Description

This function returns the units of a numerical value generated by iso_double_with_units. It returns NA) for unitless variables. Returns a column-named vector of units if x is a data frame / tibble. Returns the direct units of x in all other cases.

Usage

1

Arguments

x

variable to get the units for (vector or data frame)

See Also

Other functions for values with units: iso_is_double_with_units(), iso_make_units_explicit(), iso_make_units_implicit(), iso_strip_units(), iso_with_units()


isoreader documentation built on Nov. 19, 2021, 1:07 a.m.