[FLR-list] Missing SR relationships

Laurie lauriekell at googlemail.com
Thu Apr 25 12:30:29 CEST 2013


need to revist!

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



More information about the flr-list mailing list