These have been deprecated and will be removed in a future release.
gsGOC(
mpg,
nThresh = NULL,
doThresh = NULL,
weight = "lcpPerimWeight",
sp = FALSE,
verbose = 3
)gsGOCCorridor(GOC, whichThresh, coords, doPlot = FALSE, weight = "meanWeight")
gsGOCDistance(GOC, coords, weight = "meanWeight")
gsGOCPoint(GOC, coords)
gsGOCVisualize(GOC, whichThresh, sp = FALSE, doPlot = FALSE)
visualize(GOC, whichThresh, sp = FALSE, doPlot = FALSE)
gsGraphDataFrame(x)
gsMPG(cost, patch, sa = NULL, filterPatch = NULL, spreadFactor = 0)
A mpg
object.
Optional. An integer giving the number of thresholds (or scales)
at which to create GOC models. Thresholds are selected to produce
a maximum number of unique grains (i.e., models).
nThresh
thresholds are also approximately evenly spread
between 0 and the threshold at which all patches or focal points
on the landscape are connected. This is a simple way to get
a representative subset of all possible GOC models.
Provide either nThresh
or doThresh
not both.
Optional. A vector giving the link thresholds at which to create GOC models.
Use threshold()
to identify thresholds of interest.
Provide either nThresh
or doThresh
not both.
A string giving the link weight or attribute to use for threshold.
"lcpPerimWeight"
uses the accumulated resistance or least-cost
path distance from the perimeters of patches as the link weight.
Logical. If TRUE
the sp
package is used to create
a vector of class sp::SpatialPolygonsDataFrame describing
the finest grain of connectivity.
Set verbose=0
for no progress information to console.
A goc
object.
Integer giving the index of the threshold to visualize.
A two column matrix or a sp::SpatialPoints object giving coordinates at the end points of the corridor.
Logical. If TRUE
plots a vector visualization of the
corridor at the given scale
A mpg
object produced by MPG()
.
For lattice GOC MPG
must be run with patch set as an integer value.
A RasterLayer
giving a landscape resistance surface,
where the values of each raster cell are proportional to the
resistance to movement, dispersal, or gene flow for an organism
in the landscape feature they represent.
Missing values NA
are acceptable (but see below).
Negative values are not.
To extract an MPG with Euclidean links (i.e., and not least-cost
path links) set cost[] <- 1
.
A raster of class RasterLayer
for a patch-based analysis
OR an integer for a lattice analysis.
If a raster is given it must be of the same extent, origin and
projection as cost
and be binary, without missing values,
where patches=1 and non-patches=0.
For lattice analyses, an integer gives the spacing in raster
cells between focal points in the lattice.
No longer used.