Combine Raster and Vector Spatial data to RasterArray or SpatialArray objects by rows or columns
The function takes a sequence of RasterLayer
or RasterArray
class objects and combines them to two dimensional RasterArrays
,
Alternatively, the function can be used to combine vector Spatial*
data to SpatialArray
s.
Named objects will be forced together based on names
, colnames
or rownames
attributes, via insertion of NAs
.
## S3 method for class 'RasterArray' cbind(...) ## S3 method for class 'RasterArray' rbind(...) ## S3 method for class 'SpatialArray' cbind(...) ## S3 method for class 'SpatialArray' rbind(...)
... |
RasterLayer or RasterArray class objects to be combined. |
A RasterArray
or SpatialArray
class object.
data(dems) # create matrices out of vectors colb <- cbind(dems, dems) rowb <- rbind(dems, dems) # automatic name matching dems2 <- dems[c(1:4, 6:10)] matched <- suppressWarnings(cbind(dems, dems2))
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.