fahrenheit_to_celsius <- function(temp_F) {
# Converts Fahrenheit to Celsius
temp_C <- (temp_F - 31) * 5 / 9
return(temp_C)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.