<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">I think the help is older than the
      code!<br>
      <br>
      Laurie<br>
      <br>
      On 14/05/13 15:12, Mark Payne wrote:<br>
    </div>
    <blockquote
cite="mid:F94133E16E08E04D8D83797785A94EA20DB970@ait-pex02mbx05.win.dtu.dk"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
      <div style="direction: ltr;font-family: Tahoma;color:
        #000000;font-size: 10pt;">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?<br>
        <br>
        Mark<br>
        <br>
        <br>
        <div style="font-family: Times New Roman; color: #000000;
          font-size: 16px">
          <hr tabindex="-1">
          <div style="direction: ltr;" id="divRpF666112"><font size="2"
              face="Tahoma" color="#000000"><b>Fra:</b>
              <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å vegne af
              Laurie [<a class="moz-txt-link-abbreviated" href="mailto:lauriekell@googlemail.com">lauriekell@googlemail.com</a>]<br>
              <b>Sendt:</b> 25. april 2013 17:57<br>
              <b>Til:</b> <a class="moz-txt-link-abbreviated" href="mailto:flr-list@flr-project.org">flr-list@flr-project.org</a><br>
              <b>Emne:</b> Re: [FLR-list] Missing SR relationships<br>
            </font><br>
          </div>
          <div>
            <div class="moz-cite-prefix">Its the brackets <br>
              <br>
              <pre>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 type="cite">
              <pre>bevholtAR1 works, but not rickerAR1

</pre>
              <blockquote type="cite">
                <pre>model(nsher) <- rickerAR1
mdl <- fmle(nsher)
</pre>
              </blockquote>
              <pre>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>packageDescription("FLCore")
</pre>
              </blockquote>
              <pre>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 moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:flr-list-bounces@r-forge.wu-wien.ac.at" target="_blank">flr-list-bounces@r-forge.wu-wien.ac.at</a> [<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:flr-list-bounces@r-forge.wu-wien.ac.at" target="_blank">flr-list-bounces@r-forge.wu-wien.ac.at</a>] p&#229; vegne af Laurie [<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:lauriekell@googlemail.com" target="_blank">lauriekell@googlemail.com</a>]
Sendt: 25. april 2013 12:10
Til: <a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:flr-list@flr-project.org" target="_blank">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>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>data(nsher)
model(nsher) <- "bevholt.ar1"
</pre>
                </blockquote>
                <pre>Error in do.call(value, list()) : could not find function "bevholt.ar1"
</pre>
                <blockquote type="cite">
                  <pre>model(nsher) <- bevholt.ar1()
</pre>
                </blockquote>
                <pre>Error: could not find function "bevholt.ar1"
</pre>
                <blockquote type="cite">
                  <pre>model(nsher) <- "ricker.ar1"
</pre>
                </blockquote>
                <pre>Error in do.call(value, list()) : could not find function "ricker.ar1"
</pre>
                <blockquote type="cite">
                  <pre>model(nsher) <- ricker.ar1()
</pre>
                </blockquote>
                <pre>Error: could not find function "ricker.ar1"

Any ideas?

Mark
_______________________________________________
flr-list mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:flr-list@flr-project.org" target="_blank">flr-list@flr-project.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/flr-list" target="_blank">https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/flr-list</a>
</pre>
              </blockquote>
              <pre>_______________________________________________
flr-list mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:flr-list@flr-project.org" target="_blank">flr-list@flr-project.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/flr-list" target="_blank">https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/flr-list</a>
_______________________________________________
flr-list mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:flr-list@flr-project.org" target="_blank">flr-list@flr-project.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/flr-list" target="_blank">https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/flr-list</a>
</pre>
            </blockquote>
            <br>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <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>
</pre>
    </blockquote>
    <br>
  </body>
</html>