Here is my data:
1999 2002 2005 2008
NON-ROAD 522.940 240.8469 248.9337 55.82356
NONPOINT 2107.625 1509.5000 1509.5000 1373.20731
ON-ROAD 346.820 134.3088 130.4304 88.27546
POINT 296.795 569.2600 1202.4900 344.97518
It's of type data.frame. What I would like to do is use the reshape package to make it look like this:
year type Emissions
1999 ON-Road 346.820
1999 NON-Road 522.940
This is a part of a homework assignment in which I have to use the ggplot package to create a plot that uses the years as the x axis and the emissions data as my y axis and the rownames as different colors or maybe facets depending on which looks better. The assignment is to actually create the plot so I don't feel to bad about asking for help to get the data in a way I can actually use it.