Creating Multiple Lines on a Graph

Hi, I'm hoping someone could help me with the code I need. I have three columns of data, one of tree species, one of stomatal density of leaves, and one of year in which the leaf was sampled. I want to plot the change in stomatal density over time, showing each species on a separate line but on the same graph. Is this possible and if so what is the relevant code? Thank you in advance for any help.

As a beginner to R you may benefit from studying this useful book.

It has an excellent chapter on visualisation/graphing you could study

Thank you very much for your help, it was very useful.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.