Description Usage Arguments Value Author(s) See Also Examples
This function returns an Extent object of a Raster* or Spatial* object (or an Extent object), or creates an Extent object from a 2x2 matrix (first row: xmin, xmax; second row: ymin, ymax), vector (length=4; order= xmin, xmax, ymin, ymax) or list (with at least two elements, with names 'x' and 'y')
bbox
returns a sp
package like 'bbox' object (a matrix)
1 |
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 |
Extent object
Robert J. Hijmans; Etienne Racine wrote the extent function for a list
1 2 3 4 5 6 7 8 9 10 11 |
Loading required package: sp
class : Extent
xmin : -180
xmax : 180
ymin : -90
ymax : 90
class : Extent
xmin : 0
xmax : 20
ymin : 0
ymax : 20
class : Extent
xmin : 0
xmax : 20
ymin : 0
ymax : 20
class : Extent
xmin : 0
xmax : 20
ymin : 0
ymax : 20
class : Extent
xmin : 0
xmax : 2
ymin : -3
ymax : 5
class : Extent
xmin : -171
xmax : -150
ymin : 70
ymax : 90
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.