Learn R Programming

pvldcurve (version 1.2.6)

SaturationVaporPressure: Saturation vapor pressure (VPsat)

Description

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)

Examples

Run this code
# NOT RUN {
# generate example data frame
df <- data.frame(temperature = c(23.1, 23.2))

# extend df by saturation vapor pressure
df_with_VPsat <- SaturationVaporPressure(df)

# }

Run the code above in your browser using DataLab