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