Here's the sample of what I'm trying to do:
Code Amount
001 78,382
001 89,768
007 56,621
006 52,921
002 38,922
006 36,889
006 87,373
I want to group the data set by code, then add up the amount. However R is reading the Amount values as a factor rather than numeric. I have over 3,000 rows with 5 values