This function summarizes cross-validation scores for different spatial models obtained
from assess_pp.
# S3 method for RiskMap.spatial.cv
summary(object, view_all = TRUE, ...)A matrix of summary scores with models as rows and metrics as columns, with class `"summary.RiskMap.spatial.cv"`.
A `RiskMap.spatial.cv` object containing cross-validation scores for each
model, as obtained from assess_pp.
Logical. If `TRUE`, stores the average scores across test sets for each model alongside the overall average across all models. Defaults to `TRUE`.
Additional arguments passed to or from other methods.
Emanuele Giorgi e.giorgi@lancaster.ac.uk
The function computes and returns a matrix where rows correspond to models and columns correspond to performance metrics (e.g., CRPS, SCRPS). Scores are weighted by subset sizes to compute averages. Attributes of the returned object include:
`test_set_means`: A list of average scores for each test set and model.
`overall_averages`: Overall averages for each metric across all models.
`view_all`: Indicates whether averages across test sets are available for visualization.
assess_pp