Skip to contents

ann_rep_grp1_s takes an export filepath, data, surface and bottom plot colours and produces panel plots and tables for group 1 metrics.

Usage

ann_rep_grp1_s(outpath, data, surface, bottom)

Arguments

outpath

filepath to desired export location.

data

the data object created from running `swan_WIN_report_data`.

surface

colour for surface plots. Can be named colour or hex format.

bottom

colour for bottom plots. Can be named colour or hex format.

Value

a separate panel plot for each metric and a csv of metrics for inclusion to a table.

Details

Group 1 metrics are a grouping based on a common collection method, sample type and display parameters and in this case includes, total nitrogen, ammonia nitrogen, total oxidised nitrogen, dissolved organic nitrogen, total phosphorous, filterable reactive phosphorous and silica. Outputs will be exported to two folders at the outpath location. `s_panels/` for plots and `s_tables/` for data tables. These will need to be created if they don't exist.

Author

Bart Huntley, bart.huntley@dbca.wa.gov.au

For more details see https://dbca-wa.github.io/rivRmon/index.html the rivRmon website

Examples

if (FALSE) { # \dontrun{
ann_rep_grp1_s(outpath, data, surface = "blue", bottom = "red")} # }