Show the head or tail of a Spat* object
Show the head (first values) or tail (last values) of a SpatRaster or of the attributes of a SpatVector.
head(x, ...) tail(x, ...)
x |
SpatRaster or SpatVector |
... |
additional arguments passed on to other methods |
matrix (SpatRaster) or data.frame (SpatVector)
r <- rast(nrow=25, ncol=25) values(r) <- 1:ncell(r) head(r) tail(r)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.