[FLR-list] Missing SR relationships

Iago MOSQUEIRA (JRC) iago.mosqueira-sanchez at jrc.ec.europa.eu
Wed May 15 09:30:36 CEST 2013


Hi,

Yes, it is. We are slowly moving the repository to github, so you can
also check it at

https://github.com/flr/FLCore

We will probably stop development in r-forge in one or two weeks.


Iago

On 05/14/2013 11:20 PM, Mark Payne wrote:
> Is it in the repo now? I'll try it out in the next week or so...
> 
> Mark
> ________________________________________
> Fra: flr-list-bounces at r-forge.wu-wien.ac.at [flr-list-bounces at r-forge.wu-wien.ac.at] på vegne af Iago MOSQUEIRA (JRC) [iago.mosqueira-sanchez at jrc.ec.europa.eu]
> Sendt: 14. maj 2013 23:07
> Til: flr-list at flr-project.org
> Emne: Re: [FLR-list] Missing SR relationships
> 
> A quick test with nsher shows it working
> 
> data(nsher)
> model(nsher)<-rickerAR1
> 
> nshe<-fmle(nsher)
> 
> There was a bug in the call to return in the initial function for
> rickerAR1 but it appears to have been fixed
> 
> 
> Iago
> 
> 
> On 05/14/2013 11:02 PM, Iago MOSQUEIRA (JRC) wrote:
>>
>> Hi,
>>
>> Right now the help needs updating. Is RickerAR1 still failing for you?
>>
>>
>> Iago
>>
>> On 05/14/2013 04:12 PM, Mark Payne wrote:
>>> Has this been fixed in a more recent build e.g. on the repo? Is there
>>> any reason why is there is discrepancy between the SRR functions
>>> described in the help files and those that are actually available?
>>>
>>> Mark
>>>
>>>
>>> ------------------------------------------------------------------------
>>> *Fra:* flr-list-bounces at r-forge.wu-wien.ac.at
>>> [flr-list-bounces at r-forge.wu-wien.ac.at] på vegne af Laurie
>>> [lauriekell at googlemail.com]
>>> *Sendt:* 25. april 2013 17:57
>>> *Til:* flr-list at flr-project.org
>>> *Emne:* Re: [FLR-list] Missing SR relationships
>>>
>>> Its the brackets
>>>
>>> return(FLPar(a = max(exp(res[1])), b = -max(res[2])*)*, rho = 0)
>>>
>>>
>>> On 25/04/13 12:28, Mark Payne wrote:
>>>> bevholtAR1 works, but not rickerAR1
>>>>
>>>>> model(nsher) <- rickerAR1
>>>>> mdl <- fmle(nsher)
>>>> Error in return(FLPar(a = max(exp(res[1])), b = -max(res[2])), rho = 0) :
>>>>   multi-argument returns are not permitted
>>>>
>>>> But what is the difference between these functions and the ones that are documented in the help files?
>>>>
>>>> Here's my version info FYI - its the standard install from the repo
>>>>> packageDescription("FLCore")
>>>> Package: FLCore
>>>> Title: Core package of FLR, fisheries modelling in R.
>>>> Version: 2.4
>>>> Date: 2011
>>>> Packaged: 2011-10-14 12:08:14.541 UTC; imosqueira
>>>> Built: R 2.14.1; i686-pc-linux-gnu; 2013-02-04 10:40:33
>>>>       UTC; unix
>>>>
>>>> Mark
>>>>
>>>> ________________________________________
>>>> Fra: flr-list-bounces at r-forge.wu-wien.ac.at [flr-list-bounces at r-forge.wu-wien.ac.at] på vegne af Laurie [lauriekell at googlemail.com]
>>>> Sendt: 25. april 2013 12:10
>>>> Til: flr-list at flr-project.org
>>>> Emne: Re: [FLR-list] Missing SR relationships
>>>>
>>>> try
>>>>
>>>> bevholtAR1()
>>>> rickerAR1()
>>>>
>>>> On 25/04/13 09:51, Mark Payne wrote:
>>>>> Hi,
>>>>>
>>>>> I am trying to fit some stock-recruitment relationships using the FLSR classes - this is the first time that I've played with them, and I have to say, I am very impressed with what you have setup here. However, it seems that there are a few missing that should be there according to the help file. ?SRModels gives me a nice list of the available models, but when I try the classic ar1 models, I get the following errors:
>>>>>
>>>>>> data(nsher)
>>>>>> model(nsher) <- "bevholt.ar1"
>>>>> Error in do.call(value, list()) : could not find function "bevholt.ar1"
>>>>>> model(nsher) <- bevholt.ar1()
>>>>> Error: could not find function "bevholt.ar1"
>>>>>> model(nsher) <- "ricker.ar1"
>>>>> Error in do.call(value, list()) : could not find function "ricker.ar1"
>>>>>> model(nsher) <- ricker.ar1()
>>>>> Error: could not find function "ricker.ar1"
>>>>>
>>>>> Any ideas?
>>>>>
>>>>> Mark
>>>>> _______________________________________________
>>>>> 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
>>>
>>>
>>>
>>> _______________________________________________
>>> flr-list mailing list
>>> flr-list at flr-project.org
>>> https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/flr-list
>>>
>>
>>
> 
> 
> --
> Dr Iago Mosqueira
> 
> European Commission – Joint Research Center
> Institute for the Protection and Security of the Citizen (IPSC)
> Maritime Affairs Unit FISHREG – Scientific Support to Fisheries
> TP 051, Via Enrico Fermi 2749
> I-21027 Ispra (VA), Italy
> 
> Office : +39 0332 785413
> Fax: +39 0332 789658
> 
> iago.mosqueira at jrc.ec.europa.eu
> 
> http://fishreg.jrc.ec.europa.eu/home
> 
> _______________________________________________
> 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
> 


-- 
Dr Iago Mosqueira

European Commission – Joint Research Center
Institute for the Protection and Security of the Citizen (IPSC)
Maritime Affairs Unit FISHREG – Scientific Support to Fisheries
TP 051, Via Enrico Fermi 2749
I-21027 Ispra (VA), Italy

Office : +39 0332 785413
Fax: +39 0332 789658

iago.mosqueira at jrc.ec.europa.eu

http://fishreg.jrc.ec.europa.eu/home



More information about the flr-list mailing list