[Biomod-commits] (no subject)

Reusser.Deborah at epamail.epa.gov Reusser.Deborah at epamail.epa.gov
Fri May 8 01:31:30 CEST 2009


I am having issues with getting the example to run.  I've loaded the
package and done the intialize but when I execute the models statement
as given in the manual I get this error message:


#####                    Species2                       #####
Error in if (nb.absences > (length(Biomod.PA.data[[i]]) - nbpres)) { :
  argument is of length zero


I had a problem with the models command as given in the manual so I
removed two parameters this is what I executed:
> Models(GLM=T, TypeGLM = "poly", Test = "AIC", GBM=T, No.trees=2000,
GAM=T, Spline = 3, CTA=T,
+  CV.tree = 50, ANN=T, CV.ann = 2, SRE=T, Perc025=T, Perc05=F, MDA=T,
MARS = T, RF=T, NbRunEval=0,
+  DataSplit =80, Yweights=NULL, Kappa=T, TSS=T, KeepPredIndependent=F,
VarImport=5)



> DataBIOMOD[1:5,]
      Var1     Var2     Var3     Var4     Var5     Var6     Var7
Species2 Species3
1 0.668250 4296.144 770.1200 39.32668 295.1067 16.74480 10.86612
0        0
2 0.759600 4173.614 928.1445 57.32333 348.7211 16.40933 10.51443
0        0
3 0.742437 4173.137 870.2771 50.05250 329.9908 16.40781 10.50084
0        0

I have these items in my workspace:
[1] "Biomod.material" "DataBIOMOD"      "Sp.Env"          "wkdir"


Any and all help would  be appreciated, I'm at a loss - the data appears
to all be there. as shown here


Debbie Reusser
Research Geographer
USGS-Western Fisheries Research Center
at Marine Hatfield Science Center
2111 SE Marine Science Drive
Newport, OR 97365
Phone: 541-867-4045
FAX: 541-867-4049
EMAIL: dreusser at usgs.gov



More information about the Biomod-commits mailing list