powered by
The function is a shorthand for converting factors to numeric
nc(x)
Returns supplied parameter as numeric
any factor to convert to numeric
num <- nc(test_df$power)
Run the code above in your browser using DataLab