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 denvalues

Quantlet: volumes
Description: auxiliary quantlet for cartsplit, creates a vector of volumes: for each node of the tree "tr", calculates the volume of the rectangle corresponding to the node.

Link:
Usage: y = volumes(tr, dendat)
Output:
y n x 1 matrix

Example:
library("xclust") ; loads the library xclust
randomize(1)
dendat=uniform(10)~(uniform(10)+1)
regdat=dentoreg(dendat,4)
type=#(1,1)
tr=cartsplit(regdat.ind,regdat.dep,type)
ala=volumes(tr,dendat)
ala

Result:
n/a



Author: J. Klemelae, 19980323 license MD*Tech
(C) MD*TECH Method and Data Technologies, 05.02.2006