Plot Time Series of Coral Cover by Group and Depth
plot_group.RdPlot Coral Cover Time Series by Group
Details
Generates a faceted time‐series plot of coral cover (%) for a given subset of the dataset. The plot shows temporal dynamics across sites, grouped by machine classification (e.g., HCC, SC, MA) and survey depth. A dynamic colour palette is used so that site colours adjust automatically to the number of unique sites present in the data slice.
This function:
creates a dynamic site-level colour palette using
scales::hue_pal()plots coral cover time series at the site level
facets results across reefs for visual comparison
automatically labels panels with depth and classification group