#' Calculate Simple Interest
#'
#' @param p numeric
#' @param r numeric
#' @param t numeric
#'
#' @return numeric
#' @export
#'
#' @examples
#' simple_interest(5000,0.08,5/12) #366.67
simple_interest <- function(p, r, t) {
p*r*t/100
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.