Aggregates all raster files (`.tif` or `.jp2`) in a specified folder by the given factor and saves the resulting files in an output folder.
See also
Other transform raster functions:
compose_raster()
Examples
temp_dir <- tempdir()
input_dir <- system.file("extdata", "mdt", package = "sigugr")
result_files <- aggregate_rasters(input_dir, temp_dir, factor = 4)