Calculates saturation vapor pressure (kPa) using the Arden Buck equation
Usage
SaturationVaporPressure(data, temperature = "temperature")
Arguments
data
data frame with at least a numeric column containing temperature (degree Celsius)
temperature
optional name of the column in data containing the temperature values;
default: "temperature"
Value
the original data frame extended by a numeric column with the saturation vapor pressure (kPa).
Details
Calculates saturation vapor pressure (kPa) over liquid by temperature using the Arden Buck equation:
$$VPsat = 0.61121 exp ((18.678 - T 234.5^-1) (T 257.14 + T))$$
where T = air temperature (degree Celsius)
# NOT RUN {# generate example data framedf <- data.frame(temperature = c(23.1, 23.2))
# extend df by saturation vapor pressuredf_with_VPsat <- SaturationVaporPressure(df)
# }