extent,worldNLR-method | R Documentation |
Same as sp::bbox()
and raster::extent()
.
## S4 method for signature 'worldNLR' extent(x, ...) ## S4 method for signature 'agentMatrix' extent(x, ...) .bboxCoords(coords) ## S4 method for signature 'agentMatrix' bbox(obj) bbox(obj) <- value ## S4 replacement method for signature 'agentMatrix,matrix' bbox(obj) <- value ## S4 method for signature 'worldNLR' bbox(obj)
x |
Raster* or Extent object, a matrix, a bbox, or a vector of four numbers |
... |
Additional arguments. When x is a single number representing 'xmin', you can pass three additional numbers (xmax, ymin, ymax) When |
coords |
xy coordinates for all cells, e.g., produced by |
obj |
object deriving from class "Spatial", or one of classes: "Line", "Lines", "Polygon" or "Polygons", or ANY, which requires obj to be an array with at least two columns |
value |
2x2 matrix representing the bounding box. See |
bbox
returns a two-column matrix; the first column has the minimum,
the second the maximum values; rows represent the spatial dimensions.
extent
returns an extent
object.
two-column matrix; the first column has the minimum, the second the maximum values;
rows represent the spatial dimensions. See sp::bbox()
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.