print.single.tree {TWIX}R Documentation

Print tree from single.tree object.

Description

This is a method for the generic print() function for objects generating by the function get.tree.

Usage

## S3 method for class 'single.tree':
print(x, klimt=FALSE, Data=NULL, file="FromR.tree", ...)

Arguments

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.

References

Urbanek Simon (2002). KLIMT - A COSADA Software Project.
http://rosuda.org/KLIMT

See Also

get.tree, TWIX

Examples

    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)

[Package TWIX version 0.2.6 Index]