convert_temp | R Documentation |
Converts a given set of temperature values from one unit to another
convert_temp(value = NULL, from = NULL, to = NULL)
value |
(numeric) temperature values to convert |
from |
(character) starting units of the value, not case sensitive. |
to |
(character) units to which to convert, not case sensitive. |
(numeric) converted temperature values
# Convert from Fahrenheit to Celsius
convert_temp(value = 32, from = "Fahrenheit", to = "c")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.