Description Usage Arguments Value Examples
Function which uses VT.tree intern functions. Package 
rpart.plot must be loaded. See VT.tree for details.
| 1 2 | vt.subgroups(vt.trees, only.leaf = T, only.fav = T, tables = F,
  verbose = F, compete = F)
 | 
| vt.trees | 
 | 
| only.leaf | logical to select only leaf of trees. TRUE is default. | 
| only.fav | logical select only favorable subgroups (meaning with favorable label of the tree). TRUE is default. | 
| tables | set to TRUE if tables of incidence must be shown. FALSE is default. | 
| verbose | print infos during computation. FALSE is default. | 
| compete | print competitors rules thanks to competitors computation of the tree | 
data.frame of rules
| 1 2 3 4 5 6 7 8 9 10 | data(sepsis)
vt.o <- vt.data(sepsis, "survival", "THERAPY", TRUE)
# inside model :
vt.f <- vt.forest("one", vt.o)
# use classification tree
vt.tr <- vt.tree("class", vt.f, threshold = c(0.01, 0.05))
# show subgroups
subgroups <- vt.subgroups(vt.tr)
# change options you'll be surprised !
subgroups <- vt.subgroups(vt.tr, verbose = TRUE, tables = TRUE)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.