plot_ions: Create summary plot of ions from water class

View source: R/general.R

plot_ionsR Documentation

Create summary plot of ions from water class

Description

This function takes a water data frame defined by define_water and outputs an ion balance plot.

Usage

plot_ions(water)

Arguments

water

Source water vector created by link function here

Value

A ggplot object displaying the water's ion balance.

Examples

water <- define_water(7, 20, 50, 100, 20, 10, 10, 10, 10, tot_po4 = 1)
plot_ions(water)


tidywater documentation built on Aug. 8, 2025, 7:15 p.m.