[R] bootstrapping
    David Winsemius 
    dwinsemius at comcast.net
       
    Sat Sep 11 15:57:56 CEST 2010
    
    
  
On Sep 11, 2010, at 9:50 AM, Gregory Ryslik wrote:
> 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.
?setdiff
?"%in%"
>
-- 
David Winsemius, MD
West Hartford, CT
    
    
More information about the R-help
mailing list