Convert factor to number with this command correct : <p>Im trying to convert the following factor to number in RStudio, can I use this commands?</p>

<p><code>NewFactor &lt;- factor(c(31, 764, 9.6, 513, 125.344, 3131.657, 9853));as.numeric(NewFactor)</code></p>
