[R] randomForest: sampling with replacement?

Liaw, Andy andy_liaw at merck.com
Mon May 10 14:19:23 CEST 2010


See the "replace" argument in ?randomForest.

Andy 

> -----Original Message-----
> From: r-help-bounces at r-project.org 
> [mailto:r-help-bounces at r-project.org] On Behalf Of Dimitri 
> Liakhovitski
> Sent: Friday, May 07, 2010 12:21 PM
> To: r-help
> Subject: [R] randomForest: sampling with replacement?
> 
> Hello!
> 
> I know that as trees are constructed, the root node contains 
> a bootstrap sample of data of the same size as original the data set.
> Would you please confirm that it is a bootstrap sample with 
> replacement?
> I think it is - just wanted to make sure.
> Thank you very much!
> 
> --
> Dimitri Liakhovitski
> Ninah.com
> 
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide 
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
> 
Notice:  This e-mail message, together with any attachme...{{dropped:11}}



More information about the R-help mailing list