print.htt: Print a Fitted htt Object

View source: R/print.R

print.httR Documentation

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 class 'htt'
print(x, ...)

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.

Value

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

See Also

htt.object, printsplit

Examples

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

HTT documentation built on March 31, 2023, 5:40 p.m.