Learn R Programming

redlistr (version 1.0.1)

gridUncertaintyRandomManual: Manual function to compute AOO with grid uncertainty randomly

Description

gridUncertaintyRandomManual helps determine the minimum number of area of occupancy (AOO) grid cells occupied by a species or ecosystem. It varies the location of the AOO grid by shifting in randomly in both x- and y- axes, returning summary statistics for the range of AOOs calculated, and the RasterLayer(s) containing the grids with the minimum AOO. Requires manual input for the number of simulations to perform.

Usage

gridUncertaintyRandomManual(input.data, grid.size, n.sim = 10,
  min.percent.rule = FALSE, percent = 1)

Arguments

input.data

Object of an ecosystem or species distribution. Accepts either raster or spatial points formats. Please use a CRS with units measured in metres.

grid.size

A number specifying the width of the desired grid square (in same units as your coordinate reference system)

n.sim

Specifies the number of random grids to be created and tested.

min.percent.rule

Logical. If TRUE, a minimum area threshold must be passed before a grid is counted as an AOO grid.

percent

Numeric. The minimum percent to be applied as a threshold for the min.percent.rule.

Value

List containing the following:

  • Data frame of summary statistics for the results

  • Data frame showing the distance shifted in x and y directions used to create the AOO grid(s) and their associated AOOs

  • List of RasterLayer(s) containing the AOO grid(s) which return the smallest AOO

See Also

createGrid getAOOSilent

Other gridUncertainty functions: gridUncertaintyBase, gridUncertaintyRandom, gridUncertaintyRestricted, gridUncertaintySimulation, gridUncertainty