#' \code{substitute} equivalent, but an expression parameter is passed as a variable
#'
#' @param var
#' an expression variable
#' @param env
#' substitution rule
substitute.variable <- function(var, env) {
eval(substitute(substitute(expr, env), list(expr=var)))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.