Thank you very much Clément.
I am assuming that is not necessary to have the data structured like "lynxjura", right? This means that is possible to have the locations in one file and the raster data in another file, is that correct?
Best,

Manuel

On 06/09/2010 12:48 a.m., Clément Calenge wrote:
Dear Manuel,


I am trying to use adehabitat for some habitat selection analysis and I am running some of the examples from adehabitatHS and adehabitatMA (the new packages), but how to start from scratch importing your own data? I am familiar with R but not with spatial analysis in R.
What are the ways to bring your own spatial data to work on adehabitat?

Actually, because the new packages are now compliant with the package sp. The best way to import your spatial data is to use the functions of the packages sp and maptools. The particular function to be used depends on the data available to you. If you have an asc file storing raster data, you can use readAsciiGrid from the package maptools. Otherwise, have a look at the help pages from the functions returned by:

apropos("readShape")

HTH,

Clément Calenge



--
Manuel Spínola, Ph.D.
Instituto Internacional en Conservación y Manejo de Vida Silvestre
Universidad Nacional
Apartado 1350-3000
Heredia
COSTA RICA
mspin...@una.ac.cr
mspinol...@gmail.com
Teléfono: (506) 2277-3598
Fax: (506) 2237-7036

_______________________________________________
AniMov mailing list
AniMov@faunalia.it
http://lists.faunalia.it/cgi-bin/mailman/listinfo/animov

Reply via email to