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: hazreg
See also: grstree stree

Quantlet: grstreebox
Description: auxiliary quantlet for grstree - generates the boxes in the survival tree

Usage: {data,text} = grstreebox(x,y,l,ncas,medi,deat,left,col,fontsize)
Input:
x vector; coordinates of the boxes (terminal nodes) for the graph. Specifically, reference points are in the center of the upper edge of the box (12 o'clock), i.e., x contains x-coordinates of centers in the boxes.
y vector; coordinates of the boxes for the graph. Specifically, each row is the y coordinate of the upper edge of a box (12 o'clock).
l scalar; lenght of the edge of the box
ncas vector; number of cases in each (terminal) node
medi vector; median values
deat vector; death categories
left vector; indices of the nodes being left daughter nodes - used for adjusting the text
col (2x1) vector; col[1] is the color of the boxes and col[2] color of their descriptions
fontsize scalar; size of the used font
Output:
data composed graphical object of the boxes
text composed graphical object of the description




Author: K. Komorad, W. Haerdle, 20020322 license MD*Tech
(C) MD*TECH Method and Data Technologies, 05.02.2006