A wrapper around units::set_units()
mostly to have a short name to
create a dimensionful quantity.
Arguments
- x
A numeric vector to be augmented with a unit.
- unit
A character indicating the unit. See
units::valid_udunits()
andunits::valid_udunits_prefixes()
for possible units.