#' Convert Celsius degrees to Fahrenheit
#'
#' cel_to_fah is a function to convert Celsius degrees to Fahrenhit.
#' Insert temperature in Celsius degrees to get the value in Fahrenheit degrees.
#' For further information access:
#' https://github.com/marcelofukuoka/conversorR
#'
#' @param x of Celsius degrees is a numerical (double)
#'
#' @return Fahrenheit degrees as numerical (double)
#'
#' @export
#' @examples cel_to_fah(30)
cel_to_fah <- function(x){
fahrenheit = (x * 9/5) + 32
return(fahrenheit)
}
cel_to_fah(30)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.