loadLandscapeSIG {briskaR}R Documentation

Create a Landscape object from SIG shapefile file

Description

Create a Landscape object from SIG shapefile. Shapefile has to contain a SpatialPolygonsDataFrame. Data in the data frame contain fields (polygons) information. Row names as fields ID, cols 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).

Usage

loadLandscapeSIG(dsn, layer, format = TRUE)

Arguments

dsn

folder path to the source files

layer

file name without extension

format

only load data needed Landscpae-class (default TRUE)

Value

A SpatialPolygonsDataFrame object

Examples

## Not run: 
land <- loadLandscapeSIG("/path/to/directory/","fileName")
plot(land)

## End(Not run)


[Package briskaR version 1.0.3 Index]