title: Random forests: weighting individual observations when resampling
body: <p>I'm currently using a random forest on a nationally representative dataset with probability weights incorporated for each observation, with the hope that I can use these weights in the bootstrapping process.</p>
  
  <p>I'm primarily an R user using the randomForest package, and after some investigation I've found that while you can weight particular classes, there doesn't seem to be a means to weight particular observations (see the comments of the first answer found <a href="https://stats.stackexchange.com/questions/83104/weighting-more-recent-data-in-random-forest-model/91906#91906">here</a>).</p>
  
  <p>Implementing scikit's random forest in python, on the other hand, has a sample_weight argument that looks to weight observations in the way I need.</p>
  
  <p>I'm just curious to know: <strong>is there a means to weight observations for random forests in R using existing R packages, or if I should move over to Python for this task?</strong></p>