kissmigOrigin: Define a geographic origin

Description Usage Arguments Details See Also

View source: R/kissmigOrigin.R

Description

kissmigOrigin is a support function to define the geographic origin for a kissmig call.

Usage

1
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

kissmig


kissmig documentation built on May 29, 2017, 10:49 a.m.