Keywords - Function groups - @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Library: xclust
See also: endpoint gform initialize cartsplit dispcarttree

Quantlet: printingList
Description: auxiliary quantlet for grcarttree Generates vectors of characters to be displayed. For the non-terminal nodes prints the splitting variable and the splitting point. The information is printed in the following form: "X1<=5.2", that is, variables are denoted with X1,...,Xp. For the terminal nodes the value of the estimate is printed, that is, the value stored at the vector smean.

Link:
Usage: y = printingList(tr,leafval)
Input:
tr list of vectors, data structure representing a binary tree, produced by quantlet cartsplit. It contains vectors tr.SplitValue, tr.Variable, tr.Class, tr.Impurity, tr.NumberOfPoints, tr.ParentNode See cartsplit for detailed description.
leafval vector, contains means, typically leafval==tr.mean
Output:
y list of three elements




Author: J. Klemelae, 19980323, R. Timofeev, A. Andriyashin 20050121 - rewriten for the purposes of Classification and Regression usage; license MD*Tech
(C) MD*TECH Method and Data Technologies, 05.02.2006