powered by
Size of trees (number of nodes) in and ensemble.
treesize(x, terminal=TRUE)
an object of class RRF, which contains a forest component.
RRF
forest
count terminal nodes only (TRUE) or all nodes (FALSE
TRUE
FALSE
A vector containing number of nodes for the trees in the RRF object.
# NOT RUN { data(iris) iris.rf <- RRF(Species ~ ., iris) hist(treesize(iris.rf)) # }
Run the code above in your browser using DataLab