Plot a single run's SOC trajectory
PLOT_ROTHC_RES.RdDraws the SOC stock over time for one treatment, either from an
already-loaded ROTH_C() result list or from a previously exported
res_year_results.csv/res_month_results.csv file.
Usage
PLOT_ROTHC_RES(
res.file = NULL,
res = NULL,
step = "years",
my.run = "my run",
my.caption = "my caption"
)Arguments
- res.file
Path to a
res_year_results.csv/res_month_results.csvfile (as written byEXPORT_ROTHC_RES()). If supplied,resandstepare ignored for the file-vs-object choice (data is read from the file, at whatever yearly/monthly granularity it contains).- res
A single
ROTH_C()result list (e.g.l.res[[id]]$res), used whenres.fileisNULL.- step
"years"or"months"– which element ofres(output_years/output_months) to plot; ignored whenres.fileis supplied.- my.run, my.caption
Strings used as the plot subtitle/caption.