Skip to contents

Create Stiff plot

Usage

stiff_plot(
  d,
  ems_id = NULL,
  colour = TRUE,
  legend = TRUE,
  valid = TRUE,
  with_Alk = TRUE
)

Arguments

d

AquaChem formatted dataset

ems_id

Ids to plot if dataset includes more than one

colour

Whether to add colour by ems_id

legend

Whether to show the legend

valid

Logical. Keep only valid data (charge balances <=10)

with_Alk

Logical. Whether to use Meas_Alk_meq for HCO3_meq if missing. Default TRUE. Matches behaviour of water_type().