Other packages > Find by keyword >

units  

Measurement Units for R Vectors
View on CRAN: Click here


Download and install units package within the R console
Install from CRAN:
install.packages("units")

Install from Github:
library("remotes")
install_github("cran/units")

Install by package version:
library("remotes")
install_version("units", "1.0-1")



Attach the package and use:
library("units")
Maintained by
Edzer Pebesma
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2016-06-09
Latest Update: 2025-03-11
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, <doi:10.32614/RJ-2016-061>), included in this package as a vignette; see 'citation("units")' for details.
How to cite:
Edzer Pebesma (2016). units: Measurement Units for R Vectors. R package version 1.0-1, https://cran.r-project.org/web/packages/units. Accessed 05 Oct. 2026.
Previous versions and publish date:
(2026-07-09 06:57), 0.1 (2016-06-09 15:19), 0.2 (2016-06-20 07:55), 0.3 (2016-09-17 00:38), 0.4-1 (2016-12-09 13:13), 0.4-2 (2017-01-13 15:40), 0.4-3 (2017-03-25 12:11), 0.4-4 (2017-04-21 01:40), 0.4-5 (2017-06-15 02:08), 0.4-6 (2017-08-27 18:21), 0.4 (2016-11-21 12:02), 0.5-0 (2018-01-07 23:53), 0.5-1 (2018-01-08 15:03), 0.6-0 (2018-06-09 21:52), 0.6-1 (2018-09-21 23:40), 0.6-2 (2018-12-05 11:00), 0.6-3 (2019-05-03 23:50), 0.6-4 (2019-08-22 08:30), 0.6-5 (2019-10-08 13:40), 0.6-6 (2020-03-16 18:30), 0.6-7 (2020-06-13 17:30), 0.7-0 (2021-02-25 10:30), 0.7-1 (2021-03-16 14:40), 0.7-2 (2021-06-08 17:00), 0.8-0 (2022-02-05 01:50), 0.8-1 (2022-12-10 16:10), 0.8-2 (2023-04-27 18:40), 0.8-3 (2023-08-11 01:10), 0.8-4 (2023-09-13 19:10), 0.8-5 (2023-11-28 17:10), 0.8-6 (2025-03-08 01:40), 0.8-7 (2025-03-12 00:40), 1.0-0 (2025-10-09 12:40)
Other packages that cited units R package
View units citation profile
Other R packages that units depends, imports, suggests or enhances
Complete documentation for units
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

genie  
Fast, Robust, and Outlier Resistant Hierarchical Clustering
Includes the reference implementation of Genie - a hierarchical clustering algorithm that links two ...
Download / Learn more Package Citations See dependency  
quickcode  
Quick and Essential 'R' Tricks for Better Scripts
The NOT functions, 'R' tricks and a compilation of some simple quick plus often used 'R' codes to im ...
Download / Learn more Package Citations See dependency  
cdlTools  
Tools to Download and Work with USDA Cropscape Data
Downloads USDA National Agricultural Statistics Service (NASS) cropscape data for a specified state ...
Download / Learn more Package Citations See dependency  
correlation  
Methods for Correlation Analysis
Lightweight package for computing different kinds of correlations, such as partial correlations, Ba ...
Download / Learn more Package Citations See dependency  

28,905

R Packages

247,686

Dependencies

76,495

Author Associations

28,906

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA