Measurement units in r

50Citations
Citations of this article
710Readers
Mendeley users who have this article in their library.

Abstract

We briefly review SI units, and discuss R packages that deal with measurement units, their compatibility and conversion. Built upon udunits2 and the UNIDATA udunits library, we introduce the package units that provides a class for maintaining unit metadata. When used in expression, it automatically converts units, and simplifies units of results when possible, in case of incompatible units, errors are raised. The class flexibly allows expansion beyond predefined units. Using units may eliminate a whole class of potential scientific programming mistakes. We discuss the potential and limitations of computing with explicit units.

Cite

CITATION STYLE

APA

Pebesma, E., Mailund, T., & Hiebert, J. (2016). Measurement units in r. R Journal, 8(2), 490–498. https://doi.org/10.32614/rj-2016-061

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free