<br><div>Hi,</div><br><div>Q1<span data-emoji-typing="true">:</span> Yes. For an FLStock there is a simplify() method, which you can call with</div><br><div>simplify(stock, dims="season")</div><br><div>and will take abundances in season 1 to represent the whole year, add up catches, and calculate a weighted mean across wts. It will then calculate harvest from survivors.</div><br><div>Have a go and let me know, it might need a bit more testing.</div><br><div>Q2<span data-emoji-typing="true">:</span> Are you using F or HR? If F, then usually values are for the time period specified, be it a month or a year<span data-emoji-typing="true">:</span> the value that would get you survivors at the end of the period from numbers at the start using N <em> exp(-1</em>(F + M)).</div><br><div>The FLStock plot in ggplotFL deals with seasonal objects, are you using the lattice-based one in FLCore?</div><br><div>I am dealing at the moment with seasonal FLStock objects, and even running seasonal forecasts wth FLasher. Happy to see if it all works for you.</div><br><div>Cheers,</div><br><br><div>Iago</div><br><div class="gmail_quote_attribution">On Aug 31 2018, at 8:07 am, Marc Taylor <marc.taylor@thuenen.de> wrote:</div><blockquote><br><div><div>I am using an FLStock object to record information from a simulation</div><div>model that is run at monthly time increments; i.e. the @season dimension</div><div>equals 12.</div><br><div>Q1. Is there a function in FLCore that can compute the yearly values</div><div>(i.e. collapse the season dimension)? I would write one for my purposes</div><div>if this doesn't exist, but I wanted to ask first. As far as I know,</div><div>there are only the compute functions for specific slots (e.g.</div><div>computeCatch), but not ones that operate on the whole object at once.</div><br><div>Q2. How would you recommend that I record mortality at the season (i.e.</div><div>monthly) level: I started off at having their units be "per year" rates,</div><div>but the default plot(stock) appears to sum the mortality values for the</div><div>yearly time series, rather than to average them, which would suggest</div><div>keeping them in "per season" units. This also seems to be consistent</div><div>with the output of SMS (one sums the seasonal values to arrive at the</div><div>yearly ones).</div><br><div>Hope these questions are clear for you!</div><br><div>Cheers, Marc</div><br><div>--</div><div>Dr. Marc Taylor</div><div>Marine Lebende Resourcen / Marine Living Resources</div><div>Thünen-Institut für Seefischerei / Thünen Institute of Sea Fisheries</div><div>Herwigstraße 31</div><div>27572 Bremerhaven, Germany</div><br><div>Tel: +49 471 94460-252</div><div>Mail: marc.taylor@thuenen.de</div><div>Web: www.thuenen.de</div><br><div>_______________________________________________</div><div>flr-list mailing list</div><div>flr-list@flr-project.org</div><div>https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/flr-list</div></div></blockquote>