#' @export
rectFun = function(x,a,b,z){
result = z * (Heaviside(x = x,
x0 = a) - Heaviside(x = x,
x0 = b))
return(result)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.