title: How to change matrix column type in R
body: <p>I have a matrix and I want to change the fifth column type from character into numeric but I can not. I have tried this:</p>
  
  <pre><code>test1[,5] &lt;- as.numeric(test1[,5])
  </code></pre>
  
  <p>but again the column class is character not numeric. What should I do?
  Thank you</p>