print.imptree {imptree} | R Documentation |
Classification with Imprecise Probabilities
Description
Printing the imptree
object to console
Usage
## S3 method for class 'imptree'
print(x, digits = getOption("digits"), sep = "\t",
...)
Arguments
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 |
Details
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
.
Value
Returns the calling object invisible.
Author(s)
Paul Fink Paul.Fink@stat.uni-muenchen.de
See Also
Examples
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 ';'