convert_temp: Convert temperature units-C, F, K, and R

Description Usage Arguments Value

View source: R/convert_temp.R

Description

Convert temperature units–C, F, K, and R

Usage

1
convert_temp(x, from, to)

Arguments

x

A vector of numbers to be converted.

from

A character vector of the units x is in. Must be length 1 or same length as x.

to

A character vector of the units into which x will be converted. Must be length 1 or same length as x.

Value

A vector of numbers converted FROM old units TO new units.


mattreusswig/convertUnits documentation built on March 23, 2020, 5:26 a.m.