Learn R Programming

psychrolib (version 2.5.2)

GetTKelvinFromTCelsius: Utility function to convert temperature to Kelvin (K) given temperature in degree Celsius (degreeC).

Description

Utility function to convert temperature to Kelvin (K) given temperature in degree Celsius (degreeC).

Usage

GetTKelvinFromTCelsius(TCelsius)

Arguments

TCelsius

A numeric vector of temperature in degree Celsius (degreeC)

Value

A numeric vector of temperature in Kelvin (K)

Notes

Exact conversion.

References

ASHRAE Handbook - Fundamentals (2017) ch. 1 section 3

Examples

Run this code
# NOT RUN {
GetTKelvinFromTCelsius(20:30)

# }

Run the code above in your browser using DataLab