Landscape-load-class: Wrapper function : loadLandscape

Description Usage Arguments Value

Description

Wrapper function 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

1
loadLandscape(sp, data)

Arguments

sp

a SpatialPolygons object designing the landscape

data

a data.frame containing fields (polygons) information. Row names as fields ID, column names as sources | neutral | receptors (for a given field, the value is 1 for the type of the field (source or neutral or receptor), otherwise 0).

Value

A Landscape object


SEHmodel documentation built on Sept. 12, 2016, 6:34 a.m.