Shorthand to the subset
function.
Function to replace specific elements in a gridlayer object
Usage
# S4 method for class 'gridlayer,ANY,missing'
x[i]
# S4 method for class 'gridlayer,SpatExtent,missing'
x[i]
# S4 method for class 'gridlayer,ANY,ANY'
x[i] <- value
Arguments
- x
(
facelayer
) The object to be subsetted.- i
(
logical
,numeric
orSpatExtent
) The subscript vector, or extent, specifying the faces that are used for subsetting. As insubset
.- value
The replacement values.
Value
The extraction methods return facelayer
-class objects.