
Convert temperature measured in Celsius- or Fahrenheit-scale to Kelvin (K).
k_c(x)k_f(x)
temperature in Kelvin-scale, [K]. Type: assert_double
.
temperature in initial scale:
for k_c(x)
- in Celsius-scale, [°C]
for k_f(x)
- in Fahrenheit-scale, [°F]
Type: assert_double
.
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()
library(pipenostics)
# Convert from Celsius to Kelvin:
k_c(c(-273.15, 100))
# [1] 0 373.15
# Convert from Fahrenheit to Kelvin:
k_f(c(-459.67, 212))
# [1] 0 373.15
Run the code above in your browser using DataLab