Learn R Programming

HTT (version 0.1.2)

print.htt: Print a Fitted htt Object

Description

This function prints a htt.object. It is a method for the generic function print of class htt. It can be invoked by calling print for an object of the appropriate class, or directly by calling print.htt regardless of the class of the object.

Usage

# S3 method for htt
print(x, ...)

Value

Visualize the hypothesis testing tree in a semi-graphical layout.

Arguments

x

fitted model object of class htt returned by the HTT function.

...

additional print arguments.

Details

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 rule, size and p-value. For the "class" method, the class probabilities are also printed.

See Also

htt.object, printsplit

Examples

Run this code
irishtt = HTT(Species ~., data = iris)
print(irishtt)

Run the code above in your browser using DataLab