Does anyone know what package replaced SDMTools? it was removed from CRAN.
I need to get the % coverage from a raster, I'm sending you my script:
m<-c(-0.2,0.2,1,0.2,0.6,2,0.6,1,3) # reclassified the scale of the NDVI
mat<-matrix(m,ncol=3,byrow=TRUE) #MATRIX of categorical value classes
mat
rc<-reclassify(ndvi,mat) # reclassify is important to make further analysis
plot(rc)
library(SDMTools) (Devtools), (adehabitatMA), etc. ->They did not work, I could not find the
ClassStat function.
the reclassified raster is in UTM, we need it in lat/long
I already checked that archive and none of the files worked:
ERROR: compilation failed for package 'SDMTools'
removing 'C:/Users/Maggie/AppData/Local/R/win-library/4.3/SDMTools'
Warning in install.packages :
installation of package ‘C:/Users/Maggie/Downloads/SDMTools_1.1-9.tar.gz’ had non-zero exit status