crop(r, e) — cut to extent of any object; mask=TRUE clips to polygon
extend(r, e) — add (NA) rows/cols; trim(r) — drop outer NA margins
merge(r1, r2) — combine rasters, first has priority
mosaic(r1, r2, fun="mean") — combine, summarizing overlaps
aggregate(r, fact=10, fun="mean") — to coarser cells
disagg(r, fact=10, method="bilinear") — to finer cells
resample(r, template, method="bilinear") — transfer to another grid
project(r, "EPSG:3035") — reproject; use method="near" for categorical data; project(r, y) matches y's grid
shift(r, dx=1); flip(r, "vertical"); rotate(r); t(r)
align(ext(v), r) — snap an extent to r's grid
is.rotated(r); rectify(r) — fix a rotated raster
divide(r, n=4) — subdivide into parts
impose(sprc(r1, r2), r) — force a collection onto one grid