plot_change.RdPrints a graph of cover change.
plot_change(csv, year1, year2, title = "cover_change.png", heading = "% Cover Change", leg_pos = "topleft", y_lab = "No. of Sample Sites with Cover Change of X")
| csv | is a csv with cols (id, year, type, results(1:50)) |
|---|---|
| year1 | is a number matching csv$year |
| year2 | is a number matching csv$year |
| title | is the character vector to name the output file (png) |
| heading | is the character vector used as the main title of the plot |
| leg_pos | is the legend position argument (character) |
| y_lab | is the label for the y axis (character) |
prints a graph of mean cover change into the working directory