#' Hinge function
#'
#' \eqn{\mathrm{hinge}(t) = \max(t,0)}
#' @param t Numeric. Input variable
#' @examples
#' \dontrun{
#' hinge(1)
#' hinge(-1)
#' }
hinge <- function(t) max(t, 0)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.