summary.itree {itree} | R Documentation |
Returns a detailed listing of a fitted itree
object.
Same code and returned value as rpart
but with additional
info regarding penalties and any new parameters specific to itree
objects.
## S3 method for class 'itree' summary(object, cp=0, digits=getOption("digits"), file, ...)
object |
fitted model object of class |
digits |
Number of significant digits to be used in the result. |
cp |
trim nodes with a complexity of less than |
file |
write the output to a given file name. (Full listings of a tree are often quite long). |
... |
arguments to be passed to or from other methods. |
This function is a method for the generic function summary for class
"itree"
. It can be invoked by calling summary
for an object of the appropriate class, or directly by calling
summary.itree
regardless of the class of the object.
summary
, itree.object
, printcp
.
#rpart's example: z.auto <- itree(Mileage ~ Weight, car.test.frame) summary(z.auto)