<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. 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;"> 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. I did so and Projections() ran with no problems. Ensemble.Forecasting() also ran fine, however ProjectionBestModel() gave the same error as above. I am using all models
except SRE.<br>
<br>
Any feedback? The code and version info are below.<br>
<br>
Thank you!<br>
Brenna<br>
<br>
<span style="font-family: Courier New;">> load("Rhodiola_run.Rdata")</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;">> 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;"> 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;">> 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;">> 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;"> missing value where TRUE/FALSE needed</span><br>
<br>
<span style="font-family: Courier New;">> Ensemble.Forecasting(Proj.name= "HADC.21k", 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 </span><br style="font-family: Courier New;">
<br style="font-family: Courier New;">
<span style="font-family: Courier New;"> 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;"> ANN CTA GAM GBM GLM MARS FDA RF SRE</span><br style="font-family: Courier New;">
<span style="font-family: Courier New;">PA1 0.1373 0.1266 0.1515 0.1585 0.1191 0.1499 0 0.1569 0</span><br style="font-family: Courier New;">
<span style="font-family: Courier New;">PA1_rep1 0.1359 0.1457 0.1457 0.1552 0.1171 0.1361 0 0.1644 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;">> version</span><br style="font-family: Courier New;">
<span style="font-family: Courier New;"> _
</span><br style="font-family: Courier New;">
<span style="font-family: Courier New;">platform i386-pc-mingw32
</span><br style="font-family: Courier New;">
<span style="font-family: Courier New;">arch i386
</span><br style="font-family: Courier New;">
<span style="font-family: Courier New;">os mingw32
</span><br style="font-family: Courier New;">
<span style="font-family: Courier New;">system i386, mingw32
</span><br style="font-family: Courier New;">
<span style="font-family: Courier New;">status
</span><br style="font-family: Courier New;">
<span style="font-family: Courier New;">major 2
</span><br style="font-family: Courier New;">
<span style="font-family: Courier New;">minor 12.1
</span><br style="font-family: Courier New;">
<span style="font-family: Courier New;">year 2010
</span><br style="font-family: Courier New;">
<span style="font-family: Courier New;">month 12
</span><br style="font-family: Courier New;">
<span style="font-family: Courier New;">day 16
</span><br style="font-family: Courier New;">
<span style="font-family: Courier New;">svn rev 53855
</span><br style="font-family: Courier New;">
<span style="font-family: Courier New;">language R
</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>