[R] bootstrapping

Gregory Ryslik rsaber at comcast.net
Sat Sep 11 15:50:30 CEST 2010


Hi Everyone,

I am implementing a special case of Random forests. At one point, I have a list of which I then sample for replacement. So if the list is 100 elements, I get 100 elements some of them duplicates. How can I easily get the elements that were not included in the list? I realize i can do this with a for loop by going through each element and checking if it's in the list but I am wondering if there is a faster way.


Thank you for your help!

Kind regards,
Greg


More information about the R-help mailing list