setClass("CodeTOC", representation(methods = "character",
classes = "character",
generics = "character",
functions = "character",
vars = "character"))
codeTOC =
function(..., .obj = new("CodeTOC"))
{
setSlots(list(...), .obj)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.