Learn R Programming

psychrolib (version 2.5.2)

GetStandardAtmTemperature: Return standard atmosphere temperature, given the elevation (altitude).

Description

Return standard atmosphere temperature, given the elevation (altitude).

Usage

GetStandardAtmTemperature(Altitude)

Arguments

Altitude

A numeric vector of altitude in ft [IP] or m [SI]

Value

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

References

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

Examples

Run this code
# NOT RUN {
SetUnitSystem("IP")
GetStandardAtmTemperature(seq(-500, 1000, 100))

SetUnitSystem("SI")
GetStandardAtmTemperature(seq(-500, 1000, 100))

# }

Run the code above in your browser using DataLab