[R-sig-Geo] adehabitat: Working with enfa() function using *asc files

ASANTOS @|ex@ndre@@nto@br @end|ng |rom y@hoo@com@br
Fri Jul 5 02:49:40 CEST 2019


Dear R-Sig-Geo Members,

 ?????? Many years ago I used enfa() function of adehabitat package with my 
*asc files with environmental variables and my script works very well, 
but now adehabitat is deprecated and there are many versions of 
adehabitat. I install the adehabitatHS but for doesn't work with my *asc 
files.

 ?????? My objective was create a data2enfa object and for this I used 
manually all the functions in an old adehabitat package (kasc2df, 
import.asc, as.kasc and data2enfa) but doesn't work too. In my script I 
make:

#Create enfa analysis object
pinkdata <- data2enfa(as.kasc(list(tmax=import.asc("tmax.asc") , 
tmin=import.asc("tmin.asc"))), pink.sub.pnt using coords)
#

 ??Error in count.points(pts, kasc) :
 ?? w should inherit the class SpatialPixels

 ?????? I need to create a data2enfa object using *asc files as tab and 
organism position pink.sub.pnt using coords as pr in enfa1 <- 
enfa(dudi.pca(tab), pr,?? scannf = FALSE).

 ?????? Please, any member that work with *asc files and ENFA help me?

Thanks in advanced,

Alexandre

-- 
======================================================================
Alexandre dos Santos
Prote????o Florestal
IFMT - Instituto Federal de Educa????o, Ci??ncia e Tecnologia de Mato Grosso
Campus C??ceres
Caixa Postal 244
Avenida dos Ramires, s/n
Bairro: Distrito Industrial
C??ceres - MT                      CEP: 78.200-000
Fone: (+55) 65 99686-6970 (VIVO) (+55) 65 3221-2674 (FIXO)

         alexandre.santos using cas.ifmt.edu.br
Lattes: http://lattes.cnpq.br/1360403201088680
OrcID: orcid.org/0000-0001-8232-6722
Researchgate: www.researchgate.net/profile/Alexandre_Santos10
LinkedIn: br.linkedin.com/in/alexandre-dos-santos-87961635
Mendeley:www.mendeley.com/profiles/alexandre-dos-santos6/



More information about the R-sig-Geo mailing list