This is an S3 method for dplyr::mutate that ensures planktonr_dat attributes are preserved when adding or modifying columns.

# S3 method for class 'planktonr_dat'
mutate(.data, ..., .before = NULL, .after = NULL, .keep = "all", .width = NULL)

Arguments

.data

A planktonr_dat object.

...

<data-masking> Name-value pairs of expressions.

.before, .after, .keep, .width

Control the placement and selection of columns. See dplyr::mutate() for details.

Value

A planktonr_dat object with modified or new columns, preserving original attributes.