excmas {denpro} | R Documentation |
Given a level set tree, calculates the excess mass for every node of the tree. The excess mass is the probability mass under the curve, over a given level, in a certain branch of the level set tree. For example, function "leafsfirst" returns a level set tree.
excmas(lst)
lst |
level set tree object; list of vectors which is the output of for example "leafsfirst", "profkern", "profhist", or "profgene" |
Vector whose length is equal to the number of nodes of the level set tree.
Jussi Klemela
set.seed(1) dendat<-matrix(rnorm(20),10) #10*2 data-matrix pcf<-pcf.kern(dendat,h=1,N=c(16,16)) lst<-leafsfirst(pcf) excmas(lst)