This function is a wrapper to access to one of the dew point calculation methods offered in this package. Read more about the method in calcDewPoint.A, calcDewPoint.B,calcDewPoint.C functions.

calcDewPoint(RH, temp, mode = "A")

Arguments

RH

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

temp

[°C] an integer or double value between -20 and 60 °C.

mode

string values "A", "B" or "C". Default "A". * Mode "A" : calls calcDewPoint.A function * Mode "B" : calls calcDewPoint.B function * Mode "C": calls calcDewPoint.C function

Value

dew point value (double)

Examples

temp <- 25 rh <- 54 calcDewPoint(rh,temp) # it takes mode = "A" by default
#> [1] 14.99222
calcDewPoint(rh,temp,mode="B")
#> [1] 24.07111