Description Usage Arguments Value Examples
Convert temperature
1 | temp_convert(tp, to = c("f2c", "c2f", "f2k", "c2k", "k2c", "k2f"))
|
tp |
a vector temperature |
to |
type to be converted. f2c: Fahrenheit to Celsius; c2f: Celsius to Fahrenheit; f2k: Fahrenheit to Kelvin; k2f: Kelvin to Fahrenheit; c2f: Celsius to Kelvin and k2c: Kelvin to Celsius |
a vector temperature
1 2 | dd = data.frame(t = c(23, 24, 25, 25))
temp_convert(dd, "c2f")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.