#' Function for converting from degrees to radians
#' @param x Angle in degrees
#' @return Returns an angle in radians
#===============================================================================
#Helper functions for conversions between angles and radians
#===============================================================================
deg2rad <- function(x){return(x * pi / 180)}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.