simReserve: Simulate randomly sited reserve

View source: R/simReserve.R

simReserveR Documentation

Simulate randomly sited reserve

Description

This function is used to generate a randomly sited reserve, more specifically, an aggregate of multiple reserve units (distinct polygons).

Usage

simReserve(target.poly, buff.width, total.area, wiggle)

Arguments

target.poly

A polygon within which all simulated reserves are to be contained. The availability mask.

buff.width

A vector of length 2, giving the minimum and maximum lengths of the radii of the randomly sited circles to be used. Radius values will be drawn from a uniform distribution between these values.

total.area

The target size of the simulated reserve.

wiggle

How much bigger/smaller can the simulated reserves be than total.area (in same units as total.area)

Details

The reserve is built by randomly siting circular polygons of the specified size. The polygons are allowed to overlap. The radius of each circle is drawn from a uniform distribution with min and max values specified. Circles are iteratively added until the specified area is reached, then a smaller circle is trimmed out if the simulated reserve overshot the specified area. The user can specify a tolerance for how much bigger/smaller than the specified area is acceptable.

Value

Object of class SpatialPolygons, the simulated reserve.

Author(s)

Jason D. Carlisle, University of Wyoming and WEST, Inc., <jason.d.carlisle@gmail.com>


jcarlis3/ecoinfo documentation built on Sept. 9, 2023, 1:46 p.m.