Learn R Programming

sonicscrewdriver (version 0.0.7)

convert2Kelvin: Convert temperature to Kelvin

Description

Converts temperature measurements into Kelvin

Usage

convert2Kelvin(temp, input = "C")

Value

Numeric value in Kelvin

Arguments

temp

The value of the temperature to convert

input

The unit of the temperature to convert, allowed values are "C", "F".

Examples

Run this code
convert2Kelvin(15, input="C")
convert2Kelvin(15, input="F")

Run the code above in your browser using DataLab