| print.single.tree {TWIX} | R Documentation |
This is a method for the generic print() function for objects
generating by the function get.tree.
## S3 method for class 'single.tree': print(x, klimt=FALSE, Data=NULL, file="FromR.tree", ...)
x |
an object of class single.tree. |
klimt |
logical. If TRUE, Klimt will be started with
the tree baum und dataset Data. |
Data |
a data frame. It can be test or training data. This parameter is ignored if klimt == "FALSE". |
file |
a character string naming a file. |
... |
further arguments passed to or from other methods. |
Urbanek Simon (2002). KLIMT - A COSADA Software Project.
http://rosuda.org/KLIMT
data(olives)
Tree <- TWIX(Area~.,data=olives,topN=c(2,2),method="local")
Tree <- get.tree(Tree,n=1)
Tree
### for further analysis in KLIMT
print(Tree,klimt=TRUE,Data=olives)