Learn R Programming

psychrolib (version 2.5.2)

GetRelHumFromTDewPoint: Return relative humidity given dry-bulb temperature and dew-point temperature.

Description

Return relative humidity given dry-bulb temperature and dew-point temperature.

Usage

GetRelHumFromTDewPoint(TDryBulb, TDewPoint)

Arguments

TDryBulb

A numeric vector of dry-bulb temperature in degreeF [IP] or degreeC [SI]

TDewPoint

A numeric vector of dew-point temperature in degreeF [IP] or degreeC [SI]

Value

A numeric vector of relative humidity in range [0, 1]

References

ASHRAE Handbook - Fundamentals (2017) ch. 1 eqn 22

Examples

Run this code
# NOT RUN {
SetUnitSystem("IP")
GetRelHumFromTDewPoint(80:100, 65)

SetUnitSystem("SI")
GetRelHumFromTDewPoint(20:30, 15)

# }

Run the code above in your browser using DataLab