Skip to content
Prev 8155 / 29559 Next

error in dudi.pca (adehabitat)

Glad that it does work now.

But considering it is a marine species, I'm not sure what you want to do 
with data2enfa. This function returns 1) a data frame with the value for 
each pixel (that you can get directly with kasc2df) and 2) a vector of 
presence ($pr) which gives the number of localisations in each pixel of 
the map (i.e. not NA). For a perfect marine species, it should give you 
only 0s.

Now in your case, you get 99 localisations (on a total of 212) on the 
ground... Maybe that's a normal behaviour for this species, or maybe 
it's a problem of location error, but that's what made me think about 
what you exactly want to do.

Cheers,
Mathieu.


Consuelo Hermosilla a ?crit :