Learn R Programming

humidity (version 0.1.5)

SVP: calculate saturation vapor pressure

Description

calculate saturation vapor pressure \(E_s\) at temperature \(t\), using the Clausius-Clapeyron equation or the Murray equation.

Usage

SVP(t, isK = TRUE, formula = c("Clausius-Clapeyron", "Murray"))

Arguments

t

temperature in Kelvin (K) or in degree Celsius (<U+00B0>C)

isK

logical indicator whether temperature is in Kelvin (K). The default value is TRUE.

formula

the formula is used for calculating saturation vapor pressure. By default the Clausius-Clapeyron equation is used.

Value

numeric saturation vapor pressure in hectopascal (hPa) or millibar (mb)

See Also

SVP.ClaCla, SVP.Murray.

Examples

Run this code
# NOT RUN {
SVP(273.15)
# }

Run the code above in your browser using DataLab