Description Usage Arguments Details Value Author(s) See Also Examples
findmaxasc
finds the local maxima on a map of class
asc
.
1 |
asc |
a map of class |
This function may be useful, among other things, to identify the local
modes of the utilization distribution of an animal (e.g. estimated
using kernelUD
).
a data frame with two columns containing the x and y coordinates of the local maxima.
Clement Calenge clement.calenge@oncfs.gouv.fr
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | ## example, to find the mode of the utilization distribution (UD) of an
## animal:
## load the data
data(puechabon)
loc <- puechabon$locs[, c("X", "Y")]
id <- puechabon$locs[, "Name"]
## Estimation of UD for the four animals
(ud <- kernelUD(loc, id))
image(ud)
## Now consider the UD of Chou
map <- ud$Chou$UD
image(map)
## Find the local maxima:
maxim <- findmaxasc(map)
points(maxim, col="red", pch=16, cex=1.5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.