View source: R/rk.XML.snippets.R
rk.XML.snippets | R Documentation |
This function will create a snippets node for the document section,
with optional child nodes
<snippet>
and <include>
.
rk.XML.snippets(...)
... |
Objects of class |
An object of class XiMpLe.node
.
rk.XML.plugin
rk.XML.snippet
,
rk.XML.include
,
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 snippets section test.snippet <- rk.XML.snippet(test.formula) test.snippets <- rk.XML.snippets(test.snippet) cat(pasteXML(test.snippets))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.