title: R getting the minimum value for each row in a matrix, and returning the row and column name
body: <p>I have a matrix like so:</p>
  
  <p><img src="https://i.stack.imgur.com/IOdQ9.png" alt="enter image description here"></p>
  
  <p>Only in reality it is hundreds or thousands of values.</p>
  
  <p>What I need to do is return the minimum value for each row, along with the row/col name.</p>
  
  <p>So for row 1 in the example, "BAC", the minimum is 0.92 for BAC/CSCO, so I need to return something like:</p>
  
  <p>BAC/CSCO 0.92</p>
  
  <p>And then repeat this for each row in the matrix.</p>
  
  <p>Assistance is greatly appreciated.  I think apply is the trick, but I can't quite get the right combination.</p>