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 [email protected], Roger Peng [email protected]

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

geanders/weathermetrics documentation built on May 17, 2019, 12:14 a.m.