View source: R/rk.rkh.caption.R
rk.rkh.caption | R Documentation |
This function will create a caption node for settings sections in RKWard help files.
rk.rkh.caption(id, title = NULL, i18n = NULL)
id |
Either a character string (the |
title |
Character string, title to be displayed. If |
i18n |
Either a character string or a named list with the optional elements |
An object of class XiMpLe.node
.
rk.rkh.doc
,
rk.rkh.settings
and the Introduction to Writing Plugins for RKWard
# define a sample frame test.dropdown <- rk.XML.dropdown("mydrop", options=list("First Option"=c(val="val1"), "Second Option"=c(val="val2", chk=TRUE))) test.frame <- rk.XML.frame(test.dropdown, label="Some options") # create the caption test.caption <- rk.rkh.caption(test.frame) cat(pasteXML(test.caption))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.