
Summarise a pointwise + interval prediction against observations
Source:R/edaphos_metrics.R
edaphos_metrics_summary.RdConvenience wrapper returning a one-row data frame with RMSE, MAE, R2, bias, PICP and the interval score at the stated level. Used as the row-per-method aggregator in the case-study benchmark table.
Usage
edaphos_metrics_summary(
observed,
predicted,
lower = NULL,
upper = NULL,
interval = 0.95,
method = "unnamed"
)Arguments
- observed
Numeric vector.
- predicted
Numeric vector (point estimate).
- lower, upper
Optional numeric vectors with the interval bounds. When
NULLthe PICP and interval-score columns are returned asNA.- interval
Nominal coverage of
[lower, upper]; default 0.95.- method
Character label written into the
methodcolumn.