View source: R/kissmigOrigin.R
kissmigOrigin | R Documentation |
kissmigOrigin
is a support function to define the geographic origin for a kissmig
call.
kissmigOrigin(grd, x, y, size)
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 |
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.
kissmig
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.