Description Usage Arguments Details Side Effects See Also Examples
Generates a PostScript presentation plot of an causalTree
object.
1 2 3 4 5 6 7 |
tree |
fitted model object of class |
title. |
a title which appears at the top of the plot. By default, the
name of the |
filename |
ASCII file to contain the output. By default, the name of the file is
the name of the object given by |
digits |
number of significant digits to include in numerical data. |
pretty |
an integer denoting the extent to which factor levels will be
abbreviated in the character strings defining the splits;
(0) signifies no abbreviation of levels. A |
use.n |
Logical. If |
horizontal |
Logical. If |
... |
other arguments to the |
The plot created uses the functions plot.causalTree
and text.causalTree
(with
the fancy
option). The settings were chosen because they looked
good to us, but other options may be better, depending on the causalTree
object.
Users are encouraged to write their own function containing favorite
options.
a plot of causalTree
is created using the postscript
driver, or
the current device if filename = ""
.
plot.causalTree
, causalTree
, text.causalTree
, abbreviate
1 2 3 4 5 6 7 | z.auto <- causalTree(Mileage ~ Weight, car.test.frame)
post(z.auto, file = "") # display tree on active device
# now construct postscript version on file "pretty.ps"
# with no title
post(z.auto, file = "pretty.ps", title = " ")
z.hp <- causalTree(Mileage ~ Weight + HP, car.test.frame)
post(z.hp)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.