[R-sig-Geo] Question concerning the SDM package in R
Francisco Borges
|r@nc|@coomcborge@ @end|ng |rom gm@||@com
Mon Jun 28 20:18:01 CEST 2021
Hello all!
I have encountered an issue with the SDM package by Babak Naimi and Miguel
Araújo in R. Specifically, when re-running a model which I had successfully
run a couple of months ago, I get the following error:
«Error in sdmSetting(test.percent = 30, replication = c("sub","boot", :
methods rf and brt do not exist!»
This is the code I'm inputting:
model <-
sdm(
occ ~.,
data = dalter,
methods = c('glm','rf','brt'),
test.p = 30,
replication = c("sub", "boot", "cv"),
n.folds = 4,
n = 5
)
This is weird. It is stating that the sdm package does not have boosted
regression tree nor random forest as an available method. I have
reinstalled the package through CRAN in R today.
Any suggestions?
Thank you in advance,
*Francisco Borges*
MARE – Marine and Environmental Sciences Centre
Laboratório Marítimo da Guia - Faculdade de Ciências da Universidade de
Lisboa
Av. Nossa Senhora do Cabo, 939
2750-374 Cascais, Portugal
Tel: +351 214 869 211
publons.com/a/1504585/
orcid.org/0000-0002-3911-0421
http://www.mare-centre.pt/pt/user/8232
https://www.cienciavitae.pt//pt/B814-9E8E-F556
[[alternative HTML version deleted]]
More information about the R-sig-Geo
mailing list