<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Hi there,</div><div>You should not have to edit the function if you updated the BIOMOD package. We have made quite a few changes in Ensemble.Forecasting the last weeks. The last version has been update a week ago.</div><div>As far as I can tell, the FDA = TRUE is indeed in the function.&nbsp;</div><div>Best</div><div>WIlfried</div><div><br></div><div><br></div><br><div><div>Le 15 avr. 2010 à 19:19, Alisa Wade a écrit :</div><br class="Apple-interchange-newline"><blockquote type="cite">I solved my own problem. The Ensemble.Forecasting function needs to be edited to change MDA to FDA.&nbsp; Then it runs. <br><br><div class="gmail_quote">On Thu, Apr 15, 2010 at 10:59 AM, Alisa Wade <span dir="ltr">&lt;<a href="mailto:alisaww@gmail.com">alisaww@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">I am receiving an Ensemble.Forecasting error that I can not solve. Has anyone else seen this?<br>
<br>Here are my calls:<br><br>#Notes: <br>#MDA=T must be changed to FDA = T; incorrect in the manual, correct in the online help pages<br>
#Need this to make ANN to work (says invalid weight vector in nnet)<br>caseweights =matrix(ncol = ncol(spp.Mat), nrow = nrow(spp.Mat)); caseweights[,] =1 <br><br>Models(GLM = T, TypeGLM = "quad", Test = "AIC", GBM = T, No.trees = 3000, GAM = T, <br>

CTA = T, CV.tree = 50, ANN = T, CV.ann = 3, SRE = T, Perc025=T, Perc05=F, FDA = T, <br>MARS = T, RF = T, NbRunEval = 4, DataSplit = 80,Yweights=caseweights, <br>Roc=T, Optimized.Threshold.Roc=T, Kappa=T, TSS=T, KeepPredIndependent = F, VarImport=5, <br>

NbRepPA=0)<br><br>##all outputs look correct/exist; Evaluation.results.xxx all exist (except for SRE under Roc is NA)<br><br><br>Projection (Proj = env.Dat.Fut[,c(1, 3:20)], <a href="http://Proj.name">Proj.name</a> = "NCAR_fut", GLM = T, <br>

GBM = T, GAM = T, CTA = T, ANN = T, SRE = T, Perc025 = T, Perc05 = F, <br>FDA = T, MARS = T, RF = T, BinRoc = T, BinKappa = T, BinTSS = T, <br>FiltRoc = T, FiltKappa = T, FiltTSS = T, repetition.models=TRUE)<br><br>##all outputs look correct/exist<br>

<br><br>And here is my ensemble call attempts and resulting errors:<br><br>##If I use FDA instead of MDA, it gives me an FDA error, no matter what&nbsp; weight.method or bin.method I use or no matter if FDA turned on or off<br>

<br>Ensemble.Forecasting(ANN = T, CTA=T, GAM = T, GBM = T, FDA=T, GLM = T, MARS = T, RF = T, SRE = F, Proj.name= "NCAR_fut", weight.method='Kappa', PCA.median=T, binary=T, bin.method='Kappa', Test=T, decay=2, repetition.models=F)<br>

<br>Error in Ensemble.Forecasting(ANN = T, CTA = T, GAM = T, GBM = T, FDA = T,&nbsp; : <br>&nbsp; unused argument(s) (FDA = T)<br clear="all"><br>##If I use MDA, then I get a parse error, no matter the bin method<br><br>Ensemble.Forecasting(ANN = T, CTA=T, GAM = T, GBM = T, MDA=T, GLM = T, MARS = T, RF = T, SRE = F, Proj.name= "NCAR_fut", weight.method='Roc', PCA.median=T, binary=T, bin.method='Roc', Test=T, decay=2, repetition.models=F)<br>

Error in !eval(parse(text = j)) : invalid argument type<br><br>Is this just a problem with ensemble.forecasting using the old MDA terminology when all the other functions have been changed to FDA?<br>Or am I doing something wrong?<br>

<br>Thanks for any ideas,<br>Alisa<br><font color="#888888">-- <br>*****************************************************<br>Alisa A. Wade<br>Postdoctoral Center Associate<br>National Center for Ecological Analysis and Synthesis<br>
<a href="mailto:wade@nceas.ucsb.edu" target="_blank">wade@nceas.ucsb.edu</a><br>
(406) 529-9722<br>home email: <a href="mailto:alisaww@gmail.com" target="_blank">alisaww@gmail.com</a><br>
</font></blockquote></div><br><br clear="all"><br>-- <br>*****************************************************<br>Alisa A. Wade<br>Postdoctoral Center Associate<br>National Center for Ecological Analysis and Synthesis<br>
<a href="mailto:wade@nceas.ucsb.edu">wade@nceas.ucsb.edu</a><br>(406) 529-9722<br>home email: <a href="mailto:alisaww@gmail.com">alisaww@gmail.com</a><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></blockquote></div><br><div>
<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-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; "><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:&nbsp;<a href="mailto:wilfried.thuiller@ujf-grenoble.fr">wilfried.thuiller@ujf-grenoble.fr</a><br>Home page:&nbsp;<a href="http://www.will.chez-alice.fr/">http://www.will.chez-alice.fr</a><br>Website:&nbsp;<a href="http://www-leca.ujf-grenoble.fr/equipes/tde.htm">http://www-leca.ujf-grenoble.fr/equipes/tde.htm</a><br><br>FP6 European MACIS project:&nbsp;<a href="http://www.macis-project.net/">http://www.macis-project.net</a><br>FP6 European EcoChange project:&nbsp;<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"></span><br class="Apple-interchange-newline">
</div>
<br></body></html>