readShp: readSHP: read shapefiles

Description Usage Arguments Value Author(s)

View source: R/readShp_function.R

Description

Read the spatial distribution shapefiles (ESRI shapefile format) of species from a specified folder and provide a SpatialPolygonsDataFrame object.

Usage

1
readShp (path)

Arguments

path

Path for a folder with spatial distribution shapefiles (ESRI shapefile format). The name of the species must be on the second column of the attribute table of the shapefile.

Value

readShp returns a object from a class of 'SpatialPolygonsDataFrame'.

Author(s)

Thaís Dória & Daniel Gonçalves-Souza


thaisdoria/habitaR documentation built on Dec. 18, 2020, 8:09 p.m.