rocky_tsplot | R Documentation |
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")
data |
Either rocky_data or rocky_counts. |
nms |
The National Marine Sanctuary code, e.g. "CINMS", from sanctuaries. |
sp_code |
The species code of interest as referenced in rocky_data or rocky_counts and described in rocky_species. |
sp_name |
The species name used in the title of the plot. |
sp_filter |
The filter value to apply for rocky_cover the |
This function returns a dygraph object of the plotted time series data.
## Not run:
rocky_tsplot(rocky_cover, "OCNMS", "CHTBAL", "Acorn Barnacles")
rocky_tsplot(rocky_cover, "CINMS", "CHTBAL", "Acorn Barnacles")
rocky_tsplot(rocky_counts, "OCNMS", "PISOCH", "Ochre Seastar")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.