#' E = mc^2
#'
#' @param mass a numeric value indicating the mass in kilograms
#' @param speed_of_light a numeric value indicating the speed of light in meters per second
#'
#' @return
#' @export
#'
#' @examples
einstein <- function(mass, speed_of_light) {
E = mass * speed_of_light ^ 2
return(E)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.