matchextent | R Documentation |
This function preserves the georeferencing of the grid x
but shifts
its extent (either clipping or adding NA cells) so that it matches that of
grid y
.
matchextent(x, y)
match.extent(x, y) # deprecated
x |
The grid whose extent is to be modified. |
y |
The reference grid to which the extent is to be matched. |
The grids must have the same cellsize and grid alignment.
A grid with the extent of y
containing whatever data in x
overlaps that extent.
Non overlapping grids will result in an error.
Ethan Plunkett
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.