[Biomod-commits] error message Ensemble.Forecasting function

mdamen at uniroma3.it mdamen at uniroma3.it
Thu Dec 3 15:24:21 CET 2009


Dear all,

I encountered a problem with the Ensemble.Forecasting() function.

I am working on 1 species (678 obs. - 10 variables).

I get models with the function:
Models(GLM=T, TypeGLM="poly", Test="AIC", GBM=T, No.trees = 5000, GAM= T,
CTA=T, CV.tree =50, ANN=T, CV.ann=3, SRE=F, Perc025=TRUE, Perc05=FALSE,
MDA=T, MARS=T, RF=T, NbRunEval = 3, DataSplit = 80, VarImport=5, Roc = T, 
      Optimized.Threshold.Roc = T, Kappa = F, TSS = F)

... then I projected the models:
Projection (Proj = pres[,4:13], Proj.name="pres", GLM = T, GBM = T, GAM = T,
CTA = T, ANN = T, SRE = F, Perc025 = T, Perc05 = F, MDA =T, MARS = T, RF =
T, BinRoc = T, BinKappa = F, BinTSS = F, FiltRoc = F, FiltKappa = F,
FiltTSS = F, repetition.models = F)

finally the Ensemble.Forecasting function -

Ensemble.Forecasting(Proj.name= "pres", weight.method = "Roc", decay = 1.6,
                    PCA.median = F, binary = T, bin.method = "Roc",
                    Test = T, repetition.models = F)

gave me this error:

Errore in if (sum(ProbData) != 0) { :
  valore mancante dove è richiesto TRUE/FALSE

(The english translation of the second line is: "missig value where
TRUE/FALSE is required")

What is wrong?
I would be very grateful for any help

Manuela

-- 
Manuela D'Amen
PhD student
Lab Zoology and Animal Biology
Department of Environmental Biology
University of Roma Tre, Rome, Italy




More information about the Biomod-commits mailing list