units: 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. Documentation about 'units' is provided in the paper by Pebesma, Mailund & Hiebert (2016, <doi:10.32614/RJ-2016-061>), included in this package as a vignette; see 'citation("units")' for details.

Package details

AuthorEdzer Pebesma [aut, cre] (<https://orcid.org/0000-0001-8049-7069>), Thomas Mailund [aut], Tomasz Kalinowski [aut], James Hiebert [ctb], Iñaki Ucar [aut] (<https://orcid.org/0000-0001-6403-5550>), Thomas Lin Pedersen [ctb]
MaintainerEdzer Pebesma <edzer.pebesma@uni-muenster.de>
URL https://r-quantities.github.io/units/ https://github.com/r-quantities/units
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:

Try the units package in your browser

Any scripts or data that you put into this service are public.

units documentation built on May 29, 2024, 10:24 a.m.