trace.plot {TWIX} | R Documentation |
A Trace plot shows the structure of the trees
trace.plot(obj, sq = 1, quality = NULL, color.palette = topo.colors, alpha = 1)
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] . |
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.
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)