sdm error function

Hello every one. I use sdm function for prediction process in plants. But, there is an error occurs when I run this code
d<-sdmData(species~.,sp,predictors=envc,bg=list(n=10000),method='gRandom',remove=TRUE)#remove=TRUE)# method='eRandom'
what is the solution?

Error in (function (classes, fdef, mtable) :
unable to find an inherited method for function ‘sdmData’ for signature ‘"formula", "data.frame", "missing", "data.frame"’

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.