treesize | R Documentation |
Size of trees (number of nodes) in and ensemble.
treesize(x, terminal=TRUE)
x |
an object of class |
terminal |
count terminal nodes only ( |
A vector containing number of nodes for the trees in the
RRF
object.
The RRF
object must contain the forest
component; i.e., created with RRF(...,
keep.forest=TRUE)
.
Andy Liaw andy_liaw@merck.com
RRF
data(iris) iris.rf <- RRF(Species ~ ., iris) hist(treesize(iris.rf))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.