head {raster} | R Documentation |
Show the head (first rows/columns) or tail (last rows/columns) of the cell values of a Raster* object.
head(x, ...)
tail(x, ...)
x |
Raster* object |
... |
Additional arguments: |
matrix
r <- raster(nrow=25, ncol=25)
values(r) = 1:ncell(r)
head(r)
tail(r, cols=10, rows=5)