celsius.to.fahrenheit: Convert from Celsius to Fahrenheit.

Description Usage Arguments Value Note Author(s) See Also Examples

Description

celsius.to.fahrenheit creates a numeric vector of temperatures in Fahrenheit from a numeric vector of temperatures in Celsius.

Usage

1
celsius.to.fahrenheit(T.celsius, round = 2)

Arguments

T.celsius

Numeric vector of temperatures in Celsius.

round

An integer indicating the number of decimal places to round the converted value.

Value

A numeric vector of temperature values in Fahrenheit.

Note

Equations are from the source code for the US National Weather Service's online heat index calculator.

Author(s)

Brooke Anderson brooke.anderson@colostate.edu, Roger Peng rdpeng@gmail.com

See Also

fahrenheit.to.celsius

Examples

1
2
3
4
# Convert from Celsius to Fahrenheit.
data(lyon)
lyon$TemperatureF <- celsius.to.fahrenheit(lyon$TemperatureC)
lyon

weathermetrics documentation built on May 2, 2019, 2:18 a.m.