Learn R Programming

frost (version 0.0.4)

calcDewPoint.C: Calculates dew point from ambient temperature and relative humidity.

Description

Calculation of dew point using the approach given in the following paper: Alduchov and Eskridge (1996), Improved Magnus' form approximation of saturation vapor pressure. J. Appl. Meteor., 35, 601<U+2013>609.

Usage

calcDewPoint.C(RH, temp)

Arguments

RH

[in percentage] relative humidity, an integer or double value between 0 and 100.

temp

[<U+00B0>C] environmental temperature, an integer or double value between -20 and 60 <U+00B0>C

Value

dew point value (double)

Examples

Run this code
# NOT RUN {
library(frost)
temp <- 25
rh <- 54
calcDewPoint(rh,temp,mode="C")

# }

Run the code above in your browser using DataLab