temperature conversions {TrenchR} | R Documentation |
Convert Among Temperature Scales
Description
The function converts temperatures among Celsius, Fahrenheit, and Kelvin (J. Blischak et al. 2016).
Usage
fahrenheit_to_kelvin(temperature)
kelvin_to_celsius(temperature)
celsius_to_kelvin(temperature)
fahrenheit_to_celsius(temperature)
Arguments
temperature |
|
Value
numeric
temperature (Celsius, Fahrenheit, or Kelvin).
References
J. Blischak, D. Chen, H. Dashnow, Haine D (2016). Software Carpentry: Programming with R. doi: 10.5281/zenodo.57541, Version 2016.06, June 2016.
See Also
Other utility functions:
airpressure_from_elev()
,
azimuth_angle()
,
day_of_year()
,
daylength()
,
dec_angle()
,
solar_noon()
,
zenith_angle()
Examples
kelvin_to_celsius(temperature = 270)
fahrenheit_to_kelvin(temperature = 85)
fahrenheit_to_celsius(temperature = 85)
celsius_to_kelvin(temperature = -10)
[Package TrenchR version 1.1.1 Index]