This function generates a plot of time series data collected by the Rocky Intertidal Monitoring program.
rocky_tsplot(data, nms, sp_code, sp_name, sp_filter = "ALL")
Either rocky_data or rocky_counts.
The National Marine Sanctuary code, e.g. "CINMS", from sanctuaries.
The species code of interest as referenced in rocky_data or rocky_counts and described in rocky_species.
The species name used in the title of the plot.
The filter value to apply for rocky_cover the sp_target
and for rocky_counts the sp_method
. Defaults to "ALL".
This function returns a dygraph object of the plotted time series data.
if (FALSE) {
rocky_tsplot(rocky_cover, "OCNMS", "CHTBAL", "Acorn Barnacles")
rocky_tsplot(rocky_cover, "CINMS", "CHTBAL", "Acorn Barnacles")
rocky_tsplot(rocky_counts, "OCNMS", "PISOCH", "Ochre Seastar")
}