|
Chapter Contents |
Previous |
Next |
| The TREE Procedure |
The options that can appear in the PROC TREE statement are summarized in the following table.
Table 57.1: PROC TREE Statement Options| Task | Options | Effect |
| Specify data sets | DATA= | specifies the input data set |
| DOCK= | does not count small clusters in OUT= data set | |
| LEVEL= | defines disjoint cluster in OUT= data set | |
| NCLUSTERS= | specifies the number of clusters in OUT= data set | |
| OUT= | specifies the output data set | |
| ROOT= | displays the root of a subtree | |
| Specify cluster heights | HEIGHT= | specifies the variable for the height axis |
| DISSIMILAR | specifies that large values are far apart | |
| SIMILAR | specifies that small values are close together | |
| Display horizontal trees | HORIZONTAL | specifies that the height axis is horizontal |
| Control sort order | DESCENDING | reverses SORT order |
| SORT | sorts children by HEIGHT variable | |
| Control displayed output | LIST | displays all nodes in the tree |
| NOPRINT | suppresses display of the tree | |
| LINEPRINTER | displays tree using line printer style graphics | |
| High resolution graphics | INC= | specifies the increment between tick values |
| MAXHEIGHT= | specifies the maximum value on axis | |
| MINHEIGHT= | specifies the minimum value on axis | |
| NTICK= | specifies the number of tick intervals | |
| CFRAME= | specifies the color of the frame | |
| DESCRIPTION= | specifies the catalog description | |
| GOUT= | specifies the catalog name | |
| HAXIS= | customizes horizontal axis | |
| HORDISPLAY= | displays a horizontal tree with leaves on the right | |
| HPAGES= | specifies the number of pages to expand tree horizontally | |
| LINES= | specifies the line color and thickness, dots at the nodes | |
| NAME= | specifies the name of graph in the catalog | |
| VAXIS= | customizes vertical axis | |
| VPAGES= | specifies the number of pages to expand tree vertically | |
| Line printer graphics | INC= | specifies the increment between tick values |
| MAXHEIGHT= | specifies the maximum value on axis | |
| MINHEIGHT= | specifies the minimum value on axis | |
| NTICK= | specifies the number of tick intervals | |
| PAGES= | specifies the number of pages | |
| POS= | specifies the number of column positions | |
| SPACES= | specifies the number of spaces between objects | |
| TICKPOS= | specifies the number of column positions between ticks | |
| FILLCHAR= | specifies the fill character between unjoined leaves | |
| JOINCHAR= | specifies the character to display between joined leaves | |
| LEAFCHAR= | specifies the character to represent clusters with no children | |
| TREECHAR= | specifies the character to represent clusters with children |
If neither the SIMILAR nor the DISSIMILAR option is specified, PROC TREE attempts to infer from the data whether the height values are similarities or dissimilarities. If PROC TREE cannot tell this from the data, it issues an error message and does not display a tree diagram.
See also the "HEIGHT Statement" section, which can specify any variable in the input data set to be used for the height axis. In rare cases, you may need to specify either the DISSIMILAR option or the SIMILAR option.
The NCLUSTERS= option uses the _NCL_ variable to determine the order in which the clusters are formed. If there is no _NCL_ variable, the height variable (as determined by the HEIGHT statement or HEIGHT= option) is used instead.
If neither the SIMILAR nor the DISSIMILAR option is specified, PROC TREE attempts to infer from the data whether the height values are similarities or dissimilarities. If PROC TREE cannot tell this from the data, it issues an error message and does not display a tree diagram.
|
Chapter Contents |
Previous |
Next |
Top |
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.