<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Dear Pep,</div><div><br></div><div>Are sure to be in the right working directory? Sounds like the function does not find the models. I guess that if you run the Projection function, let's say on the original data (Sp.Env[,c("BIO1","BIO12","BIO14","BIO5","BIO6")]), this is not going to work either. Right? </div><div>For instance, there is something wrong. In the WARNING message, it looks for repetition 4 whereas you only set up 3 evaluation (NbRunEval = 3). This is why I suspect a mix of data/workspace. </div><div><br></div><div>Have you tried to plot the rasters? </div><div><br></div><div>plot(Proj_CurrentRaster_QUWI_BinTSS_PA1_ANN.raster)</div><div><br></div><div>I'll suggest to create a new working directory, set the working directory with R (setwd()) and then re-run everything. Let me know if this is working better. </div><div><br></div><div>Cheers,</div><div><br></div><div>Wilfried</div><div><br></div><div><br></div><br><div><div>Le 9 mars 2011 à 02:31, PEP Serra Diaz a écrit :</div><br class="Apple-interchange-newline"><blockquote type="cite"><div><br>Dear BIOMODers,<br><br>It may be a stupid question. First time I am seriously running Projection.raster function. I get this error :<br><br>WARNING: Could not find data for model ANN evaluation repetition 1 . Probable cause : failure when running Models() <br>WARNING: Could not find data for model ANN evaluation repetition 2 . Probable cause : failure when running Models() <br>WARNING: Could not find data for model ANN evaluation repetition 3 . Probable cause : failure when running Models() <br>WARNING: Could not find data for model ANN evaluation repetition 4 . Probable cause : failure when running Models() <br>WARNING: Could not find data for model ANN evaluation repetition 1 . Probable cause : failure when running Models() <br>WARNING: Could not find data for model ANN evaluation repetition 2 . Probable cause : failure when running Models() <br>WARNING: Could not find data for model ANN evaluation repetition 3 . Probable cause : failure when running Models() <br>WARNING: Could not find data for model ANN evaluation repetition 4 . Probable cause : failure when running Models() <br>.....<br>and so on for all models<br>...<br><br>RESULT: It creates projections full of NAs<br><br><br>I run the Models function as I normally do. I checked evaluation results and different models and their outputs after running Models(). Everything seems to work ok but projection. Here it is the whole R history:<br><br><br>Initial.State(Response=Sp.Env[,i], Explanatory=Sp.Env[,c("BIO1","BIO12","BIO14","BIO5","BIO6")], IndependentResponse=NULL, IndependentExplanatory=NULL, sp.name=naam[sp])<br><br>Models(GLM = T, TypeGLM = "quad", Test = "AIC", GBM = T, No.trees = 3000, GAM = T, CTA = T, CV.tree = 50, ANN = T, CV.ann = 2, SRE = F, FDA = T, MARS = T, RF = T, NbRunEval = 3, DataSplit = 70, Yweights=NULL, Roc=T, Optimized.Threshold.Roc=T, Kappa=T, TSS=T, KeepPredIndependent = F, VarImport=T, NbRepPA=3, strategy="random", nb.absences=5000)<br><br><br>Projection.raster(RasterProj = CurrentStack, Proj.name='CurrentRaster', GLM = T, GBM = T, GAM = T, CTA = T, ANN = T, SRE = F, FDA=T, MARS = T, RF = T, BinRoc = F, BinKappa = F, BinTSS = T, FiltRoc = F, FiltKappa = F, FiltTSS = F, repetition.models=T, stack.out=F)<br><br><br><blockquote type="cite">ls()<br></blockquote> [1] "Biomod.material" "Biomod.PA.data" <br> [3] "Biomod.PA.sample" "CurrentBio1" <br> [5] "CurrentBio12" "CurrentBio14" <br> [7] "CurrentBio5" "CurrentBio6" <br> [9] "CurrentStack" "DataBIOMOD" <br>[11] "Evaluation.results.Kappa" "Evaluation.results.Roc" <br>[13] "Evaluation.results.TSS" "GBM.list" <br>[15] "GBM.perf" "isnullYweights" <br>[17] "naam" "path" <br>[19] "Proj_CurrentRaster_QUWI_BinTSS_PA1_ANN.raster" "root" <br>[21] "Sp.Env" "<a href="http://sp.name">sp.name</a>" <br>[23] "VarImportance" <br><br><br><br><br><br><br><br><br>Pep Serra Díaz<br><br>Despatx C1/211<br>Unitat de Botànica.<br>Departament de Biologia Animal, Biologia Vegetal i Ecologia.<br>Facultat de Biociències. Edifici C. Campus de Bellaterra<br>Universitat Autònoma de Barcelona<br>08193 Cerdanyola del Vallès<br>Spain<br><br><br>_______________________________________________<br>Biomod-commits mailing list<br><a href="mailto:Biomod-commits@lists.r-forge.r-project.org">Biomod-commits@lists.r-forge.r-project.org</a><br>https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/biomod-commits<br></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>