[R-sig-Geo] Estimation of utilization distribution and home range within a polygon
Michael Sumner
mdsumner at gmail.com
Mon Aug 15 17:38:58 CEST 2016
It sounds like maybe your input constraint is not in a form that kernelUD
likes, perhaps there is room to read about the error message and explore
the details?
You otherwise will need more specialist methods to model within a complex
boundary.
The soapfilm tools in mgcv is one example:
http://www.fromthebottomoftheheap.net/2016/03/27/soap-film-smoothers/
Some of the trajectory/ tracking packages probably have stuff, review the
packages in the list here:
https://cloud.r-project.org/web/views/SpatioTemporal.html
There are few other related packages on CRAN from recent times not on that
list, and many there have had some significant development so worth
exploring.
You can just clip after the fact, but as you surely know that defeats the
purpose if the boundary has meaning to the intensity of behaviour.
(tripEstimation does facilitate this generally, but I'd say that's much
too specialist and buried too deep to be helpful).
Cheers, Mike.
On Tue, 16 Aug 2016 at 01:08 Manuel Spínola <mspinola10 at gmail.com> wrote:
> Dear list members,
>
> Is there a way to estimate utilization distribution and home range area
> within a polygon. I am working with spatial location on a fish in a
> wetland but the utilization distribution and the home range cannot go
> outside the water boundary.
>
> I tried using a spatial polygon as spatial line and specify this in the
> boundary argument of the kernelUD function of the adehabitatHR package but
> I got an error:
>
> > ud = kernelUD(dfs_in[,2], h="href", grid = 100, boundary = riol)
>
> Error in .boundaryk(SpatialPoints(x, proj4string =
> CRS(as.character(pfs1))), :
> non convenient boundary: turning angles > pi/2
>
> "riol" is the spatial polygon coerced to spatial line
>
> Thank you very much in advance
>
> Manuel
>
> --
> *Manuel Spínola, Ph.D.*
> Instituto Internacional en Conservación y Manejo de Vida Silvestre
> Universidad Nacional
> Apartado 1350-3000
> Heredia
> COSTA RICA
> mspinola at una.cr <mspinola at una.ac.cr>
> mspinola10 at gmail.com
> Teléfono: (506) 8706 - 4662
> Personal website: Lobito de río <
> https://sites.google.com/site/lobitoderio/>
> Institutional website: ICOMVIS <http://www.icomvis.una.ac.cr/>
>
> [[alternative HTML version deleted]]
>
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
--
Dr. Michael Sumner
Software and Database Engineer
Australian Antarctic Division
203 Channel Highway
Kingston Tasmania 7050 Australia
[[alternative HTML version deleted]]
More information about the R-sig-Geo
mailing list