## Load the data
loc <- puechabonsp$relocs
## Estimation of UD for the four animals
(ud <- kernelUD(loc[,1]))
## The UD of the four animals
## First one with a scale
Then you'd be able to adjust it using spplot options (I'm not a specialist
of this, I just know it can be fairly complex). The reason it works is that
kernelUD produces an object of class estUDm, which is a list with one estUD
object per animal. An estUD object itself inherits from the class
SpatialPixelsDataFrame. As a result, every function that works on a spdf
would work on an estUD too.
Things will get a little bit trickier if you want all kernels on the same
scale. That's where you need to use the argument 'same4all = TRUE':
## Recompute the UD with the same grid for all animals
(ud2 <- kernelUD(loc[,1], same4all = TRUE))
## Convert it to a regular spdf
ud2 <- estUDm2spixdf(ud2)
Thank you very much for your kind help.
That's really help me.
However, I would like create contour map as shown in the image (which I managed to do). Here, I would like to put scale bar onto the image to show what are distance between points.