Can I crop a raster to the extent of a single patch after using clump function?
Example:
r <- raster(ncols=12, nrows=12) set.seed(0) values(r) <-