I know similar questions have been asked before, however I cannot find a way to convert a factor to numeric without losing any of the decimals.
Here a brief example:
My vector looks like this:
january$pickup_latitude[1] = 40.751231
after doing:
as.numeric(as.character(january$pickup_latitude))
the result is:
january$pickup_latitude[1] = 40.75123
Is there any way in which I can preserve all the decimals even though each case has a different length?