get.tree {TWIX}R Documentation

Methods for getting appointed trees from a multitree(TWIX).

Description

This function extracts a single tree from a TWIX object.

Usage

  get.tree(m.tr, n = 1, id = NULL) 

Arguments

m.tr an object of class TWIX generated by TWIX
n integer. Which tree must be extracted?
id a vector of integers. ID of the tree.

See Also

TWIX, predict.TWIX

Examples

data(olives)
#TreeFR<-TWIX(Area~.,data=olives,topN=c(2,1),method="local")
#TreeSG<-get.tree(TreeFR,n=1)
#TreeSG

[Package TWIX version 0.2.2 Index]