Skip to contents

Convert Kelvin to degrees Celsius

Usage

celsius_from_kelvin(kelvin)

Arguments

kelvin

Numeric vector of temperatures in Kelvin.

Value

A numeric vector of temperatures in degrees Celsius.

Examples

celsius_from_kelvin(c(273.15, 295.15))
#> [1]  0 22