# Shorter version to extract a parameter from the call. Makes the
# probing more compact, and if the value is not specified, returns
# the default.
callget <- function(call, env, param, default) {
if (is.null(call[[param]])) {
return(default)
}
return(eval(call[[param]], env))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.