combine: Combine Ensembles of Trees

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

Description

Combine two or more more ensembles of trees into one.

Usage

1

Arguments

...

list of two or more objects of class snpRF, to be combined into one.

Value

An object of class snpRF.

Note

The confusion, err.rate, mse and rsq components (as well as the corresponding components in the test compnent, 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

snpRF, grow

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
data(snpRFexample)
rf1 <- snpRF(x.autosome=autosome.snps,x.xchrom=xchrom.snps,
             xchrom.names=xchrom.snps.names,x.covar=covariates, 
             y=phenotype,ntree=50, norm.votes=FALSE)
rf2 <- snpRF(x.autosome=autosome.snps,x.xchrom=xchrom.snps,
             xchrom.names=xchrom.snps.names,x.covar=covariates, 
             y=phenotype,ntree=50, norm.votes=FALSE)
rf3 <- snpRF(x.autosome=autosome.snps,x.xchrom=xchrom.snps,
             xchrom.names=xchrom.snps.names,x.covar=covariates, 
             y=phenotype,ntree=50, norm.votes=FALSE)

rf.all <- combine(rf1, rf2, rf3)
print(rf.all)

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

Related to combine in snpRF...