powered by
This function takes a water data frame defined by define_water and outputs an ion balance plot.
define_water
plot_ions(water)
A ggplot object displaying the water's ion balance.
Source water vector created by link function here
water_defined <- define_water(7, 20, 50, 100, 80, 10, 10, 10, 10, tot_po4 = 1) plot_ions(water_defined)
Run the code above in your browser using DataLab