[R] create line chart from data.frame

Mat matthias.weber at fnt.de
Wed May 21 10:20:52 CEST 2014


Hello together,

i want to create a line graph, from a data.frame like this one:
          Categorie      Y10_11   Y11_12    Y12_13      Y13_14
A        Service              1           2           3               4
B        Support             2           5            5               0
C        Telephone         1            3           1               10 
D        Online              10           12         6                8
E        Offline               8            7          0                2
F        Hotline              15          18         7                3

Is there any way, to create a line chart, with the years (Y10_11, etc.) in
the X-axis and the Categorie in the Y-axis. The lines should be created with
the numbers for each categorie. So in each plot there should be 6 lines in
dependence of the value for each year.

Thank you.

Best regards.

Mat



--
View this message in context: http://r.789695.n4.nabble.com/create-line-chart-from-data-frame-tp4690953.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list