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.

Total

1,039,590

Last month

88,181

Last week

18,066

Average per day

2,939

Daily downloads

Total downloads

Description file content

Package
units
Version
0.6-4
Title
Measurement Units for R Vectors
Depends
R (>= 3.0.2)
Imports
Rcpp
LinkingTo
Rcpp (>= 0.12.10)
Suggests
udunits2, NISTunits, measurements, xml2, tibble, pillar (>= 1.3.0), knitr, testthat, ggforce, rmarkdown, magrittr
VignetteBuilder
knitr
Description
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, ), included in this package as a vignette; see 'citation("units")' for details.
SystemRequirements
udunits-2
License
GPL-2
URL
BugReports
https://github.com/r-quantities/units/issues/
RoxygenNote
6.1.1
Encoding
UTF-8
NeedsCompilation
yes
Packaged
2019-08-22 05:40:44 UTC; edzer
Author
Edzer Pebesma [aut, cre] (), Thomas Mailund [aut], Tomasz Kalinowski [aut], James Hiebert [ctb], Iñaki Ucar [ctb] ()
Maintainer
Edzer Pebesma
Repository
CRAN
Date/Publication
2019-08-22 06:30:02 UTC

install.packages('units')

0.6-4

a day ago

https://github.com/r-quantities/units/

Edzer Pebesma

GPL-2

Depends on

R (>= 3.0.2)

Imports

Rcpp

Suggests

udunits2, NISTunits, measurements, xml2, tibble, pillar (>= 1.3.0), knitr, testthat, ggforce, rmarkdown, magrittr

Discussions