Hi Laurie, below are some of my comments on the vignettes. Many of them deal with missing or incomplete help files and most of these functions are in packages other than mydas but improving the documentation should be beneficial for the whole FLR framework.

Mydas_conditioning vignette

Time Series Dynamics. It would be nice to be a bit more explicit about what is going on here. You are simulating a time series of F and apply that to the operating model, without feedback (F has already been decided) and without recruitment deviations etc.

Stochasticity. Now we are including recruitment variability but again there is a missing helpfile for FLCore::rlnoise()

Also, the term 'residuals' seems to be depreciated in fwd(); now called deviances Exploring sensitivity of equilibrium reference points - I think it would be nice to include the code in example-1.R in the conditioning vignette; just to show how you can vary the lh parameters. It might be nice to include the turbot om as a dataset in the package, then the other vignettes can skip all the parts about condidtioning the OM

Mydas_oem vignette

Catch per unit effort - you start by generating an unbiased index of total biomass using the function stock(). It is kind of difficult to figure out what this function does. I think it is total stock biomass. Might be handy to mention this.

Effort creep - if I understand it correctly the trend() function you define here increases catchability by 2% per year in this example. "Model an increase in catchabilty, e.g. due to an increase in catchability. In this example the catchability increases by 2% per year"

%=% I am always a bit confused by these special operators and find it difficult to get help. Could you explain what it does (I think it makes the value of stock(om) be 1). Neat. Anway, it is difficult to find a balance between how much to explain about R coding and how much you can assume. Just highlighting where my comfort zone ends....

Mydas_sra vignette

mydas_length vignette

Mydas_msy vignette * Could you add a bit explaining the first step is just adding noise to the OM and no model, no feedback at this stage. Explain why you are doing this.

Harvest Control Rule - Maybe explain that this is an example of a tuna? hcr.



flr/mydas documentation built on Jan. 19, 2024, 10:33 a.m.