Usage: |
{outvariables,outtext} = streeoutput(nnd,spv,spvl,dt,ncases,median,catg,vartovar)
|
Input: |
| nnd | scalar; number of nodes
|
| spv | (40x1) vector; split variable in the corresponding node
|
| spvl | (40x1) vector; split value in the corresponding node
|
| dt | (40x1) vector; daughter nodes
|
| ncases | (40x1) vector; number of cases in each node
|
| median | (40x1) vector; median values in the nodes
|
| catg | vector; types of categories
|
| vartovar | vector
|
Output: |
| outvariables | (n x 7) matrix of the output variables for stree |
| outtext | string vector with the comments on the output |