This function generates boxplots to visualize Plant Heat Units (PHU) fractions, yields, and biomass over changes in days to maturity.
Arguments
- sim_result
The simulation results containing PHU, yield, and biomass data.
- yield_obs
(optional) A data frame with observed minimum, maximum, and mean yield values for each crop. Default is
NULL. No data is provided. If provided, the data frame should contain the following columns:plant_name,yield_min,yield_max, andyield_mean.- bar_width
(optional) Value from 0 to 1 controls the width of the box in the boxplot. Default
bar_width = 0.5.
