c2f: Convert temperature in celsius to degrees farenheit

Description Usage Arguments Value Examples

View source: R/short_generic.R

Description

Convert temperature in celsius to degrees farenheit

Usage

1
c2f(x, dec = 1)

Arguments

x

an integer or numeric vector of temperature measurements in degrees celsius

dec

an integer specifying the number of decimals of rounding

Value

A vector x of temperature measurements converted from celsius to fahrenheit. The number of decimals returned is set using dec.

Examples

1
2
temp_c = c(0.00, 21.31, 100.00)
temp_f = c2f(temp_c, dec = 1)

arestrom/remisc documentation built on Oct. 7, 2017, 4:57 p.m.