Convolves with a 3x3 mean kernel with weights of 1

reduce_spatial_noise(raster_list, .NAonly = FALSE)

Arguments

raster_list

a list of stars or RasterStack objects

.NAonly

logical. If TRUE, only cell values that are NA are replaced with the computed focal values

Value

a list of stars or RasterStack objects