Here\'s my data frame:
2010 2011 2012 2013 2014 2015 A 0 100 164 75 154 110 B 71 77 136
There is a function for this, matplot. Try
matplot
matplot(yourData, type="l")