grow: Add trees to an ensemble

Description Usage Arguments Value Note Author(s) See Also Examples

Description

Add additional trees to an existing ensemble of trees.

Usage

1
2
## S3 method for class 'snpRF'
grow(x, how.many, ...)

Arguments

x

an object of class snpRF, which contains a forest component.

how.many

number of trees to add to the snpRF object.

...

currently ignored.

Value

An object of class snpRF, containing how.many additional trees.

Note

The confusion, err.rate, mse and rsq components (as well as the corresponding components in the test component, if exist) of the combined object will be NULL.

Author(s)

Andy Liaw, with slight modifications for use with snpRF by Greg Jenkins

See Also

combine, snpRF

Examples

1
2
3
4
5
6
data(snpRFexample)
eg.rf <- snpRF(x.autosome=autosome.snps,x.xchrom=xchrom.snps,
               xchrom.names=xchrom.snps.names,x.covar=covariates, 
               y=phenotype,ntree=50, norm.votes=FALSE)
eg.rf <- grow(eg.rf, 50)
print(eg.rf)

snpRF documentation built on May 2, 2019, 6:51 a.m.

Related to grow in snpRF...