Skip to contents

Convert temperature measured in Celsius- or Fahrenheit-scale to Kelvin (K).

Usage

k_c(x)

k_f(x)

Arguments

x

temperature in initial scale:

Type: assert_double.

Value

temperature in Kelvin-scale, [K]. Type: assert_double.

See also

c_k and f_k for converting from Kelvin-scale.

Other units: c_k(), f_k(), inch_mm(), kgf_mpa(), loss_flux(), mm_inch(), mpa_kgf(), mpa_psi(), psi_mpa()

Examples

 library(pipenostics)

# Convert from Celsius to Kelvin:
k_c(c(-273.15, 100))
#> [1]   0.00 373.15
# [1]  0  373.15

# Convert from Fahrenheit to Kelvin:
k_f(c(-459.67, 212))
#> [1]   0.00 373.15
# [1]  0  373.15