kissmigAccess: Get accessiblity map from kissmig output

View source: R/kissmigAccess.R

kissmigAccessR Documentation

Get accessiblity map from kissmig output

Description

kissmigAccess calculates a accessibility map from a kissmig output of first occurrence (type='FOC'). These maps allows the integration of limited migration in species distribution models and macroecological analyses.

Usage

kissmigAccess(grd, rel=FALSE)

Arguments

grd

a single RasterLayer of first occurrence generated by kissmig

rel

if TRUE, kissmigAccess returns relative values with maximum 1, otherwise absolute interger values

Details

kissmig maps of first occurrences show values of the first iteration step a raster cell was colonized. Early colonized cells have low values, late colonized cells high values. These values are the opposite of accessibility, which is high for early colonized, and low for late colonized cells. kissmigAccess simply calculates for each cell the accessibility as the difference between the cell value and max(grd)+1. Cells which have never been colonized remain unchanged (value 0).

See Also

kissmig


kissmig documentation built on June 2, 2022, 1:06 a.m.