<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">Its the brackets <br>
      <br>
      <pre wrap="">return(FLPar(a = max(exp(res[1])), b = -max(res[2])<b>)</b>, rho = 0)</pre>
      <br>
      On 25/04/13 12:28, Mark Payne wrote:<br>
    </div>
    <blockquote
cite="mid:F94133E16E08E04D8D83797785A94EA20D8D22@ait-pex02mbx05.win.dtu.dk"
      type="cite">
      <pre wrap="">bevholtAR1 works, but not rickerAR1

</pre>
      <blockquote type="cite">
        <pre wrap="">model(nsher) <- rickerAR1
mdl <- fmle(nsher)
</pre>
      </blockquote>
      <pre wrap="">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
</pre>
      <blockquote type="cite">
        <pre wrap="">packageDescription("FLCore")
</pre>
      </blockquote>
      <pre wrap="">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: <a class="moz-txt-link-abbreviated" href="mailto:flr-list-bounces@r-forge.wu-wien.ac.at">flr-list-bounces@r-forge.wu-wien.ac.at</a> [<a class="moz-txt-link-abbreviated" href="mailto:flr-list-bounces@r-forge.wu-wien.ac.at">flr-list-bounces@r-forge.wu-wien.ac.at</a>] p&#229; vegne af Laurie [<a class="moz-txt-link-abbreviated" href="mailto:lauriekell@googlemail.com">lauriekell@googlemail.com</a>]
Sendt: 25. april 2013 12:10
Til: <a class="moz-txt-link-abbreviated" href="mailto:flr-list@flr-project.org">flr-list@flr-project.org</a>
Emne: Re: [FLR-list] Missing SR relationships

try

bevholtAR1()
rickerAR1()

On 25/04/13 09:51, Mark Payne wrote:
</pre>
      <blockquote type="cite">
        <pre wrap="">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:

</pre>
        <blockquote type="cite">
          <pre wrap="">data(nsher)
model(nsher) <- "bevholt.ar1"
</pre>
        </blockquote>
        <pre wrap="">Error in do.call(value, list()) : could not find function "bevholt.ar1"
</pre>
        <blockquote type="cite">
          <pre wrap="">model(nsher) <- bevholt.ar1()
</pre>
        </blockquote>
        <pre wrap="">Error: could not find function "bevholt.ar1"
</pre>
        <blockquote type="cite">
          <pre wrap="">model(nsher) <- "ricker.ar1"
</pre>
        </blockquote>
        <pre wrap="">Error in do.call(value, list()) : could not find function "ricker.ar1"
</pre>
        <blockquote type="cite">
          <pre wrap="">model(nsher) <- ricker.ar1()
</pre>
        </blockquote>
        <pre wrap="">Error: could not find function "ricker.ar1"

Any ideas?

Mark
_______________________________________________
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>
      <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>
_______________________________________________
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>