Learn R Programming

vein (version 1.1.3)

celsius: Construction function for Celsius temperature

Description

celsius just add unit celsius to different R objects

Usage

celsius(x)

Value

Objects of class "data.frame" or "units"

Arguments

x

Object with class "data.frame", "matrix", "numeric" or "integer"

Examples

Run this code
{
a <- celsius(rnorm(100)*10)
plot(a)
b <- celsius(matrix(rnorm(100)*10, ncol = 10))
print(head(b))
}

Run the code above in your browser using DataLab