I have a data frame that looks like this
TYPE YEAR
ARSON 2008
THEFT 2009
ARSON 2010
ASSAULT 2008
The data continue's with more types and the years are between 2008-2012. I am trying to create a ggplot2 graph that has the the years on the x, the count of the type on the y and muliple lines representing each type.
I've tried melting with multiple variables and couldn't figure it out