Skip to content
Prev 13949 / 29559 Next

Converting image to asc

Dear Kevin,

I'm not sure how to solve your exact problem, since you don't provide a 
reproducible code, but here are a couple of comments:

1) You shouldn't use the old 'adehabitat' any more. This package has been 
split in four new ones, namely, adehabitatMA for map management, 
adehabitatLT for trajectories, adehabitatHR for home-range analyses, and 
adehabitatHS for habitat selection analyses. You can simply install them 
all by

install.packages("adehabitatHS")

The main benefit of it is that adehabitat does not use its own map classes 
any more, but use sp classes instead. This might well correct the 
conversion problem, which would thus be from spatstat to sp now.

2) You could also use kernelUD from adehabitatHR directly. The output would 
most certainly be suited for other analyses using adehabitatXY.

3) I'm not sure I understand why you first derive a density for an ENFA 
analysis. Why don't you use directly the centroid coordinates as points in 
the ENFA?

Hope this helps,
Mathieu.


Le 23/01/2012 04:11, K?vin Morelle a ?crit :