arbor object.
post.arbor(tree, title,
filename=paste(deparse(substitute(tree)), ".ps", sep = ""),
digits= .Options$digits -3, pretty=T,
use.n=T, horizontal=T, ...)
arbor. This is assumed to be the result
of some function that produces an object with the same named
components as that returned by the
arbor function.
arbor endpoint is printed out.
arbor (with the suffix
.ps added). If
filename = "", the plot appears on the current graphical device.
NULL signifies using
elements of letters to represent the different factor levels. The
default (
T) indicates the maximum possible abbreviation.
TRUE (default), adds to label
(#events level1/ #events level2/etc. for method
class,
n for
method
anova, and # events/n for methods
poisson and
exp).
TRUE (default), plot is horizontal. If
FALSE, plot
appears as landscape.
postscript function.
arbor is created using the
postscript driver.
The plot created uses the functions
plot.arbor and
text.arbor (with
the
fancy option). The settings were chosen because they looked
good to us, but other options may be better, depending on the
arbor
object.
Users are encouraged to write their own function containing favorite options.
z.auto <- arbor(Mileage ~ Weight, car.test.frame) post(z.auto, file="") # display tree on active device # Now construct postscript version on file "pretty" with no title post(z.auto, file="pretty", title=" ") z.hp <- arbor(Mileage ~ Weight + HP, car.test.frame) post(z.hp) files.in.dir()