convert_T: Conversion Between Different Temperature Units

View source: R/convert_T.R

convert_TR Documentation

Conversion Between Different Temperature Units

Description

The function converts between different units of temperature.

Usage

convert_T(x, unit = c("K", "C", "F"))

Arguments

x

Vector of given temperature values,

unit

Measurement unit of the given value(s).

Value

A data frame with converted values.

References

Mangum BW and Furukawa GT, 1990. Guidelines for Realizing the International Temperature Scale of 1990 (ITS-90). NIST Technical Note 1265. and the url

http://www.cstl.nist.gov/div836/836.05/papers/magnum90ITS90guide.pdf

See Also

convert_AStoPS, convert_PStoAS, convert_RtoS, convert_StoR, convert_StoCl, convert_p

Examples

convert_T(0, "K")
convert_T(0, "C")
convert_T(0, "F")

convert_T(273.15, "K")
convert_T(-273.15, "C")
convert_T(c(-459.67, 0, 32), "F")

convert_T(32, "F")$C # 0 degrees C


marelac documentation built on Sept. 25, 2023, 5:06 p.m.