<div dir="ltr"><div><div><div>I suggest<br><br></div>(5, 12], (12, 20], ...<br><br></div>and some methods using grep for conversion. Then leave it to the user/developer<br><br></div>Laurie<br></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Wed, May 22, 2013 at 2:42 PM, Santiago Cerviño <span dir="ltr"><<a href="mailto:santiago.cervino@vi.ieo.es" target="_blank">santiago.cervino@vi.ieo.es</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">










<div link="blue" vlink="blue" lang="ES">

<div>

<p class="MsoNormal"><font color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">Hi,<u></u><u></u></span></font></p>

<p class="MsoNormal"><font color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy"><u></u> <u></u></span></font></p>

<p class="MsoNormal"><font color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy" lang="EN-GB">The way GADGET deals with
this is thorough text aggregation files that translate names to length bins in
the computations. Something like:<u></u><u></u></span></font></p>

<p class="MsoNormal"><font color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy" lang="EN-GB"><u></u> <u></u></span></font></p>

<p class="MsoNormal"><font color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy" lang="EN-GB"># nam    low      up<u></u><u></u></span></font></p>

<p class="MsoNormal"><font color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy" lang="EN-GB">Len1     1          5<u></u><u></u></span></font></p>

<p class="MsoNormal"><font color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy" lang="EN-GB">Len2     5          12<u></u><u></u></span></font></p>

<p class="MsoNormal"><font color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy" lang="EN-GB">Len3     12        20<u></u><u></u></span></font></p>

<p class="MsoNormal"><font color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy" lang="EN-GB">Len4     20        30<u></u><u></u></span></font></p>

<p class="MsoNormal"><font color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy" lang="EN-GB">…<u></u><u></u></span></font></p>

<p class="MsoNormal"><font color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy" lang="EN-GB"><u></u> <u></u></span></font></p>

<p class="MsoNormal"><font color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy" lang="EN-GB">If we do not like to have
many extra files, the use of labels with the boundaries (Len1_5, Len5_12, Len12_20,
etc) may also be a good option.<u></u><u></u></span></font></p>

<p class="MsoNormal"><font color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy" lang="EN-GB"><u></u> <u></u></span></font></p>

<p class="MsoNormal"><font color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy" lang="EN-GB">Santi<u></u><u></u></span></font></p>

<p class="MsoNormal"><font color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy" lang="EN-GB"><u></u> <u></u></span></font></p>

<div style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt">

<div>

<div>

<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size:12.0pt" lang="EN-GB"><u></u> <u></u></span></font></p>

</div>

<div class="MsoNormal" style="text-align:center" align="center"><font face="Times New Roman" size="3"><span style="font-size:12.0pt">

<hr align="center" size="2" width="100%">

</span></font></div>

<p class="MsoNormal"><b><font face="Tahoma"><span style="font-size:10.0pt;font-family:Tahoma;font-weight:bold" lang="EN-GB">De:</span></font></b><font face="Tahoma"><span style="font-size:10.0pt;font-family:Tahoma" lang="EN-GB">
<a href="mailto:flr-list-bounces@lists.r-forge.r-project.org" target="_blank">flr-list-bounces@lists.r-forge.r-project.org</a> [mailto:<a href="mailto:flr-list-bounces@lists.r-forge.r-project.org" target="_blank">flr-list-bounces@lists.r-forge.r-project.org</a>]
<b><span style="font-weight:bold">En nombre de </span></b>Laurie Ke</span></font><font face="Tahoma"><span style="font-size:10.0pt;font-family:Tahoma">ll<br>
<b><span style="font-weight:bold">Enviado el:</span></b> 22 May 2013 13:23<br>
<b><span style="font-weight:bold">Para:</span></b> <a href="mailto:flr-list@flr-project.org" target="_blank">flr-list@flr-project.org</a><br>
<b><span style="font-weight:bold">Asunto:</span></b> Re: [FLR-list] size</span></font><u></u><u></u></p>

</div><div><div class="h5">

<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size:12.0pt"><u></u> <u></u></span></font></p>

<div>

<div>

<div>

<div>

<p class="MsoNormal" style="margin-bottom:12.0pt"><font face="Times New Roman" size="3"><span style="font-size:12.0pt">There is an issue, boring
but may be important to agree on now, i.e. labeling of length bins.<u></u><u></u></span></font></p>

</div>

<p class="MsoNormal" style="margin-bottom:12.0pt"><font face="Times New Roman" size="3"><span style="font-size:12.0pt">What does a length bin
mean, i.e. if the "quant" dim represents length? and the values are
5, 10, ...?<u></u><u></u></span></font></p>

</div>

<p class="MsoNormal" style="margin-bottom:12.0pt"><font face="Times New Roman" size="3"><span style="font-size:12.0pt">In the mixdist package
these are the righthand boundaries i.e. they represent (0,5] and (5,10]. But if
they are the lefthand boundaries then they represent (5,10] and (10,INF]. Or
they could be midpoints. One option would be to explicitly label the bins with
the boundaries and then have methods for going backwards and forwards between
parametric and non-parametric methods. Or to have an attribute that tracks the
properties.<u></u><u></u></span></font></p>

</div>

<div>

<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size:12.0pt">Otherwise I can see a lot of time being wasted in stock assessments.
well more than normal.<u></u><u></u></span></font></p>

</div>

<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size:12.0pt">Laurie <u></u><u></u></span></font></p>

</div>

<div>

<p class="MsoNormal" style="margin-bottom:12.0pt"><font face="Times New Roman" size="3"><span style="font-size:12.0pt"><u></u> <u></u></span></font></p>

<div>

<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size:12.0pt">On Wed, May 22, 2013 at 1:07 PM, Ernesto <<a href="mailto:ernesto.jardim@jrc.ec.europa.eu" target="_blank">ernesto.jardim@jrc.ec.europa.eu</a>>
wrote:<u></u><u></u></span></font></p>

<div>

<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size:12.0pt">On 05/22/2013 12:02 PM, Ernesto wrote:<u></u><u></u></span></font></p>

<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size:12.0pt">On 05/22/2013 11:34 AM, Sarah Kraak wrote:<u></u><u></u></span></font></p>

<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size:12.0pt">Hi FLR-guys,<br>
<br>
As you know I am not an active FLR user, but last year I showed some interest
in whether you have size-based stuff in FLR (see attached email). In the
meanwhile Coilin Minto and myself have been working on something (also attached
- note this is a draft of the idea; at the moment we are working on the code to
get the final graphs out) which we are coding in R but which could/should
eventually been done in FLR. Perhaps you are interested.<br>
<br>
Cheers,<br>
Sarah<u></u><u></u></span></font></p>

<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size:12.0pt"><br>
Hi,<br>
<br>
Following Laurie's suggestion I've started a git repository for length<br>
methods in FLRhttps://<a href="http://github.com/ejardim/FLMethLen" target="_blank">github.com/ejardim/FLMethLen</a><br>
<br>
Maybe our first task should be o write down what we're doing with length<br>
data. Laurie's working on ALKs, so I guess you're interested in<br>
converting length frequencies to ages for stock assessment !? We (a4a)<br>
are working on OMs and how to generate them from length based data so<br>
that uncertainty on the growth model can be included in the MSE. Sarah<br>
and Colin Minto are working on selectivity. What else ?<br>
<br>
Best<br>
<br>
EJ<u></u><u></u></span></font></p>

</div>

<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size:12.0pt">Hi,<br>
<br>
I've updated the readme to reflect the latest messages.<u></u><u></u></span></font></p>

<div>

<div>

<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size:12.0pt"><br>
<br>
EJ<br>
<br>
-- <br>
Ernesto Jardim<<a href="mailto:ernesto.jardim@jrc.ec.europa.eu" target="_blank">ernesto.jardim@jrc.ec.europa.eu</a>><br>
Fisheries Scientist<br>
FISHREG – Scientific Support to Fisheries<br>
IPSC Maritime Affairs Unit<br>
EC Joint Research Center<br>
TP 051, Via Enrico Fermi 2749<br>
I-21027 Ispra (VA), Italy<br>
Office : <a href="tel:%2B39%200332%20785311" value="+390332785311" target="_blank">+39 0332 785311</a><br>
Fax: <a href="tel:%2B39%200332%20789658" value="+390332789658" target="_blank">+39
0332 789658</a><br>
<a href="https://fishreg.jrc.ec.europa.eu/" target="_blank">https://fishreg.jrc.ec.europa.eu/</a><br>
<br>
<br>
_______________________________________________<br>
flr-list mailing list<br>
<a href="mailto:flr-list@flr-project.org" target="_blank">flr-list@flr-project.org</a><br>
<a 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><u></u><u></u></span></font></p>

</div>

</div>

</div>

<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size:12.0pt"><u></u> <u></u></span></font></p>

</div>

</div></div></div>

</div>

</div>


<br>_______________________________________________<br>
flr-list mailing list<br>
<a href="mailto:flr-list@flr-project.org">flr-list@flr-project.org</a><br>
<a 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><br>
<br></blockquote></div><br></div>