join.cubt {cubt} | R Documentation |
For each couple of leaves in a tree computes the gain of unifying them and join the couples who worth the best to be joint. The criterion used is the same as the one used to construct the tree (split the nodes)
join.cubt(obj,Don,pas= NULL,nclass=4,verb=FALSE,crit0="anova")
obj |
A cubt tree object. |
Don |
Data used to construct the tree |
pas |
Number of iterations done for the joining process. If not specified it equals the number of leaves. |
nclass |
Number of classes desired. |
verb |
Verbose. |
crit0 |
Criterion used for joining, either "anova" either "entropy". |
A cubt tree where within each leaf the cluster number is given and not the number of observations.
Badih Ghattas