trace.plot {TWIX}R Documentation

Trace plot

Description

A Trace plot shows the structure of the trees

Usage

trace.plot(obj, sq = 1, quality = NULL, 
                color.palette = topo.colors, alpha = 1) 

Arguments

obj formula of the form y ~ x1 + x2 + ..., where y must be a factor and x1,x2,... are numeric or factor.
sq an optional data frame containing the variables in the model.
quality the type of plot: barplot or lines.
color.palette the colors for lines or Bar's.
alpha the alpha transparency, a number in [0,1].

References

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

Urbanek, S. (2005). Following Traces of Lost Models.
Proc. of the joint Statistical Meetings 2005, Section on Statistical Graphics
Mira Digital Publishing.

See Also

plot.TWIX, TWIX, scree.plot

Examples

    data(olives)
    Tree1 <- TWIX(Region~.,data=olives[,1:9],topN=c(2,2),method="local")
    get.tree(Tree1)

    ### Trace plot of classification tree
    trace.plot(Tree1,sq=8)

    ### Trace plot of eight classification trees
    trace.plot(Tree1,sq=1:8)

[Package TWIX version 0.2.6 Index]