kelvin.to.fahrenheit {weathermetrics} | R Documentation |
Convert from Kelvin to Fahrenheit.
Description
kelvin.to.fahrenheit
creates a numeric vector of temperatures in
Fahrenheit from a numeric vector of temperatures in Kelvin.
Usage
kelvin.to.fahrenheit(T.kelvin, round = 2)
Arguments
T.kelvin |
Numeric vector of temperatures in Kelvin. |
round |
An integer indicating the number of decimal places to round the converted value. |
Value
A numeric vector of temperature values in Fahrenheit.
Note
Equations are from the source code for the National Oceanic and Atmospheric Association's online temperature converter.
Author(s)
Joshua Ferreri joshua.m.ferreri@gmail.com, Brooke Anderson brooke.anderson@colostate.edu
See Also
Examples
# Convert from Kelvin to Fahrenheit.
data(angeles)
angeles$TemperatureF <- kelvin.to.fahrenheit(angeles$TemperatureK)
angeles
[Package weathermetrics version 1.2.2 Index]