Skip to contents

This function calculates concentrations based on simulated data, adjusting for specified parameters.

Usage

get_conc(sim, not_conc = "^flo_day|^gwd", sediment = "^sed_")

Arguments

sim

A simulation object containing the data.

not_conc

(optional) Regular expression pattern for variables that should not be considered for concentration calculation. Default not_conc = '^flo_day|^gwd'.

sediment

(optional) Regular expression pattern for sediment variables. Default sediment = '^sed_'.

Value

A modified simulation object with added concentration variables.

Examples

if (FALSE) {
# Example usage:
sim_data <- get_conc(sim_data)
}