title: Locating minimum on table/output
body: <p><img src="https://i.stack.imgur.com/FCWXo.jpg" alt="table"></p>
  
  <p>(R studio)</p>
  
  <p>Basic question about how to go about finding the minimum of a value on a table.</p>
  
  <p>The table is longer than this (nsplit goes to 1532), which is why I'm looking for a search function.</p>
  
  <p>In the picture basically I'd like to find the minimum value of "xerror", and after that I'd like to find "nsplit" at the minimum of "xerror"</p>
  
  <p>I'd definitely appreciate any help.</p>