title: How to get a matrix element without the column name in R?
body: <p>This seems to be simple but I can't find the answer.
  I combine two vectors using cbind(). </p>
  
  <pre><code>&gt; first = c(1:5)
  &gt; second = c(6:10)
  &gt; values = cbind(first,second)
  </code></pre>
  
  <p>When I want to retrieve a single element using values[1,2] I always get the column name in addition to the actual element.</p>
  
  <pre><code>&gt; values[1,2]
  
  second
  6
  </code></pre>
  
  <p>How can I get the value without the column name?</p>
  
  <p>I know I can remove the column names in the matrix like in this post: <a href="https://stackoverflow.com/questions/32658793/how-to-remove-column-names-from-a-matrix-in-r">How to remove column names from a matrix in R?</a> But how can I leave the matrix as is and only get the value I want?</p>