print.arbor
Print an Arbor Object

Description

This function prints an arbor object. It is a method for the generic function print of class arbor.

Usage

print.arbor(x, minlength = 0, spaces = 2, cp, 
    digits = getOption("digits") - 3, ...)

Arguments

x fitted model object of class 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.
minlength the minimum length for abbreviation of character or factor variables. See labels.arbor
spaces the number of spaces to indent nodes of increasing depth.
cp prune all nodes with a complexity less than cp from the printout.
digits the number of digits of numbers to print.

Details

This function is a method for the generic function print for class "arbor". It can be invoked by calling print for an object of the appropriate class, or directly by calling print.arbor regardless of the class of the object.
Side Effects
A semi-graphical layout of the contents of x\$frame is printed. Indentation is used to convey the tree topology. Information for each node includes the node number, split, size, deviance, and fitted value. For the classification "method = class", yprob is also printed.
See Also
print, arbor.object, summary.arbor, printcp
Examples
library("arbor")
data(car.test.frame, package = "Sdatasets")
z.auto <- arbor(Mileage ~ Weight, car.test.frame) 
z.auto 
Package arbor version 6.0.0-69
Package Index