[FLR-list] Function fwd

Laurie lauriekell at googlemail.com
Fri Apr 26 10:45:34 CEST 2013


it is getting confused between lauriekell at googlemail.com and 
lauriekell at gmail.com.

could you invite to lauriekell at gmail.com.

On 26/04/13 10:34, Diana González wrote:
> No problem... I have just invited you, Laurie.
>
> Diana
>
> -----Mensaje original-----
> De: flr-list-bounces at lists.r-forge.r-project.org [mailto:flr-list-bounces at lists.r-forge.r-project.org] En nombre de Ernesto
> Enviado el: viernes, 26 de abril de 2013 10:25
> Para: flr-list at r-forge.wu-wien.ac.at
> Asunto: Re: [FLR-list] Function fwd
>
> Sorry, didn't meant to disturb.
>
> EJ
>
> On 04/26/2013 10:19 AM, Laurie wrote:
>> Ernesto has accepted the invite, so I cant!
>>
>> could you invite me again at Laurie Kell <lauriekell at googlemail.com>
>>
>> On 26/04/13 10:07, Diana González wrote:
>>> No, I mean that in R2.8.1 (FLR 1.99-91), the fwd function works but
>>> the fit of the Ricker SR doesn't. In R2.14.1 (FLR 2.4), the fwd
>>> doesn´t work, but the Ricker fit is good. I need a mix of both!!!
>>>
>>> -----Mensaje original-----
>>> De: flr-list-bounces at lists.r-forge.r-project.org
>>> [mailto:flr-list-bounces at lists.r-forge.r-project.org] En nombre de
>>> Laurie Enviado el: viernes, 26 de abril de 2013 10:04
>>> Para: flr-list at flr-project.org
>>> Asunto: Re: [FLR-list] Function fwd
>>>
>>> when you say doesnt work. is that in fwd?
>>> On 26/04/13 09:45, Diana González wrote:
>>>> I am sorry, I am using Ricker and Segmented Regression and my head
>>>> is on Friday... I just wanted to say Ricker "stock-recruitment"
>>>> relationship. That was why I changed the version of R, because for
>>>> one of the operating models the Ricker relationship doesn´t work.
>>>> The segmented regression relationship works in all the operating
>>>> models because for its fit we use another algorithm, the Julious
>>>> algorithm.
>>>>
>>>> Thanks for all.
>>>>
>>>> Best,
>>>> Diana
>>>>
>>>> -----Mensaje original-----
>>>> De: flr-list-bounces at lists.r-forge.r-project.org
>>>> [mailto:flr-list-bounces at lists.r-forge.r-project.org] En nombre de
>>>> Laurie Enviado el: viernes, 26 de abril de 2013 9:38
>>>> Para: flr-list at flr-project.org
>>>> Asunto: Re: [FLR-list] Function fwd
>>>>
>>>> I am in an albacore assessment at the moment, so cant look immediately.
>>>> But 1 question, what do you mean by ricker segmented regression?
>>>>
>>>> On 26/04/13 09:34, Diana González wrote:
>>>>> Dear Laurie,
>>>>>
>>>>> I have put the code in a DropBox folder and I have invited this
>>>>> email address to share it. The folder is call "GHL_MSE_Diana" and
>>>>> the code is in the folder "Code" and is called
>>>>> "GhalMSE2010_RickeR2.14_Laurie.r" and is prepared to be run
>>>>> directly, with no loops in the middle (there are three loops that I
>>>>> removed: om loop, rp loop and ms loop, in order to make it easier).
>>>>> There is only one loop remains, the year loop, that is in line 672
>>>>> and is for the projection years. The fwd function is called inside
>>>>> this loop, in line 736. I am trying to use R2.14.1 and: FLCore 2.4,
>>>>> FLAsses 2.0.1 and FLash 0.7.5.
>>>>>
>>>>> The problem, as I said yesterday, is that this code, written by
>>>>> David Miller in 2008, was used under R8.2.1 and older versions of
>>>>> FLR. But when we try to fit the Ricker Segmented regression
>>>>> relationship, that FLR doesn´t fit appropriately, whereas the
>>>>> R2.14.1 with the version of FLR that I said you works perfectly.
>>>>> So, I have tried to run all the code with R2.14.1 and the new FLR,
>>>>> and it works perfectly until the function fwd. It says me that
>>>>> there are unused parameters.
>>>>>
>>>>> Thank you very much for all.
>>>>>
>>>>> Best,
>>>>> Diana
>>>>>
>>>>> -----Mensaje original-----
>>>>> De: flr-list-bounces at lists.r-forge.r-project.org
>>>>> [mailto:flr-list-bounces at lists.r-forge.r-project.org] En nombre de
>>>>> Diana González Enviado el: jueves, 25 de abril de 2013 17:53
>>>>> Para: flr-list at flr-project.org
>>>>> Asunto: RE: [FLR-list] Function fwd
>>>>>
>>>>> Ok, I have to go now but tomorrow I will share a DropBox folder
>>>>> with you if it is ok for you.
>>>>>
>>>>> Thanks!!
>>>>> Diana
>>>>>
>>>>>
>>>>> -----Mensaje original-----
>>>>> De: flr-list-bounces at lists.r-forge.r-project.org en nombre de
>>>>> Laurie Enviado el: jue 25/04/2013 17:40
>>>>> Para: flr-list at flr-project.org
>>>>> Asunto: Re: [FLR-list] Function fwd why not put your workspace in a
>>>>> dropbox folder and I will look at it
>>>>>
>>>>> Laurie
>>>>>
>>>>> On 25/04/13 17:14, Diana González wrote:
>>>>>> Dear Laurie,
>>>>>>
>>>>>> Thank you for your answer. I have loaded FLash and now I have
>>>>>> another error message. The code for fwd is the following
>>>>>>
>>>>>> res <- fwd(GH.biol, GH.fleet, year=y, TAC=yrCatch,
>>>>>> sr.model="ricker", sr.param=sr.params,
>>>>>> sr.residuals=sr.resids[,ac(y)])
>>>>>>
>>>>>> GH.biol is a FLBiol and GH.fleet is a FLFleet. I have loaded the
>>>>>> libraries FLCore, FLXSA, FLAssess and FLash.
>>>>>>
>>>>>> Now the program gives me the following error:
>>>>>>
>>>>>> Error en .local(object, fleets, ...) :
>>>>>> the argument was no used (year = 2010, TAC = 25375, sr.model =
>>>>>> "ricker", sr.param = c(35.7146729757961, 9.63966684532422e-05))
>>>>>>
>>>>>> I don´t know if the code of fwd was changed and the parameters of
>>>>>> the function are others... Any suggestion?
>>>>>>
>>>>>> Thank you very much,
>>>>>> Diana
>>>>>>
>>>>>>
>>>>>>
>>>>>> -----Mensaje original-----
>>>>>> De: flr-list-bounces at lists.r-forge.r-project.org en nombre de
>>>>>> Laurie Enviado el: jue 25/04/2013 16:32
>>>>>> Para: flr-list at flr-project.org
>>>>>> Asunto: Re: [FLR-list] Function fwd On 25/04/13 15:06, Diana
>>>>>> González wrote:
>>>>>>> Function fwd
>>>>>>>
>>>>>>> Good afternoon,
>>>>>>>
>>>>>>> This is my first time posting, and I don´t know if I amdoingit
>>>>>>> correctly...Hope so!!
>>>>>>>
>>>>>>> I have a problem with a change in the version of FLR. I was using
>>>>>>> an old FLRin R2.8.1to make a MSE for the GHL in NAFO, via the
>>>>>>> function fwd. It works perfectly to forward the population to the
>>>>>>> future. But now Ichangethe version of R and theversionof FLR. The
>>>>>>> version of R that I use know is the R2.14.1, but I am not sure
>>>>>>> about the version of FLR. The problem isthatwhen I try to make
>>>>>>> the projections via the function fwd, it says
>>>>>>> that"thefunctionfwdcan´t be found". Has this function changedthe
>>>>>>> namein the newest versions of FLR?
>>>>>>>
>>>>>>> Thanks!!
>>>>>>>
>>>>>>> Diana Gonzalez
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> flr-list mailing list
>>>>>>> flr-list at flr-project.org
>>>>>>> https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/flr-
>>>>>>> li
>>>>>>> s
>>>>>>> t
>>>>>> "fwd" is still called "fwd".
>>>>>>
>>>>>> Have you loaded FLash?
>>>>>>
>>>>>> Laurie
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> flr-list mailing list
>>>>>> flr-list at flr-project.org
>>>>>> https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/flr-l
>>>>>> is
>>>>>> t
>>>>> _______________________________________________
>>>>> flr-list mailing list
>>>>> flr-list at flr-project.org
>>>>> https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/flr-li
>>>>> st
>>>> _______________________________________________
>>>> flr-list mailing list
>>>> flr-list at flr-project.org
>>>> https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/flr-lis
>>>> t _______________________________________________
>>>> flr-list mailing list
>>>> flr-list at flr-project.org
>>>> https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/flr-lis
>>>> t
>>> _______________________________________________
>>> flr-list mailing list
>>> flr-list at flr-project.org
>>> https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/flr-list
>>> _______________________________________________
>>> flr-list mailing list
>>> flr-list at flr-project.org
>>> https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/flr-list
>> _______________________________________________
>> flr-list mailing list
>> flr-list at flr-project.org
>> https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/flr-list
>
> --
> Ernesto Jardim<ernesto.jardim at jrc.ec.europa.eu>
> Fisheries Scientist
> FISHREG - Scientific Support to Fisheries IPSC Maritime Affairs Unit EC Joint Research Center TP 051, Via Enrico Fermi 2749
> I-21027 Ispra (VA), Italy
> Office : +39 0332 785311
> Fax: +39 0332 789658
> https://fishreg.jrc.ec.europa.eu/
>
>
> _______________________________________________
> flr-list mailing list
> flr-list at flr-project.org
> https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/flr-list
> _______________________________________________
> flr-list mailing list
> flr-list at flr-project.org
> https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/flr-list



More information about the flr-list mailing list