StringToArgSingle <-
function (func.call, pass.arg, defstring = "")
{
string.arg.name <- deparse(substitute(pass.arg))
if (is.null(pass.arg) || is.na(pass.arg) || pass.arg == defstring)
arg <- NULL
else arg <- pass.arg
func.call[[string.arg.name]] <- arg
return(func.call)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.