Description Usage Arguments Details Value Examples
the rules for the tree. Add an extra rule. For example, if the left branch rule is X in (a,b,c) and the right branch rule is X in (e,f), the right branch rule is modified by X not in (a,b,c). The extreme right branch rule is replaced by the negation of any of the other branches, for each node.
1 |
x |
same format than output of partykit::ctree |
i |
(default: NULL) |
Adapted from partykit:::.list.rules.party
for each terminal node of the tree, give the definition. For example: node 11 corresponds to 'x>1 and y in ("a","b")'
1 2 | x=partykit::ctree(Petal.Width~.,iris)
daniRules(x)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.