#' Convert degrees to radians.
#'
#' @export deg2rad
#'
#' @param deg vector of degrees to be converted to radians.
#'
deg2rad <- function(deg) {
radians <- deg * pi / 180
return(radians)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.