sppList: Get a list of species for islands

Description Usage Arguments Value Author(s)

View source: R/sppList_pkg.R

Description

This function takes species range maps and a shapefile of islands and outputs a list of species on each island. A few notes: if having problems with orphaned holes, try readShapePoly instead of readOGR. Also, if the output list is not the same length as the number of islands, you might need to manually add elements to the end of the list that are NA. The last element of the output list will likely be an island that is not NA (i.e. an island with species ranges that overlap).

Usage

1
sppList(islands, sppRanges, IDvar)

Arguments

islands

SpatialPolygonsDataFrame of islands

sppRanges

SpatialPolygonsDataFrame of species ranges

IDvar

A character string. The name of the column in shapefile sppRanges with the species name to be output in the list.

Value

Returns a list, with one entry for each island, of the species ranges that overlap for that island.

Author(s)

Tyler J Tran, tylerjtran@gmail.com


mrhelmus/ieco documentation built on May 23, 2019, 7:37 a.m.