View source: R/gridUncertainty_functions.R
gridUncertaintyBase | R Documentation |
gridUncertaintyBase
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 systematically in both x- and y-
axes, adding a small amount of random movement (five percent of the
grid.size
) at each point. It then returns summary statistics for the
range of AOOs calculated, and the RasterLayer(s) containing the grids with
the minimum AOO. It is the base function which is used by
gridUncertainty
, gridUncertaintySimulation
, and
gridUncertaintyRestricted
gridUncertaintyBase(
input.data,
grid.size,
splits,
min.percent.rule = FALSE,
percent = 1,
restriction = FALSE,
min.grids.shift
)
input.data |
Spatial object of an ecosystem or species distribution. 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) |
splits |
Specifies the number of ways to split the grid in ONE axis. |
min.percent.rule |
Logical. If |
percent |
Numeric. The minimum percent to be applied as a threshold for
the |
restriction |
Logical. If |
min.grids.shift |
Dataframe object with two columns (x.shift and y.shift) specifying the coordinates to restrict the AOO grid placement. |
List containing the following:
Vector of length split*split of calculated AOO for each shifted grid
Data frame of summary statistics for the results create the AOO grid(s) which return the smallest AOO
Data frame of the shift(s) required to create the AOO grid(s) with the smallest AOO
Nicholas Murray murr.nick@gmail.com, Calvin Lee calvinkflee@gmail.com
createGrid()
getAOOSilent()
Other gridUncertainty functions:
gridUncertaintyRandomManual()
,
gridUncertaintyRandom()
,
gridUncertaintyRestricted()
,
gridUncertaintySimulation()
,
gridUncertainty()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.