<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Sorry it wasnt code, it was just the
args cut from the stf code in FLAssess.<br>
<br>
I.e. <br>
<br>
library(FLAssess)<br>
?stf<br>
<br>
<br>
On 26/04/13 17:35, Luis Ridao wrote:<br>
</div>
<blockquote
cite="mid:CAL09-EcmMk+Q6DhQCUhETLYUH2xK1xDiBOjo1ZLQpODbW3KPBQ@mail.gmail.com"
type="cite">
<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 moz-do-not-send="true" href="mailto:luisr@hav.fo"
target="_blank">luisr@hav.fo</a><br>
<a moz-do-not-send="true"
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 moz-do-not-send="true"
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>
_______________________________________________<br>
flr-list mailing list<br>
<a moz-do-not-send="true"
href="mailto:flr-list@flr-project.org" target="_blank">flr-list@flr-project.org</a><br>
<a moz-do-not-send="true"
href="https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/flr-list"
target="_blank">https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/flr-list</a><br>
</font></span></blockquote>
</div>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
flr-list mailing list
<a class="moz-txt-link-abbreviated" href="mailto:flr-list@flr-project.org">flr-list@flr-project.org</a>
<a class="moz-txt-link-freetext" href="https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/flr-list">https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/flr-list</a>
</pre>
</blockquote>
<br>
</body>
</html>