<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Sounds like your data are not really well-formatted.</div><div><br></div><div>Could you perhaps look at the final DataBIOMOD? </div><div><br></div><div>head(DataBIOMOD)</div><div><br></div><div>how does it look like? </div><div><br></div><div><br></div><br><div><div>Le 15 sept. 2011 à 10:25, Antonio Canepa a écrit :</div><br class="Apple-interchange-newline"><blockquote type="cite">Hi Wilfried,<div><br></div><div>The commads for the Initial.State are</div><div><br></div><div>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])<br>
<div><br></div><div><br></div><div>And the comands for the Models() --> Here is I get the error message</div><div><br></div><div>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)</div>
<div><br></div><div>As you will see, I´m only trying run a GLM a CTA and a GAM.</div><div><br></div><div>Thanks so much!,</div><div><br></div><div>Antonio</div><div><br></div><div><br></div><div><br><br><div class="gmail_quote">
2011/9/15 Wilfried Thuiller <span dir="ltr"><<a href="mailto:wilfried.thuiller@ujf-grenoble.fr">wilfried.thuiller@ujf-grenoble.fr</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div style="word-wrap:break-word"><div>Dear Antonio,</div><div><br></div><div>Could you please paste the command lines you used please?</div><div><br></div><div>Wilfried</div><div><br></div><br><div><div>Le 15 sept. 2011 à 10:13, Antonio Canepa a écrit :</div>
<br><blockquote type="cite"><div><div></div><div class="h5">Hi,<div>My name is Antonio, First of all, let me congratulation to all of you because the package and the community BIOMOD is excelent.</div><div>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.</div>
<div>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:</div><div><i><font color="#ff6666">Error en `[.data.frame`(tr, , 4) : undefined columns selected</font></i></div>
<div><br></div><div>I review the data dreated by the Initial.State() and is the same than for the BIOMOD example....</div><div><br></div><div>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!</div>
<div><br></div><div>I'll appreciate so much your help!..and sorry if its a very basic question!</div><div><br></div><div>Best Regards to all of you<br clear="all"><div><br></div><div>Antonio</div><div><br></div><div>
<br>
</div>-- <br><div>Antonio Canepa Oneto</div><div>PhD student</div><div>Dept. Biologia Marina i Oceanografia</div><div>Institut de Ciencies Del Mar CMIMA, CSIC </div><div>Ps. Marítim de la Barceloneta,37-49, c.p. 08003</div>
<div>BARCELONA, Catalunya,Spain </div><div>Tel: <a href="tel:34-628320778" value="+34628320778" target="_blank">34-628320778</a> </div><div>e-mail: <a href="mailto:canepa@icm.csic.es" target="_blank">canepa@icm.csic.es</a> </div>
<div> <a href="mailto:ajcanepa@gmail.com" target="_blank">ajcanepa@gmail.com</a></div>
<br>
</div></div></div>
_______________________________________________<br>Biomod-commits mailing list<br><a href="mailto:Biomod-commits@lists.r-forge.r-project.org" target="_blank">Biomod-commits@lists.r-forge.r-project.org</a><br><a href="https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/biomod-commits" target="_blank">https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/biomod-commits</a></blockquote>
</div><br><div>
<span style="border-collapse:separate;color:rgb(0, 0, 0);font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-size:medium"><span style="border-collapse:separate;color:rgb(0, 0, 0);font-family:Helvetica;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div style="word-wrap:break-word">
<span style="border-collapse:separate;color:rgb(0, 0, 0);font-family:Helvetica;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div style="word-wrap:break-word">
<span style="border-collapse:separate;color:rgb(0, 0, 0);font-family:Helvetica;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div style="word-wrap:break-word">
<div><span style="font-size:12px"><div>--------------------------</div><div>Dr. Wilfried Thuiller</div><div>Laboratoire d'Ecologie Alpine, UMR CNRS 5553</div><div>Université Joseph Fourier</div><div>BP53, 38041 Grenoble cedex 9, France</div>
<div>tel: <a href="tel:%2B33%20%280%294%2076%2051%2044%2097" value="+33476514497" target="_blank">+33 (0)4 76 51 44 97</a></div><div>fax: <a href="tel:%2B33%20%280%294%2076%2051%2042%2079" value="+33476514279" target="_blank">+33 (0)4 76 51 42 79</a></div>
<div><br></div><div>Email: <a href="mailto:wilfried.thuiller@ujf-grenoble.fr" target="_blank">wilfried.thuiller@ujf-grenoble.fr</a><br>Personal website: <a href="http://www.will.chez-alice.fr/" target="_blank">http://www.will.chez-alice.fr</a><br>
Team website: <a href="http://www-leca.ujf-grenoble.fr/equipes/emabio.htm" target="_blank">http://www-leca.ujf-grenoble.fr/equipes/emabio.htm</a><br><br>FP6 European MACIS project: <a href="http://www.macis-project.net/" target="_blank">http://www.macis-project.net</a><br>
FP6 European EcoChange project: <a href="http://www.ecochange-project.eu/" target="_blank">http://www.ecochange-project.eu</a></div><div><br></div></span></div></div></span><br></div></span><br></div></span><br></span><br>
</div>
<br></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div>Antonio Canepa Oneto</div><div>PhD student</div><div>Dept. Biologia Marina i Oceanografia</div><div>Institut de Ciencies Del Mar CMIMA, CSIC </div>
<div>Ps. Marítim de la Barceloneta,37-49, c.p. 08003</div><div>BARCELONA, Catalunya,Spain </div><div>Tel: 34-628320778 </div><div>e-mail: <a href="mailto:canepa@icm.csic.es" target="_blank">canepa@icm.csic.es</a> </div><div>
<a href="mailto:ajcanepa@gmail.com" target="_blank">ajcanepa@gmail.com</a></div><br>
</div></div>
</blockquote></div><br><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><span class="Apple-style-span" style="font-size: 12px; "><div>--------------------------</div><div>Dr. Wilfried Thuiller</div><div>Laboratoire d'Ecologie Alpine, UMR CNRS 5553</div><div>Université Joseph Fourier</div><div>BP53, 38041 Grenoble cedex 9, France</div><div>tel: +33 (0)4 76 51 44 97</div><div>fax: +33 (0)4 76 51 42 79</div><div><br></div><div>Email: <a href="mailto:wilfried.thuiller@ujf-grenoble.fr">wilfried.thuiller@ujf-grenoble.fr</a><br>Personal website: <a href="http://www.will.chez-alice.fr/">http://www.will.chez-alice.fr</a><br>Team website: <a href="http://www-leca.ujf-grenoble.fr/equipes/emabio.htm">http://www-leca.ujf-grenoble.fr/equipes/emabio.htm</a><br><br>FP6 European MACIS project: <a href="http://www.macis-project.net/">http://www.macis-project.net</a><br>FP6 European EcoChange project: <a href="http://www.ecochange-project.eu/">http://www.ecochange-project.eu</a></div><div><br></div></span></div></div></span><br class="Apple-interchange-newline"></div></span><br class="Apple-interchange-newline"></div></span><br class="Apple-interchange-newline"></span><br class="Apple-interchange-newline">
</div>
<br></body></html>