kissmigOrigin {kissmig} | R Documentation |
Define a geographic origin
Description
kissmigOrigin
is a support function to define the geographic origin for a kissmig
call.
Usage
kissmigOrigin(grd, x, y, size)
Arguments
grd |
a single RasterLayer as reference layer |
x |
lower left x-coordinate of geographic origin |
y |
lower left y-coordinate of geographic origin |
size |
size of the quadratic origin |
Details
kissmigOrigin
returns a rasterLayer characterized by the reference
grd
. Cell values are set to zero, except for cells of the origin defined by
extent(x, x+size, y, y+size)
which are set to one.
See Also
[Package kissmig version 1.0-5 Index]