sampArea: Create a sampling area

Description Usage Arguments Details Value Author(s)

View source: R/sampArea.R

Description

Function to create an area for generating sampling points within

Usage

1
2
sampArea(region, edgeBuffer = NULL, roads, roadBufferMin = 100,
  roadBufferMax = 2100, exclude = NULL, utmZone = 13)

Arguments

region

the larger area to consider (a SpatialPolygonsDataFrame)

edgeBuffer

an optional buffer to exclude edge effects

roads

a SpatialLinesDataFrame of access roads

roadBufferMin

the buffer to exclude around roads (in meters)

roadBufferMax

the max distance from roads within which points will be created (in meters)

exclude

an optional additional area to exclude as a Spatial* object

utmZone

the UTM zone to use for reprojection to UTM

Details

Regardless of the CRS of the input polygons, thus function internally converts to and returns a polygon in a UTM projection, which is important for distance calculations.

Value

A SpatialPointsDataFrame containing randomized sampling points

Author(s)

Andy Rominger <ajrominger@gmail.com>


role-model/CaatingaArthropods documentation built on Jan. 9, 2020, 12:36 a.m.