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,
pretty=0,
spaces=2,
cp=0,
digits= .Options$digits - 3,
...) 

REQUIRED 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.

OPTIONAL ARGUMENTS:

pretty
a logical or NULL denoting the extent to which factor levels in split labels will be abbreviated. A value of FALSE signifies no abbreviation. A NULL signifies using elements of letters to represent the different factor levels.
spaces
the number of spaces to indent nodes of increasing depth.
digits
the number of digits of numbers to print.
cp
prune all nodes with a complexity less than cp from the printout.

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 "class" method, yprob is also printed.

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.

SEE ALSO:

, , ,

EXAMPLES:

z.auto <- arbor(Mileage ~ Weight,
car.test.frame) 
z.auto