I've done some more testing, with other individuals. I've found that the akde works for all but three individuals (including the one above). It may be worth noting these are the three individuals with the largest home range estimates, and are likely being considerably overestimated given the nature of the area they live in – constrained by waterbodies, coastline and roads. The above is using water as a constraint (SP = water_sp, SP.in = FALSE); I also tried with using land as a constraint (SP = land_sp, SP.in = TRUE) and that didn't work either. I also plotted them, and I think that may also shed some light on what is going on, but I can't interpret it myself. Note – these (including those above) are the mean AKDEs, using:
individual_ids <- sapply(names(UDs), function(x) sub("_[^_]+$", "", x))
# Group UDs by individual
UDs_by_individual <- split(UDs, individual_ids)
mean_UDs <- lapply(UDs_by_individual, mean, sample = FALSE)
This individual has a home range estimate of 431 km2 (for mean home range), with a DOF of 425,777 (which clearly wrong). This is the output when I use the land boundary as the constraint. The hatched lines is the water.
Water-bounded AKDE and land-bounded AKDE (square) for another individual for whom the constrained AKDE hasn't worked. This individual has a home range estimate of 394 km2 (for mean home range), with a DOF of 631::
Water-bounded AKDE and land-bounded AKDE (square) for the third individual for whom the constrained AKDE hasn't worked. This individual has a home range estimate of 653 km2 (for mean home range), with a DOF of 228:
Using plot(UDs_by_individual[[individual_name]]) I created these plots. Those with blue are the ones that have not been correctly constrained:
All individuals had OU, OUF, OU anisotropic or OUF anisotropic models.
So evidently it seems like there are some issues with regards to DOF (possibly, for the orange individual), possibly overestimating size of home range, the plots looking very wrong, and the constraint parameter. But I can't figure out where it has gone wrong!
I can't see how to attach a script with some of the data necessary to recreate this situation, however I'd be happy to email it.
Kind regards,
Amelia