powered by
findmax finds the local maxima on a map of class SpatialPixelsDataFrame.
findmax
SpatialPixelsDataFrame
findmax(x)
an object of class SpatialPoints containing the x and y coordinates of the local maxima.
SpatialPoints
a map of class SpatialPixelsDataFrame with one column
Clement Calenge clement.calenge@ofb.gouv.fr
This function may be useful, among other things, to identify the local modes of the utilization distribution of an animal estimated using kernelUD.
kernelUD
SpatialPixelsDataFrame-class for additionnal information on objects of class SpatialPixelsDataFrame.
SpatialPixelsDataFrame-class
data(puechabonsp) ## estimates the UD kud <- kernelUD(puechabonsp$relocs[,1]) ## displays the maximum image(kud[[1]]) points(findmax(kud[[1]]))
Run the code above in your browser using DataLab