Description Usage Arguments Value Author(s) See Also Examples
This function calculates the distance between a set of geographical coordinates and generates a matrix containing the distances between each of the points. In development.
a dataframe containing the
a Transition object generated from a RasterLayer using the gdistance R package
a 2x2 matrix containing the pairwise direct
DISTANCE between each
LOCATION minus the detection
RADIUS. Distances are returned in kilometers
1 2 3 4 5 6 7 8 9 10
#WaterRaster <- raster("wenlock raster UTM.tif") # Load the raster #tr <- transition(WaterRaster, # transitionFunction = mean, # directions = 8) # Create a Transition object from the raster # Load the points file #data(PointsLeastCost_crocs) # Generate the Least Cost distance matrix #RasterDM <- GenerateLeastCostDistance(PointsLeastCost_crocs, # tr)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.