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

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

Description

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

Usage

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

Arguments

T.fahrenheit

Numeric vector of temperatures in Fahrenheit.

round

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

Value

A numeric vector of temperature values in Celsius.

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

celsius.to.fahrenheit

Examples

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

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