Learn R Programming

weathermetrics (version 1.2.2)

fahrenheit.to.kelvin: Convert from Fahrenheit to Kelvin.

Description

fahrenheit.to.kelvin creates a numeric vector of temperatures in Kelvin from a numeric vector of temperatures in Fahrenheit.

Usage

fahrenheit.to.kelvin(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 Kelvin.

See Also

kelvin.to.fahrenheit

Examples

Run this code
# Convert from Fahrenheit to Kelvin.
data(norfolk)
norfolk$TempuratureK <- fahrenheit.to.kelvin(norfolk$TemperatureF)
norfolk

Run the code above in your browser using DataLab