<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style>
<!--
@font-face
        {font-family:Calibri}
@font-face
        {font-family:Tahoma}
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif"}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif"}
span.EmailStyle17
        {font-family:"Calibri","sans-serif";
        color:windowtext}
span.BalloonTextChar
        {font-family:"Tahoma","sans-serif"}
.MsoChpDefault
        {font-family:"Calibri","sans-serif"}
@page WordSection1
        {margin:3.0cm 2.0cm 3.0cm 2.0cm}
-->
</style><style type="text/css" id="owaParaStyle">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body fpstyle="1" ocsi="0" vlink="purple" link="blue" lang="DA">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Hi,<br>
<br>
I have recovered the argument, and committed to github. You would need to install the pkg from source to test it, but you can always do<br>
<br>
source("https://raw.githubusercontent.com/flr/FLasher/master/R/window.R")<br>
<br>
after library(FLasher)<br>
<br>
Cheers,<br>
<br>
<br>
Iago<br>
<div><br>
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px"><font face="Courier New"><br>
-- <br>
Dr Iago Mosqueira<br>
<br>
European Commission<br>
DG Joint Research Centre<br>
Directorate D - Sustainable Resources <br>
Unit D.02 Water and Marine Resources<br>
<br>
TP 051, Via Enrico Fermi 2749<br>
I-21027 Ispra (VA), Italy<br>
<br>
Phone : +39 0332 785413<br>
<br>
iago.mosqueira@ec.europa.eu</font></div>
</div>
</div>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div id="divRpF826951" style="direction: ltr;"><font color="#000000" size="2" face="Tahoma"><b>From:</b> flr-list-bounces@lists.r-forge.r-project.org [flr-list-bounces@lists.r-forge.r-project.org] on behalf of Clara Ulrich [clu@aqua.dtu.dk]<br>
<b>Sent:</b> 05 October 2017 15:41<br>
<b>To:</b> flr-list@flr-project.org<br>
<b>Subject:</b> [FLR-list] disc.nyears in stf FLasher<br>
</font><br>
</div>
<div></div>
<div>
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US">Dear all, </span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US">I have already mentioned this previously, and it has already been corrected in FLAssess earlier, but it seems to me that the stf() function in FLasher is again missing the argument disc.nyears. This one is used if one
 want to use a different number of years for averaging the proportion of landings vs. discards than the generic wts.years used for averaging mean weight  at age…</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US">Could it be possible to get this back again in Flasher? We have a number of stocks where such choices are made. 
</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US">Thanks!!</span></p>
<p class="MsoNormal"><span lang="EN-US">Clara</span></p>
</div>
</div>
</div>
</div>
</body>
</html>