Temperatures are annoying - especially with cross border communication. This package aims to make this easy by giving you all the functions you need to easily convert temperatures between any combination of Celsius, Kelvin, and Fahrenheit.

Below are some examples to convert from the temperature that water freezes between Celsius, Kelvin, and Fahrenheit.

Convert from Fahrenheit to Kelvin:

library(convertemp)
fahr_to_kelvin(32)

Convert Kelvin to Celsius:

kelvin_to_celsius(273.15)

Convert Celsius to Fahrenheit:

celsius_to_fahr(0)

Convert Fahrenheit to Celsius:

fahr_to_celsius(32)

Convert Kelvin to Fahrenheit:

kelvin_to_fahr(273.15)

Convert Celsius to Kelvin:

celsius_to_kelvin(0)


ttimbers/convertemp documentation built on Sept. 27, 2019, 7:29 a.m.