Skip to contents

Draws the spin-up carbon pools (stacked area, DPM/RPM/Bio/Hum/ IOM) and total SOC (line) against spin-up cycle, to visually check that ROTH_C_SPIN_UP() has converged and to see how the pool sizes build up to equilibrium.

Usage

f.plot.spinup(df.spin.up)

Arguments

df.spin.up

Per-cycle spin-up trace, i.e. the result of dplyr::bind_rows() over the list returned by ROTH_C_SPIN_UP(..., op.return = "list.all.values"). Expected columns: j (cycle index), k (month within cycle), test (convergence criterion), SOC, DPM, RPM, Bio, Hum, IOM.

Value

A ggplot object.

See also