Landscape-load-sig-class: Create a Landscape object from SIG shapefile file

Description Usage Arguments Value Examples

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

1
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

1
2
3
4
5
## Not run: 
land <- loadLandscapeSIG("/path/to/directory/","fileName")
plot(land)

## End(Not run)

briskaR documentation built on Dec. 11, 2021, 9:23 a.m.