View source: R/calculate_vapour_pressure.R
calculate_vapour_pressure | R Documentation |
Water vapour pressure is the atmospheric pressure which is exerted by water vapour (gaseous water).
calculate_vapour_pressure(temp, type = 1L)
temp |
Air temperature or dew point temperature in degrees Celsius. |
type |
What type of vapour pressure should be calculated? Type |
Numeric vector, vapour pressure in hectopascals (hPa).
Stuart K. Grange
# Calculate saturated vapour pressure with air temperature
calculate_vapour_pressure(20)
# Use Bolton 1980's formula
calculate_vapour_pressure(20, type = 2)
# Calculate actual vapour pressure with dew point temperature
calculate_vapour_pressure(calculate_dew_point(temp = 20, rh = 65))
calculate_vapour_pressure(calculate_dew_point(temp = 20, rh = 65), type = 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.