I have data of species at 4 sites over several months. I have successfully created accumulation graphs using package vegan
in R but I would like to plot all 4 sites on one graph.
At first I had a data sheet with all sites and months but the when I plotted specaccum
the result was a curve of accumulation of all data regardless of site.
Because of this I split each site into a separate data sheet which I loaded into R. In each data sheet the first row is species names and each additional row below that is a month.
For example I loaded the data of one of my sites "FMR". Then I did the following:
FMR <-specaccum(FMRJ2F, "random")
plot(FMR)
I did the same for my other sites, PP
, DUX
, PM
. How can i put all 4 lines on one plot?