Learn R Programming

frost (version 0.0.4)

calcDewPoint: Dew point estimation given relative humidity and temperature

Description

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.

Usage

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

Arguments

RH

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

temp

[<U+00B0>C] an integer or double value between -20 and 60 <U+00B0>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

Run this code
# NOT RUN {
temp <- 25
rh <- 54
calcDewPoint(rh,temp) # it takes mode = "A" by default
calcDewPoint(rh,temp,mode="B")
# }

Run the code above in your browser using DataLab