print.imptree {imptree} | R Documentation |
Printing the imptree
object to console
## S3 method for class 'imptree' print(x, digits = getOption("digits"), sep = "\t", ...)
x |
Object of class |
digits |
a non-null value for digits specifies the minimum number
of significant digits to be printed in values. The default uses
|
sep |
Separator between the displayed IPDistribution objects.
(Default: |
... |
Additional arguments; ignored at the moment |
An existence check on the stored C++ object reference is carried out
at first. If the reference is not valid the original call
for "object"
is printed as error.
For a more detailed summary of the tree summary.imptree
.
Returns the calling object invisible.
Paul Fink Paul.Fink@stat.uni-muenchen.de
data("carEvaluation") ## create a tree with IDM (s=1) to full size ## carEvaluation, leaving the first 10 observations out ip <- imptree(acceptance~., data = carEvaluation[-(1:10),], method="IDM", method.param = list(splitmetric = "globalmax", s = 1), control = list(depth = NULL, minbucket = 1)) ip ## standard printing; same as 'print(ip)' print(ip, sep = ";") ## probability intervals are separated by ';'