index_extent {tabularaster} | R Documentation |
Index extent
Description
Extent in index space.
Usage
index_extent(x, ex)
Arguments
x |
raster layer |
ex |
extent |
Details
Convert a geographic extent into purely index space.
Value
extent object
Examples
## the index extent is the rows/cols
index_extent(raster::raster(volcano), raster::extent(0, 1, 0, 1))
index_extent(raster::raster(volcano), raster::extent(0, 1, 0, .5))
[Package tabularaster version 0.7.2 Index]