This is an S3 method for dplyr::summarise that ensures planktonr_dat attributes are preserved during summarisation.

# S3 method for class 'planktonr_dat'
summarise(.data, ..., .by = NULL, .groups = "drop")

Arguments

.data

A planktonr_dat object.

...

<data-masking> Name-value pairs of summary statistics.

.by

<tidy-select> Optional grouping variables.

.groups

Control the grouping structure of the result.

Value

A planktonr_dat object with summarised data, preserving original attributes. The grouping structure depends on .groups.