<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Helvetica;color: #000000;font-size: 10pt;">
Hello all,<br>
<br>
I have successfully run Projection() on 10 different climate data sets.&nbsp; I just encountered the following error, however, while projecting using an eleventh data set:<br>
<br>
<span style="font-family: Courier New;">Error in if (sum(ProbData) != 0) { : </span>
<br style="font-family: Courier New;">
<span style="font-family: Courier New;">&nbsp; missing value where TRUE/FALSE needed</span><br>
<br>
I see from previous posts that this error can sometimes be avoided by changing FDA=F.&nbsp; I did so and Projections() ran with no problems.&nbsp; Ensemble.Forecasting() also ran fine, however ProjectionBestModel() gave the same error as above.&nbsp; I am using all models
 except SRE.<br>
<br>
Any feedback?&nbsp; The code and version info are below.<br>
<br>
Thank you!<br>
Brenna<br>
<br>
<span style="font-family: Courier New;">&gt; load(&quot;Rhodiola_run.Rdata&quot;)</span><br style="font-family: Courier New;">
<br style="font-family: Courier New;">
<span style="font-family: Courier New;"></span><span style="font-family: Courier New;">&gt; Projection(Proj=hadc21[,3:10],Proj.name='HADC.21k',</span><span style="font-family: Courier New;">GLM = T, GBM = T, GAM = T, CTA = T, ANN = T, SRE = F, FDA =T, MARS = T,
 RF = T,</span><span style="font-family: Courier New;"> BinRoc=T, BinKappa=T, BinTSS=T, FiltRoc=T, FiltKappa=T, FiltTSS=T, repetition.models=T)</span><br>
<br style="font-family: Courier New;">
<span style="font-family: Courier New;">Error in if (sum(ProbData) != 0) { : </span>
<br style="font-family: Courier New;">
<span style="font-family: Courier New;">&nbsp; missing value where TRUE/FALSE needed</span><br>
<br>
<span style="font-family: Courier New;">## Rerun using FDA=F</span><br style="font-family: Courier New;">
<br>
<span style="font-family: Courier New;">&gt; Projection(Proj=hadc21[,3:10],Proj.name='HADC.21k',</span><span style="font-family: Courier New;">GLM = T, GBM = T, GAM = T, CTA = T, ANN = T, SRE = F, FDA =F, MARS = T, RF = T,</span><span style="font-family: Courier New;">
 BinRoc=T, BinKappa=T, BinTSS=T, FiltRoc=T, FiltKappa=T, FiltTSS=T, repetition.models=T)</span><br>
<br>
<span style="font-family: Courier New;">&gt; ProjectionBestModel(Proj.name='HADC.21k', Bin.trans=T, Filt.trans=T,method='all')</span><br style="font-family: Courier New;">
<span style="font-family: Courier New;"><br>
Error in if (sum(ProbData) != 0) { : </span><br style="font-family: Courier New;">
<span style="font-family: Courier New;">&nbsp; missing value where TRUE/FALSE needed</span><br>
<br>
<span style="font-family: Courier New;">&gt; Ensemble.Forecasting(Proj.name= &quot;HADC.21k&quot;, weight.method='Kappa', decay='proportional', PCA.median=F, binary=T, bin.method='Kappa', Test=T,</span><span style="font-family: Courier New;"> repetition.models=T)</span><br style="font-family: Courier New;">
<br>
<span style="font-family: Courier New;">Rhodiola&nbsp; </span><br style="font-family: Courier New;">
<br style="font-family: Courier New;">
<span style="font-family: Courier New;">&nbsp;consensus_HADC.21k_results </span><br style="font-family: Courier New;">
<span style="font-family: Courier New;">$Rhodiola</span><br style="font-family: Courier New;">
<span style="font-family: Courier New;">$Rhodiola$weights</span><br style="font-family: Courier New;">
<span style="font-family: Courier New;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ANN&nbsp;&nbsp;&nbsp; CTA&nbsp;&nbsp;&nbsp; GAM&nbsp;&nbsp;&nbsp; GBM&nbsp;&nbsp;&nbsp; GLM&nbsp;&nbsp; MARS FDA&nbsp;&nbsp;&nbsp;&nbsp; RF SRE</span><br style="font-family: Courier New;">
<span style="font-family: Courier New;">PA1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0.1373 0.1266 0.1515 0.1585 0.1191 0.1499&nbsp;&nbsp; 0 0.1569&nbsp;&nbsp; 0</span><br style="font-family: Courier New;">
<span style="font-family: Courier New;">PA1_rep1&nbsp; 0.1359 0.1457 0.1457 0.1552 0.1171 0.1361&nbsp;&nbsp; 0 0.1644&nbsp;&nbsp; 0</span><br>
<br>
<span style="font-family: Courier New;">## Results truncated...</span><br>
<br>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>
I am running BIOMOD Version 1.1-5 on the following system:<br>
<br style="font-family: Courier New;">
<span style="font-family: Courier New;">&gt; version</span><br style="font-family: Courier New;">
<span style="font-family: Courier New;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; _&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><br style="font-family: Courier New;">
<span style="font-family: Courier New;">platform&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; i386-pc-mingw32&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><br style="font-family: Courier New;">
<span style="font-family: Courier New;">arch&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; i386&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><br style="font-family: Courier New;">
<span style="font-family: Courier New;">os&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; mingw32&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><br style="font-family: Courier New;">
<span style="font-family: Courier New;">system&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; i386, mingw32&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><br style="font-family: Courier New;">
<span style="font-family: Courier New;">status&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><br style="font-family: Courier New;">
<span style="font-family: Courier New;">major&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><br style="font-family: Courier New;">
<span style="font-family: Courier New;">minor&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 12.1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><br style="font-family: Courier New;">
<span style="font-family: Courier New;">year&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2010&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><br style="font-family: Courier New;">
<span style="font-family: Courier New;">month&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 12&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><br style="font-family: Courier New;">
<span style="font-family: Courier New;">day&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 16&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><br style="font-family: Courier New;">
<span style="font-family: Courier New;">svn rev&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 53855&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><br style="font-family: Courier New;">
<span style="font-family: Courier New;">language&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; R&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><br style="font-family: Courier New;">
<span style="font-family: Courier New;">version.string R version 2.12.1 (2010-12-16)</span><br style="font-family: Courier New;">
<br style="font-family: Courier New;">
<br style="font-family: Courier New;">
<br style="font-family: Courier New;">
<br style="font-family: Courier New;">
<br style="font-family: Courier New;">
<br style="font-family: Courier New;">
<br style="font-family: Courier New;">
<br style="font-family: Courier New;">
<br style="font-family: Courier New;">
<br style="font-family: Courier New;">
<span style="font-family: Courier New;"></span><br>
</div>
</body>
</html>