[Biomod-commits] Error in model.frame.default - "invalid type (list) for variable" - using BIOMOD

Oscar Javier Ramos oramos at humboldt.org.co
Thu May 10 22:57:35 CEST 2012


Hi,

I'm beginning with BIOMOD.

Just running the example on the "BIOMOD: Tutorial (February 13, 2012)" =>
data(Sp.Env)",

I got the following error:

------------------------------
-----
Modelling summary
-----------------------------------
Number of species modelled :            2
Sp281, Sp290

numerical variables :                   Var1, Var2


number of evaluation repetitions :      3
number of pseudo-absences runs :        2
models selected :                       ANN, CTA, GAM, GBM, GLM, MARS, FDA,
RF, SRE
total number of model runs :            144
-----------------------------------


#####                    Sp281                  #####
#####              pseudo-absence run 1                 #####
Model=Artificial Neural Network
         2 Fold Cross Validation + 3 Repetitions
Calibration and evaluation phase: Nb of cross-validations:  3

Error in model.frame.default(formula = eval(parse(text =
paste("Target[Samp$calibration]",  :
  invalid type (list) for variable 'Var1'


Could anyone help me to overcome this problem?


Thanks,

Oscar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/biomod-commits/attachments/20120510/a83088ed/attachment.html>


More information about the Biomod-commits mailing list