Description Usage Arguments Details Value Examples
View source: R/SaturationVaporPressure.R
Calculates saturation vapor pressure (kPa) using the Arden Buck equation
1 | SaturationVaporPressure(data, temperature = "temperature")
|
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" |
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)
the original data frame extended by a numeric column with the saturation vapor pressure (kPa).
1 2 3 4 5 | # generate example data frame
df <- data.frame(temperature = c(23.1, 23.2))
# extend df by saturation vapor pressure
df_with_VPsat <- SaturationVaporPressure(df)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.