powered by
this is a file for functions that are universally useful at common data manipulations Convert factor to numeric
factor2num(x)
factor
# NOT RUN { factor2num(factor(c('1', '10', '100'))) # }
Run the code above in your browser using DataLab