<div dir="ltr"><div><div>Thanks Laurie,<br><br></div>but there is an error in the code<br>> setMethod('stf', signature(object='FLStock'),<br>+ function(object, nyears=3, wts.nyears=3, fbar.nyears=wts.nyears, f.rescale=FALSE,<br>
+ arith.mean=TRUE, na.rm=TRUE, end=dims(object)$maxyear + nyears)<br>+ )<br>Error: unexpected ')' in:<br>"arith.mean=TRUE, na.rm=TRUE, end=dims(object)$maxyear + nyears)<br>)"<br><br></div>the extra ")" that is missing gives the error<br>
<br>?<br></div><div class="gmail_extra"><br clear="all"><div><div><br>-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-</div>Luis Ridao Cruz<br>Faroe Marine Research Institute<br>Nóatún 1, P.O. Box 
3051<br>FO-110 Tórshavn<br>Faroe Islands<br>Tel   : (+298) 353900<br>Fax: : (+298) 353901<br>e-mail: 
<a href="mailto:luisr@hav.fo" target="_blank">luisr@hav.fo</a><br>           <a href="mailto:luridao@gmail.com" target="_blank">luridao@gmail.com</a><div>-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-<br><br></div></div>

<br><br><div class="gmail_quote">On Fri, Apr 26, 2013 at 4:25 PM, Laurie <span dir="ltr"><<a href="mailto:lauriekell@googlemail.com" target="_blank">lauriekell@googlemail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5"><br>
<br>
On 26/04/13 16:22, Luis Ridao wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
FLR help,<br>
<br>
I was wondering how to implement Ices-type standard short-term forecasts.<br>
<br>
The former function "FLSTF.control" is gone now.<br>
<br>
Thanks in advance<br>
<br>
</blockquote>
<br></div></div>
The stf method generates an FLStock object with the future years set up, e.g.<br>
<br>
setMethod('stf', signature(object='FLStock'),<br>
  function(object, nyears=3, wts.nyears=3, fbar.nyears=wts.nyears, f.rescale=FALSE,<br>
    arith.mean=TRUE, na.rm=TRUE, end=dims(object)$maxyear + nyears)<span class="HOEnZb"><font color="#888888"><br>
<br>
Laurie<br>
______________________________<u></u>_________________<br>
flr-list mailing list<br>
<a href="mailto:flr-list@flr-project.org" target="_blank">flr-list@flr-project.org</a><br>
<a href="https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/flr-list" target="_blank">https://lists.r-forge.r-<u></u>project.org/cgi-bin/mailman/<u></u>listinfo/flr-list</a><br>
</font></span></blockquote></div><br></div>