View source: R/rk.XML.snippet.R
rk.XML.snippet | R Documentation |
This function will create a snippet node for snippets sections.
rk.XML.snippet(..., id.name = "auto")
... |
Objects of class |
id.name |
Character string, a unique ID for this plugin element.
If |
An object of class XiMpLe.node
.
rk.XML.snippets
,
and the Introduction to Writing Plugins for RKWard
# define a formula section with varselector and varslots test.formula <- rk.XML.vars("Variables", "Fixed", formula.dependent="Dependent") # define the snippet test.snippet <- rk.XML.snippet(test.formula) cat(pasteXML(test.snippet))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.