#' @title Radians
#' @description Converts from degrees to radians.
#' @param x Angle in degrees
#' @export
#' @return Angle in radians
#' @examples
#' rads(45)
#'
rads <- function (x){
x * pi / 180
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.