See the "replace" argument in ?randomForest. Andy
> -----Original Message----- > From: r-help-boun...@r-project.org > [mailto:r-help-boun...@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@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}} ______________________________________________ R-help@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.