can I simplify this using a loop? I need to make over 50 of them and I am currently doing it manually (e.g., r, r1, r2, r3, r4 ...).
Is there a way I can do all 50 in a simpler code?
r <- raster(extent(-180, 180, -90, 90), ncols = 150, nrows = 80)
r1 <- raster(extent(-180, 180, -90, 90), ncols = 150, nrows = 80)
r2 <- raster(extent(-180, 180, -90, 90), ncols = 150, nrows = 80)