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. |
Usage: | y = volumes(tr, dendat) | |
Output: | ||
y | n x 1 matrix |
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
n/a