R/mytree.depth.R

mytree.depth <- function (nodes) 
{
    depth <- floor(log(nodes, base = 2) + 1e-07)
    depth - min(depth)
}

Try the StatMethRank package in your browser

Any scripts or data that you put into this service are public.

StatMethRank documentation built on Jan. 15, 2017, 8:59 p.m.