Learn R Programming

SEHmodel (version 0.0.10)

loadLandscape: Wrapper function loadLandscape

Description

Wrapper to create a Landscape object using SpatialPolygons and dataframe. The SpatialPolygons object and the data.frame have to contain the same number of polygons and row (row ID is polygons ID).

Usage

loadLandscape(sp, data)

Arguments

sp
a SpatialPolygons object
data
a data.frame containing fields (polygons) informations. Row num as fields ID, cols names as sources | neutral | receptors (1 if fields are of this types 0 otherwise)