R/conversions.R

Defines functions F_to_C

Documented in F_to_C

# conversions

#' Convert from Farenheit to Celsius
#'
#' This function converts temperatures from degrees Farenheit to degrees
#' Celsius.
#'
#' @param degree A numeric, the temperature in degrees Farenheit
#'
#' @return A numeric, the temperature in degrees Celsius
#' @export
F_to_C <- function(degree) {
    (degree - 32) * 5/9
}
bgulbis/icuriskr documentation built on June 18, 2022, 1:33 a.m.