<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style>
<!--
@font-face
        {font-family:"Cambria Math"}
@font-face
        {font-family:Calibri}
@font-face
        {font-family:"Eras Light ITC"}
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:#0563C1;
        text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
        {color:#954F72;
        text-decoration:underline}
span.EstiloCorreo17
        {font-family:"Calibri",sans-serif;
        color:windowtext}
.MsoChpDefault
        {font-family:"Calibri",sans-serif}
@page WordSection1
        {margin:70.85pt 3.0cm 70.85pt 3.0cm}
-->
</style><style type="text/css" id="owaParaStyle">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body fpstyle="1" ocsi="0" vlink="#954F72" link="#0563C1" lang="ES">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Hi,<br>
<br>
I need to make qapply loop over the predictModel slots too and check that median works, which it should.<br>
<br>
<a href="https://github.com/flr/FLCore/issues/32" target="_blank">https://github.com/flr/FLCore/issues/32</a><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="divRpF308955" style="direction: ltr;"><font size="2" face="Tahoma" color="#000000"><b>From:</b> flr-list-bounces@lists.r-forge.r-project.org [flr-list-bounces@lists.r-forge.r-project.org] on behalf of Dorleta Garcia [dgarcia@azti.es]<br>
<b>Sent:</b> 17 March 2017 10:42<br>
<b>To:</b> flr-list@flr-project.org<br>
<b>Subject:</b> [FLR-list] qapply and predictModel slots<br>
</font><br>
</div>
<div></div>
<div>
<div class="WordSection1">
<p class="MsoNormal">Hi,</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"><span lang="EN-US">I have an FLBiol object with iterations and I want to build a new  FLBiol object with the median of the original object. Before, ‘qapply’ and iterMedians methods could be combined to create it easily. Now as some of the
 slots are of  class ‘predictModel’  the method does not work. In the predictModel slots I’m really using FLQuants, not models, so I was expecting to obtain the median of these slots.</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US">Is there a tidy and clean way to do it now?</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US">Thanks and Cheers,</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US">Dorleta</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<table class="MsoNormalTable" style="border-collapse:collapse" cellspacing="0" cellpadding="0" border="0">
<tbody>
<tr>
<td style="width:448.9pt; border:none; border-bottom:solid #9B633B 1.0pt; padding:0cm 5.4pt 0cm 5.4pt" valign="top" width="599">
<p class="MsoNormal"><b><span style="font-size:12.0pt; color:#9B633B">Dorleta Garcia</span></b><b><span style="font-size:12.0pt; color:#9B633B"></span></b></p>
<p class="MsoNormal"><span style="font-size:10.0pt; color:#5E6E65">AZTI. Gestión Pesquera Sostenible.
</span><i><span style="font-size:10.0pt; color:#5E6E65" lang="EN-US">Sustainable Fisheries Management</span></i><span style="font-size:10.0pt; color:#5E6E65" lang="EN-US">. Arrantza-kudeaketa Jasangarria</span></p>
<p class="MsoNormal"><span style="font-size:4.0pt; color:#5E6E65" lang="EN-US"><br>
</span><span style="font-size:10.0pt; color:#5E6E65" lang="PT">Txatxarramendi Ugartea z/g. E-48395 Sukarrieta - BIZKAIA (Spain)</span></p>
<p class="MsoNormal"><span style="font-size:10.0pt; color:#5E6E65" lang="PT">T. +34 667 17 44 03</span></p>
<p class="MsoNormal"><span style="font-size:10.0pt; color:#5E6E65" lang="PT">| Mail:
</span><span style="font-size:10.0pt" lang="PT"><a href="mailto:dgarcia@azti.es" target="_blank"><span style="color:blue">dgarcia@azti.es</span></a><span style="color:#5E6E65">
</span></span></p>
<p class="MsoNormal"><span style="" lang="PT"> </span></p>
</td>
</tr>
<tr>
<td style="width:448.9pt; border:none; border-bottom:solid #9B633B 1.0pt; padding:0cm 5.4pt 0cm 5.4pt" valign="top" width="599">
<p class="MsoNormal"><span style="" lang="PT"> </span></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><span style="position:absolute; z-index:251659264; margin-left:260px; margin-top:11px; width:151px; height:68px"><a href="http://flbeia.azti.es/" target="_blank"><img src="cid:image002.jpg@01D29F0B.3BE389B0" title="http://flbeia.azti.es/" style="width:1.5729in; height:.7083in" height="68" width="151" border="0"></a></span><span style="font-size:10.0pt; color:#5E6E65" lang="PT"></span></p>
<p class="MsoNormal"><span style="">
<table cellspacing="0" cellpadding="0" align="left">
<tbody>
<tr>
<td height="0" width="16"></td>
</tr>
<tr>
<td></td>
<td><img src="cid:image004.jpg@01D29F0B.3BE389B0" style="width:2.1145in; height:.5625in" height="54" width="203"></td>
</tr>
</tbody>
</table>
</span><br style="" clear="ALL">
<span style="" lang="PT"></span></p>
<table class="MsoNormalTable" style="border-collapse:collapse" cellspacing="0" cellpadding="0" border="0">
<tbody>
<tr style="height:21.0pt">
<td rowspan="5" style="width:28.8pt; padding:0cm 0cm 0cm 0cm; height:21.0pt" valign="top" width="38">
<p class="MsoNormal" style="margin-bottom:3.75pt; line-height:12.75pt"><span style="font-size:10.0pt; color:#929F95; border:none windowtext 1.0pt; padding:0cm"><img id="Imagen_x0020_24" src="cid:image005.jpg@01D29F0A.C18C9170" alt="cid:image003.jpg@01D1CE1F.1DB675A0" style="width:.2604in; height:.2604in" height="25" width="25" border="0"></span><span style="font-size:10.0pt; color:#929F95; border:none windowtext 1.0pt; padding:0cm" lang="EN-US"></span></p>
</td>
<td rowspan="5" style="width:5.0cm; padding:0cm 0cm 0cm 0cm; height:21.0pt" valign="top" width="189">
<p class="MsoNormal" style="text-autospace:none"><b><span style="font-size:8.0pt; color:#4E5758" lang="PT">SEDE CENTRAL</span></b><b><span style="font-size:8.0pt; color:#4E5758" lang="PT"></span></b></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:8.0pt; color:#4E5758" lang="PT">Txatxarramendi Ugartea z/g</span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:8.0pt; color:#4E5758" lang="PT">E-48395 Sukarrieta - BIZKAIA (Spain)</span><span style="font-size:8.0pt" lang="PT"></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:8.0pt; color:#4E5758" lang="PT"> </span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:8.0pt; color:#4E5758" lang="PT">Parque Tecnológico de Bizkaia</span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:8.0pt; color:#4E5758" lang="PT">Astondo Bidea, Edificio 609</span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:8.0pt; color:#4E5758" lang="PT">E-48160 Derio – BIZKAIA (Spain)</span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:8.0pt" lang="PT"> </span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:8.0pt; color:#4E5758" lang="PT">Herrera Kaia - Portualdea z/g</span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:8.0pt; color:#4E5758">E-20110 Pasaia – GIPUZKOA (Spain)</span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:8.0pt; color:#4E5758"> </span></p>
</td>
<td style="width:30.3pt; padding:0cm 0cm 0cm 0cm; height:21.0pt" valign="top" width="40">
<p class="MsoNormal" style="margin-bottom:3.75pt; line-height:12.75pt"><span style="font-size:8.0pt; color:#929F95; border:none windowtext 1.0pt; padding:0cm"><img id="Imagen_x0020_25" src="cid:image006.jpg@01D29F0A.C18C9170" alt="cid:image004.jpg@01D1CE1F.1DB675A0" style="width:.2604in; height:.2604in" height="25" width="25" border="0"></span><span style="font-size:8.0pt; color:#929F95; border:none windowtext 1.0pt; padding:0cm" lang="EN-US"></span></p>
</td>
<td style="width:191.35pt; padding:0cm 0cm 0cm 0cm; height:21.0pt" width="255">
<p class="MsoNormal" style="line-height:9.0pt; text-autospace:none"><span style="font-size:8.0pt; color:#4E5758" lang="PT">T. (+34) 946 574 000</span><span style="font-size:8.0pt; font-family:"Eras Light ITC",sans-serif; color:#4E5758" lang="PT">
</span><span style="font-size:8.0pt; font-family:"Eras Light ITC",sans-serif; color:#4E5758">/
</span><span style="font-size:8.0pt; color:#4E5758" lang="PT">F. (+34) 946 572 555</span><span style="font-size:8.0pt; color:#929F95; border:none windowtext 1.0pt; padding:0cm" lang="EN-US"></span></p>
</td>
<td colspan="2" style="width:57.0pt; padding:0cm 0cm 0cm 0cm; height:21.0pt" width="76">
<p class="MsoNormal"><span style=""> </span><span style=""></span></p>
</td>
</tr>
<tr style="height:19.5pt">
<td style="width:30.3pt; padding:0cm 0cm 0cm 0cm; height:19.5pt" valign="top" width="40">
<p class="MsoNormal" style="margin-bottom:3.75pt; line-height:12.75pt"><span style="font-size:8.0pt; color:#929F95; border:none windowtext 1.0pt; padding:0cm"><img id="Imagen_x0020_26" src="cid:image007.jpg@01D29F0A.C18C9170" alt="cid:image005.jpg@01D1CE1F.1DB675A0" style="width:.2604in; height:.2604in" height="25" width="25" border="0"></span><span style="font-size:8.0pt; color:#929F95; border:none windowtext 1.0pt; padding:0cm" lang="EN-US"></span></p>
</td>
<td style="width:191.35pt; padding:0cm 0cm 0cm 0cm; height:19.5pt" width="255">
<p class="MsoNormal" style="line-height:9.0pt; text-autospace:none"><span style="font-size:8.0pt; color:#4E5758" lang="PT">E-mail:
</span><span style=""><a href="mailto:info@azti.es" target="_blank"><span style="font-size:8.0pt; color:#5E6E65" lang="PT">info@azti.es</span></a></span><span style="font-size:8.0pt; color:#4E5758" lang="PT"></span></p>
</td>
<td colspan="2" style="width:57.0pt; padding:0cm 0cm 0cm 0cm; height:19.5pt" width="76">
<p class="MsoNormal"><span style="" lang="PT"> </span><span style="" lang="PT"></span></p>
</td>
</tr>
<tr style="height:27.0pt">
<td style="width:30.3pt; padding:0cm 0cm 0cm 0cm; height:27.0pt" valign="top" width="40">
<p class="MsoNormal" style="margin-bottom:3.75pt; line-height:12.75pt"><span style="font-size:8.0pt; color:#929F95; border:none windowtext 1.0pt; padding:0cm"><img id="Imagen_x0020_27" src="cid:image008.jpg@01D29F0A.C18C9170" alt="cid:image006.jpg@01D1CE1F.1DB675A0" style="width:.2604in; height:.2604in" height="25" width="25" border="0"></span><span style="font-size:8.0pt; color:#929F95; border:none windowtext 1.0pt; padding:0cm" lang="PT"></span></p>
</td>
<td style="width:191.35pt; padding:0cm 0cm 0cm 0cm; height:27.0pt" width="255">
<p class="MsoNormal" style="line-height:9.0pt; text-autospace:none"><span style=""><a href="http://www.azti.es/" target="_blank"><b><span style="font-size:8.0pt; color:#5E6E65" lang="PT">www.azti.es</span></b></a></span><b><span style="font-size:8.0pt; color:#4E5758" lang="PT"></span></b></p>
</td>
<td colspan="2" style="width:57.0pt; padding:0cm 0cm 0cm 0cm; height:27.0pt" width="76">
<p class="MsoNormal"><span style=""> </span><span style=""></span></p>
</td>
</tr>
<tr style="height:27.0pt">
<td style="width:30.3pt; padding:0cm 0cm 0cm 0cm; height:27.0pt" valign="top" width="40">
<p class="MsoNormal" style="margin-bottom:3.75pt; line-height:12.75pt"><b><span style="font-size:8.0pt; color:#9B633B"><img id="Imagen_x0020_28" src="cid:image009.jpg@01D29F0A.C18C9170" alt="cid:image007.jpg@01D1CE1F.1DB675A0" style="width:.2604in; height:.2604in" height="25" width="25" border="0"></span></b><span style="font-size:8.0pt; color:#929F95; border:none windowtext 1.0pt; padding:0cm"></span></p>
</td>
<td style="width:191.35pt; padding:0cm 0cm 0cm 0cm; height:27.0pt" valign="top" width="255">
<p class="MsoNormal" style="line-height:9.0pt; text-autospace:none"><span style="font-size:8.0pt; color:#4E5758" lang="PT"> </span></p>
<p class="MsoNormal" style="line-height:9.0pt; text-autospace:none"><span style=""><a href="http://www.azti.es/es/newsletters/" target="_blank"><b><span style="font-size:8.0pt; color:#5E6E65; text-decoration:none" lang="PT">NEWSLETTERS</span></b></a></span><span style="font-size:8.0pt" lang="EN-US"></span></p>
</td>
<td colspan="2" style="width:57.0pt; padding:0cm 0cm 0cm 0cm; height:27.0pt" width="76">
<p class="MsoNormal"><span style="" lang="EN-US"> </span></p>
</td>
</tr>
<tr style="height:27.0pt">
<td colspan="2" style="width:221.65pt; padding:0cm 0cm 0cm 0cm; height:27.0pt" valign="top" width="296">
<p class="MsoNormal" style="margin-top:3.0pt; text-autospace:none"><span style="" lang="EN-US"> </span></p>
</td>
<td colspan="2" style="width:57.0pt; padding:0cm 0cm 0cm 0cm; height:27.0pt" width="76">
<p class="MsoNormal"><span style="" lang="EN-US"> </span><span style="" lang="EN-US"></span></p>
</td>
</tr>
<tr>
<td colspan="5" style="width:441.9pt; border:none; border-bottom:solid #9B633B 1.0pt; padding:0cm 5.4pt 0cm 5.4pt" valign="top" width="589">
<p class="MsoNormal"><span style="" lang="EN-US"> </span></p>
</td>
<td style="width:7.5pt; padding:0cm 0cm 0cm 0cm" width="10">
<p class="MsoNormal"><span style=""> </span><span style=""></span></p>
</td>
</tr>
<tr>
<td style="width:28.5pt; padding:0cm 0cm 0cm 0cm" width="38"></td>
<td style="width:5.0cm; padding:0cm 0cm 0cm 0cm" width="189"></td>
<td style="width:30.0pt; padding:0cm 0cm 0cm 0cm" width="40"></td>
<td style="width:191.25pt; padding:0cm 0cm 0cm 0cm" width="255"></td>
<td style="width:49.5pt; padding:0cm 0cm 0cm 0cm" width="66"></td>
<td style="width:7.5pt; padding:0cm 0cm 0cm 0cm" width="10"></td>
</tr>
</tbody>
</table>
<p class="MsoNormal" style="margin-right:0cm; margin-bottom:3.75pt; margin-left:0cm; line-height:11.25pt">
<span style="font-size:7.0pt; color:gray">AVISO LEGAL. Este mensaje es personal y confidencial y su uso no autorizado está prohibido legalmente. Si usted no es el destinatario, proceda a borrarlo, sin reenviarlo ni conservarlo.<br>
Por favor, piensa en el medio ambiente antes de imprimir.</span><span style="font-size:7.0pt; color:gray"></span></p>
<p class="MsoNormal" style="margin-right:0cm; margin-bottom:3.75pt; margin-left:0cm; line-height:11.25pt">
<i><span style="font-size:7.0pt; color:gray" lang="EN-US">DISCLAIMER. This message is personal and confidential, unauthorised use is legally prohibited. If you are not the intended recipient, delete it without resending or backing it.
<br>
Please, consider the environment before printing this email.</span></i></p>
<p class="MsoNormal" style="margin-right:0cm; margin-bottom:3.75pt; margin-left:0cm; line-height:11.25pt">
<span style="font-size:7.0pt; color:gray" lang="EN-US">LEGE OHARRA. </span><span style="font-size:7.0pt; color:gray">Mezu hau pertsonala eta isilpekoa da eta baimenik gabeko erabileradebekatua dago legalki. Jasotzailea ez bazara ezabatu mezua, bidali eta kontserbatu
 gabe. <br>
</span><span style="font-size:7.0pt; color:gray" lang="PT">Mesedez, pentsatu ingurugiroan inprimatu baino lehen.</span><span style="color:gray" lang="PT"></span></p>
<p class="MsoNormal"> </p>
</div>
</div>
</div>
</div>
</body>
</html>