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:
install.packages("humididty")
Or the development version from github:
if (!requireNamespace("devtools")) install.packages("devtools")
::install_github("caijun/humidity", build_vignettes = TRUE) devtools
To get started with humidity package, view available vignettes in the package:
browseVignettes("humidity")
Bugs and feature requests can be filed to https://github.com/caijun/humidity/issues. Pull requests are also welcome.