This function converts temperature from Fahrenheit to Celsius.

fahrenheit_to_celsius(fahrenheit)

Arguments

fahrenheit

A numeric value representing the temperature in Fahrenheit.

Value

A numeric value representing the temperature in Celsius.

Examples

fahrenheit_to_celsius(32) # Should return 0
#> [1] 0
fahrenheit_to_celsius(212) # Should return 100
#> [1] 100