Skip to content

Graphic with several curves

2 messages · CE.KA, Jorge Ivan Velez

#
Hi R users,

Imagine the folowing data frame
      1990        1991       1992
1       5          20          6
2       15          1          11
3       3           14         22
4       20          8          55
5       10          3          14

Is there a way to build a graphic in which:
- 1 curve represents the observation 1 during 1990 & 1992
- 1 curve represents the observation 2 during 1990 & 1992
- 1 curve represents the observation 3 during 1990 & 1992
- 1 curve represents the observation 4 during 1990 & 1992
- 1 curve represents the observation 5 during 1990 & 1992

Sincerely yours