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-0")



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-0, https://cran.r-project.org/web/packages/units. Accessed 07 Mar. 2026.
Previous versions and publish date:
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)
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

portalr  
Create Useful Summaries of the Portal Data
Download and generate summaries for the rodent, plant, ant, and weather data from the Portal Projec ...
Download / Learn more Package Citations See dependency  
nextGenShinyApps  
Craft Exceptional 'R Shiny' Applications and Dashboards with Novel Responsive Tools
Nove responsive tools for designing and developing 'Shiny' dashboards and applications. The scripts ...
Download / Learn more Package Citations See dependency  
testDriveR  
Teaching Data for Statistics and Data Science
Provides data sets for teaching statistics and data science courses. It includes a sample of data f ...
Download / Learn more Package Citations See dependency  
lmSubsets  
Exact Variable-Subset Selection in Linear Regression
Exact and approximation algorithms for variable-subset selection in ordinary linear regression mode ...
Download / Learn more Package Citations See dependency  
SAMtool  
Stock Assessment Methods Toolkit
Simulation tools for closed-loop simulation are provided for the 'MSEtool' operating model to inform ...
Download / Learn more Package Citations See dependency  
ReviewR  
A Light-Weight, Portable Tool for Reviewing Individual Patient Records
A portable Shiny tool to explore patient-level electronic health record data and perform chart revi ...
Download / Learn more Package Citations See dependency  

26,264

R Packages

223,360

Dependencies

70,376

Author Associations

26,265

Publication Badges

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