Skip to contents

This function takes calibration and validation tables and produces a comparison boxplot for various metrics.

Usage

plot_calval_comparison(cal_tbl, val_tbl, indexes = NULL)

Arguments

cal_tbl

A data frame containing calibration performance results.

val_tbl

A data frame containing validation performance results.

indexes

(optional) An optional vector of metric names to filter and include in the comparison plot. Default indexes = NULL includes all metrics.

Value

A ggplot object representing the comparison between calibration and validation results for the specified metrics.

Examples

if (FALSE) {
plot_calval_comparison(obj_tbl_cal, obj_tbl_val, indexes = c("nse", "pbias"))
}