[Biomod-commits] Models Error
Wilfried Thuiller
wilfried.thuiller at ujf-grenoble.fr
Fri Sep 16 11:54:36 CEST 2011
Sounds like your data are not really well-formatted.
Could you perhaps look at the final DataBIOMOD?
head(DataBIOMOD)
how does it look like?
Le 15 sept. 2011 à 10:25, Antonio Canepa a écrit :
> Hi Wilfried,
>
> The commads for the Initial.State are
>
> Initial.State(Response=Sp.Env[,c(19,20,21)], Explanatory=Sp.Env[,4:18], IndependentResponse=Sp.Env[,c(19,20,21)], IndependentExplanatory=Sp.Env[,4:18])
>
>
> And the comands for the Models() --> Here is I get the error message
>
> Models(GLM = T, TypeGLM = "poly", Test = "AIC", GBM = F, No.trees = 2000, GAM = T, Spline = 3, CTA = T, CV.tree = 50, ANN = F, CV.ann = 5, SRE = F, quant=0.025, FDA = F, MARS = F, RF = F, NbRunEval = 3, DataSplit = 80,Yweights = NULL, Roc = TRUE, Optimized.Threshold.Roc = T,Kappa = T, TSS = T, KeepPredIndependent = T, VarImport = 5, NbRepPA=2, strategy="circles", coor=CoorXY[,1:2], distance=2, nb.absences=1000)
>
> As you will see, I´m only trying run a GLM a CTA and a GAM.
>
> Thanks so much!,
>
> Antonio
>
>
>
>
> 2011/9/15 Wilfried Thuiller <wilfried.thuiller at ujf-grenoble.fr>
> Dear Antonio,
>
> Could you please paste the command lines you used please?
>
> Wilfried
>
>
> Le 15 sept. 2011 à 10:13, Antonio Canepa a écrit :
>
>> Hi,
>> My name is Antonio, First of all, let me congratulation to all of you because the package and the community BIOMOD is excelent.
>> Second, you have to know that I'm absolutely new with BIOMOD, and I have a problem that seems to be easy but I can't solve it.
>> I have constructed my Matrix, with the structure that the example of Sp.Env data in BIOMOD, but when I want to run the models the follor error message apperas:
>> Error en `[.data.frame`(tr, , 4) : undefined columns selected
>>
>> I review the data dreated by the Initial.State() and is the same than for the BIOMOD example....
>>
>> I don´t know if its useful for the question but I'm ussing Tinn-R, but if I run the Practical or Manual for BIOMOD It runs perfectly!
>>
>> I'll appreciate so much your help!..and sorry if its a very basic question!
>>
>> Best Regards to all of you
>>
>> Antonio
>>
>>
>> --
>> Antonio Canepa Oneto
>> PhD student
>> Dept. Biologia Marina i Oceanografia
>> Institut de Ciencies Del Mar CMIMA, CSIC
>> Ps. Marítim de la Barceloneta,37-49, c.p. 08003
>> BARCELONA, Catalunya,Spain
>> Tel: 34-628320778
>> e-mail: canepa at icm.csic.es
>> ajcanepa at gmail.com
>>
>> _______________________________________________
>> Biomod-commits mailing list
>> Biomod-commits at lists.r-forge.r-project.org
>> https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/biomod-commits
>
> --------------------------
> Dr. Wilfried Thuiller
> Laboratoire d'Ecologie Alpine, UMR CNRS 5553
> Université Joseph Fourier
> BP53, 38041 Grenoble cedex 9, France
> tel: +33 (0)4 76 51 44 97
> fax: +33 (0)4 76 51 42 79
>
> Email: wilfried.thuiller at ujf-grenoble.fr
> Personal website: http://www.will.chez-alice.fr
> Team website: http://www-leca.ujf-grenoble.fr/equipes/emabio.htm
>
> FP6 European MACIS project: http://www.macis-project.net
> FP6 European EcoChange project: http://www.ecochange-project.eu
>
>
>
>
>
>
>
>
>
> --
> Antonio Canepa Oneto
> PhD student
> Dept. Biologia Marina i Oceanografia
> Institut de Ciencies Del Mar CMIMA, CSIC
> Ps. Marítim de la Barceloneta,37-49, c.p. 08003
> BARCELONA, Catalunya,Spain
> Tel: 34-628320778
> e-mail: canepa at icm.csic.es
> ajcanepa at gmail.com
>
--------------------------
Dr. Wilfried Thuiller
Laboratoire d'Ecologie Alpine, UMR CNRS 5553
Université Joseph Fourier
BP53, 38041 Grenoble cedex 9, France
tel: +33 (0)4 76 51 44 97
fax: +33 (0)4 76 51 42 79
Email: wilfried.thuiller at ujf-grenoble.fr
Personal website: http://www.will.chez-alice.fr
Team website: http://www-leca.ujf-grenoble.fr/equipes/emabio.htm
FP6 European MACIS project: http://www.macis-project.net
FP6 European EcoChange project: http://www.ecochange-project.eu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/biomod-commits/attachments/20110916/0d5c8979/attachment.htm>
More information about the Biomod-commits
mailing list