Adding more data (to Y axis) to a graph on ggplot

In the error "Year" does not start with an upper case y.

Error in interaction(Habitat, year) : object 'year' not found

Change the code to

interaction(Habitat, Year)

I got it to work thx! I'm now meant to do stats graphs but I have no idea how to use the code and we werent given any advise on what to do? Can u help?

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