powered by
comp.freq(x, tree, p)
data(kidney) comp.freq(kidney$x, kidney$res$tree, kidney$res$p)
Run the code above in your browser using DataLab