Measurement Units for R Vectors
convert units object into difftime object
boxplot for unit objects
deparse unit to string in product power form (e.g. km m-2 s-1)
Drop Units
histogram for unit objects
Define or remove units
Apply a function keeping units
Load a unit system
Mathematical operations for units objects
Create or convert to a mixed units list-column
S3 Ops Group Generic Functions for units objects
Plot units
objects
Position scales for units data
seq method for units objects
Test if two units are convertible
The "unit" type for vectors that are actually dimension-less.
Defunct functions in units
Handle measurement units
set one or more units global options
Get information about valid units
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.
Useful links