Skip to contents

This function creates dotty plots for simulated yields, comparing them with observed yields (if available).

Usage

plot_dotty_yields(sim_result, yield = NULL, yield_min = NULL, yield_max = NULL)

Arguments

sim_result

The simulation results containing yield data.

yield

(optional) The mean yield values for each crop. Default yield = NULL.

yield_min

(optional) The minimum observed yield values for each crop. Default yield_min = NULL

yield_max

(optional) The maximum observed yield values for each crop. Default yield_max = NULL

Value

A combined ggplot object showing dottty plots for 4 parameters.

Examples

if (FALSE) {
plot_phu_yld_bms(ylds_phu_dmat, dmat_chg, yield_mean, yield_min, yield_max)
}