[FLR-list] FLR short term forecasts
Luis Ridao
luridao at gmail.com
Fri Apr 26 17:35:07 CEST 2013
Thanks Laurie,
but there is an error in the code
> setMethod('stf', signature(object='FLStock'),
+ function(object, nyears=3, wts.nyears=3, fbar.nyears=wts.nyears,
f.rescale=FALSE,
+ arith.mean=TRUE, na.rm=TRUE, end=dims(object)$maxyear + nyears)
+ )
Error: unexpected ')' in:
"arith.mean=TRUE, na.rm=TRUE, end=dims(object)$maxyear + nyears)
)"
the extra ")" that is missing gives the error
?
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
Luis Ridao Cruz
Faroe Marine Research Institute
Nóatún 1, P.O. Box 3051
FO-110 Tórshavn
Faroe Islands
Tel : (+298) 353900
Fax: : (+298) 353901
e-mail: luisr at hav.fo
luridao at gmail.com
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
On Fri, Apr 26, 2013 at 4:25 PM, Laurie <lauriekell at googlemail.com> wrote:
>
>
> On 26/04/13 16:22, Luis Ridao wrote:
>
>>
>> FLR help,
>>
>> I was wondering how to implement Ices-type standard short-term forecasts.
>>
>> The former function "FLSTF.control" is gone now.
>>
>> Thanks in advance
>>
>>
> The stf method generates an FLStock object with the future years set up,
> e.g.
>
> setMethod('stf', signature(object='FLStock'),
> function(object, nyears=3, wts.nyears=3, fbar.nyears=wts.nyears,
> f.rescale=FALSE,
> arith.mean=TRUE, na.rm=TRUE, end=dims(object)$maxyear + nyears)
>
> Laurie
> ______________________________**_________________
> flr-list mailing list
> flr-list at flr-project.org
> 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>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/flr-list/attachments/20130426/0441c51c/attachment.html>
More information about the flr-list
mailing list