Build Status CRAN_Status_Badge rstudio mirror downloads

humidity is an R package for calculating water vapor measures from temperature and dew point.


Vapor pressure, relative humidity, absolute humidity, specific humidity, and mixing ratio are commonly used water vapor measures in meteorology. This R package provides functions for calculating saturation vapor pressure (hPa), partial water vapor pressure (Pa), relative humidity (%), absolute humidity (kg/m^3), specific humidity (kg/kg), and mixing ratio (kg/kg) from temperature (K) and dew point (K). Conversion functions between humidity measures are also provided.


Get the released version from CRAN:


Or the development version from github:

if (!requireNamespace("devtools")) install.packages("devtools")
devtools::install_github("caijun/humidity", build_vignettes = TRUE)


To get started with humidity package, view available vignettes in the package:



Bugs and feature requests can be filed to Pull requests are also welcome.

Try the humidity package in your browser

Any scripts or data that you put into this service are public.

humidity documentation built on June 11, 2018, 1:07 a.m.