Description Usage Arguments Value Note Author(s) See Also Examples
Size of trees (number of nodes) in and ensemble.
1 |
x |
an object of class |
terminal |
count terminal nodes only ( |
A vector containing number of nodes for the trees in the
snpRF
object.
The snpRF
object must contain the forest
component; i.e., created with snpRF(...,keep.forest=TRUE)
.
Andy Liaw, with slight modifcations for use with snpRF by Greg Jenkins
1 2 3 4 5 | data(snpRFexample)
eg.rf <- snpRF(x.autosome=autosome.snps,x.xchrom=xchrom.snps,
xchrom.names=xchrom.snps.names,x.covar=covariates,
y=phenotype)
hist(treesize(eg.rf))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.