Skip to contents

Process contaminant parameters

Usage

process_contaminant_params(contaminant_params)

Arguments

contaminant_params

Raw contaminant parameters

Value

A list containing all elements of contaminant_params. For CONTEQ 3 (Arnot and Gobas 2004), three additional elements are computed when not already present: gill_efficiency (dimensionless), fish_water_partition (dimensionless), and dissolved_fraction (dimensionless). For CONTEQ 1 and 2 the list is returned after validation unchanged.

Examples

process_contaminant_params(list(
  CONTEQ = 1,
  prey_concentrations  = c(0.05, 0.08),
  transfer_efficiency  = c(0.80, 0.80)
))
#> $CONTEQ
#> [1] 1
#> 
#> $prey_concentrations
#> [1] 0.05 0.08
#> 
#> $transfer_efficiency
#> [1] 0.8 0.8
#>