
Last chance! 50% off unlimited learning
Sale ends in
Combine SpatRaster objects (similar to raster::
stack
)
# S4 method for SpatRaster
c(x, ...)
SpatRaster
SpatRaster objects to be combined with x
SpatRaster
# NOT RUN {
r <- rast(nrow=5, ncol=9)
values(r) <- 1:ncell(r)
x <- c(r, r*2, r*3)
# }
Run the code above in your browser using DataLab