Replace layers of a SpatialStack object
The single and double bracket subsetting is identical in the case of SpatialStacks.
## S4 replacement method for signature 'SpatialStack,character,ANY,VectorSpatialClasses' x[i, j = NULL, ...] <- value ## S4 replacement method for signature 'SpatialStack,logical,ANY,VectorSpatialClasses' x[i, j = NULL, ...] <- value ## S4 replacement method for signature 'SpatialStack,numeric,ANY,VectorSpatialClasses' x[i, j = NULL, ...] <- value ## S4 replacement method for signature 'SpatialStack,character,ANY,SpatialStack' x[i, j = NULL, ...] <- value ## S4 replacement method for signature 'SpatialStack,logical,ANY,SpatialStack' x[i, j = NULL, ...] <- value ## S4 replacement method for signature 'SpatialStack,numeric,ANY,SpatialStack' x[i, j = NULL, ...] <- value ## S4 replacement method for signature 'SpatialStack,character,ANY,ANY' x[[i, j, ...]] <- value ## S4 replacement method for signature 'SpatialStack,logical,ANY,ANY' x[[i, j, ...]] <- value ## S4 replacement method for signature 'SpatialStack,numeric,ANY,VectorSpatialClasses' x[[i, j = NULL, ...]] <- value
x |
|
i |
subscript of vector-like subsetting. |
j |
unused. |
... |
unused.. |
value |
A single |
None.
data(coasts) spstack <- coasts@stack[1:2] spstack[1] <- mapedge()
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.