findmax | R Documentation |
findmax
finds the local maxima on a map of class
SpatialPixelsDataFrame
.
findmax(x)
x |
a map of class |
This function may be useful, among other things, to identify the local
modes of the utilization distribution of an animal estimated
using kernelUD
.
an object of class SpatialPoints
containing the x and y
coordinates of the local maxima.
Clement Calenge clement.calenge@ofb.gouv.fr
SpatialPixelsDataFrame-class
for additionnal
information on objects of class SpatialPixelsDataFrame
.
data(puechabonsp)
## estimates the UD
kud <- kernelUD(puechabonsp$relocs[,1])
## displays the maximum
image(kud[[1]])
points(findmax(kud[[1]]))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.