Description Usage Arguments Value Author(s) See Also Examples

View source: R/gridUncertainty_functions.R

`gridUncertainty`

determines the number of area of occupancy (AOO) grid
cells occupied by a species or ecosystem systematically. It will only stop
when the AOO calculated does not improve (decrease) after a set number of
split scenarios.

1 2 | ```
gridUncertainty(input.data, grid.size, n.AOO.improvement,
min.percent.rule = FALSE, percent = 1)
``` |

`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.AOO.improvement` |
Specifies the minimum number of rounds the calculated AOO is not improved before stopping the function. |

`min.percent.rule` |
Logical. If |

`percent` |
Numeric. The minimum percent to be applied as a threshold for
the |

A list containing the following:

Data frame of results showing the minimum AOO calculated for each shift scenario

Single SpatialPolygonsDataFrame containing the AOO grid which would produce the minimum AOO calculated

Calvin Lee [email protected]

Other gridUncertainty functions: `gridUncertaintyBase`

,
`gridUncertaintyRandomManual`

,
`gridUncertaintyRandom`

,
`gridUncertaintyRestricted`

,
`gridUncertaintySimulation`

1 2 3 4 5 | ```
crs.UTM55S <- '+proj=utm +zone=55 +south +ellps=WGS84 +datum=WGS84 +units=m +no_defs'
r1 <- raster(ifelse((volcano<130), NA, 1), crs = crs.UTM55S)
extent(r1) <- extent(0, 6100, 0, 8700)
x <- gridUncertainty(r1, grid.size = 10000, n.AOO.improvement = 5,
min.percent.rule = FALSE, percent = 1)
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.