if (FALSE) {
# Assume 'result_list' is obtained from a previous calculation, containing
# multiple results to be converted to SpatRaster objects.
# 'raster_template' is a list of SpatRaster objects used as templates.
processed_results <- process_raster_result(out = result_list,
x = raster_template,
alpha = c(1, 2),
window = c(3, 5))
}
Run the code above in your browser using DataLab