Measurement Units for R Vectors

Support for measurement units in R vectors, matrices and arrays: automatic propagation, conversion, derivation and simplification of units; raising errors in case of unit incompatibility. Compatible with the POSIXct, Date and difftime classes. Uses the UNIDATA udunits library and unit database for unit compatibility checking and conversion.


News

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("units")

0.4-6 by Edzer Pebesma, 2 months ago


https://github.com/edzer/units/


Report a bug at https://github.com/edzer/units/issues/


Browse source code at https://github.com/cran/units


Authors: Edzer Pebesma [aut, cre], Thomas Mailund [aut]


Documentation:   PDF Manual  


GPL-2 license


Imports udunits2

Suggests NISTunits, measurements, xml2, tibble, knitr, testthat, ggforce, magrittr


Imported by ggforce, sf, tidycensus, vein.

Suggested by constants.


See at CRAN