View source: R/rk.XML.formula.R
rk.XML.formula | R Documentation |
If fixed
or dependent
are objects of class XiMpLe.node
,
their id
will be extracted and used.
rk.XML.formula(fixed, dependent, id.name = "auto", label = "Specify model")
fixed |
The |
dependent |
The |
id.name |
Character string, a unique ID for this plugin element.
If |
label |
Character string, a text label for this plugin element. |
An object of class XiMpLe.node
.
rk.XML.varselector
,
rk.XML.varslot
,
rk.XML.vars
(a wrapper, including formula),
and the Introduction to Writing Plugins for RKWard
test.varselector <- rk.XML.varselector("Select some vars") test.varslot1 <- rk.XML.varslot("Fixed factors", source=test.varselector) test.varslot2 <- rk.XML.varslot("Dependent variables", source=test.varselector) test.formula <- rk.XML.formula(fixed=test.varslot1, dependent=test.varslot2) cat(pasteXML(test.formula))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.