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/RJ2016061>), included in this package as a vignette; see 'citation("units")' for details.
Package details 


Author  Edzer Pebesma [aut, cre] (<https://orcid.org/0000000180497069>), Thomas Mailund [aut], Tomasz Kalinowski [aut], James Hiebert [ctb], Iñaki Ucar [aut] (<https://orcid.org/0000000164035550>), Thomas Lin Pedersen [ctb] 
Maintainer  Edzer Pebesma <edzer.pebesma@unimuenster.de> 
License  GPL2 
Version  0.85 
URL  https://rquantities.github.io/units/ https://github.com/rquantities/units 
Package repository  View on CRAN 
Installation 
Install the latest version of this package by entering the following in R:

Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.