View source: R/extent_transforms.R
index_extent | R Documentation |
Extent in index space.
index_extent(x, ex)
x |
raster layer |
ex |
extent |
Convert a geographic extent into purely index space.
extent object
## 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))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.