renderArgs <-
function # ^ Render args of a 'FunctionDoc'
(
args # ^ Named list with function arguments
)
{
renderArg <- function(name,desc) sprintf("\t\\item{%s}{%s}", name, desc)
paste(
sapply(names(args), function(nm) renderArg(nm, args[[nm]]))
,collapse = "\n")
} # ^ String to fill in template
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.