Temperature conversion from/to Fahrenheit (°F), degress Celsius (°C) and Kelvin (K)

convert.temperature(from = "F", to = "C", values)

Arguments

from

possible values, "F" for Fahrenheit, "C" degress Celsius and "K" Kelvin.

to

possible values, "F" for Fahrenheit, "C" degress Celsius and "K" Kelvin.

values

can be an vector, array, or a numeric single value.

Value

value (double)

Examples

library(frost) convert.temperature(from="K", to="C",350)
#> [1] 76.85
cels <- convert.temperature(from="F",to="C",c(120,80,134,110)) k <- convert.temperature(from="C", to="K",cels)