title: R caret "besttune" for CV & repeatedCV
body: <p>I"m trying to understand how caret is coming to the decision it's making on the best-tuned model. I have looked through the documentation and I have not found (which could easily be my fault) a place to adjust how this decision is made. I'm using something similar to : </p>
  
  <pre><code>train(
      y~.,
      data=X,
      num.trees = 1000,
      method = "ranger",
      trControl = trainControl(
     method = "repeatedcv",
     number = 100,
     repeats = 100, verboseIter = T
   )
  
  </code></pre>
  
  <p>I'm trying to use Caret more often, and I'm sure there is a smart way it's making the decision.. I'm just trying to understand how and if I can adjust it. </p>