R/celstofahr.r

Defines functions c2f

Documented in c2f

#' c2f
#'
#' Convert celsius to fahrenheit.
#'
#' @param x A vector of temperature values in celsius
#' @return A vector of fahrenheit values
#'
#' @export
#'
#'
#'

c2f <- function(x) {
  F = (x * 9/5) + 32
  return(F)
}
catarfish/testfunctions documentation built on April 14, 2022, 10:36 a.m.