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
______________________________________________
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.

Reply via email to