i have a variable that contains numbers as below:
[1] 76.19047619 71.42857143 70.37037037 78.72340426 94.54545455 86.53846154 80.58936579 57.77777778
[9] 96.00000000 89.79591837 81.25000000 100.00000000 92.00000000 61.53846154 96.42857143 88.88888889
when i bring this in R, they come as factors instead of numbers with the following message:
1577 Levels: #DIV/0! 0.00000000 0.05122951 0.05288207 0.06146281 0.13917884 0.26200873 0.26666667 ... 97.46376812
how can coerce them into numeric, i have tried as.integers
and as.numeric
but when i use that variable in computation, the results dont change. they are the same as when it is factors.
Thanks,