mcsiple / mmrefpoints

A package for simulating marine mammal abundance and calculating reference points.
Other
3 stars 5 forks source link

AEP comments 13-19 #37

Closed mcsiple closed 3 years ago

mcsiple commented 3 years ago

13_pop_vs_yield

14_plot_yield_curve

17_plot_proj

x


and it crashed. Looks like `spaghetti`  isn’t working.

**18_multiplot_proj**
- [x] There were some glitches with the example
- [ ]`plotyears` needs to be defined in the example (now fixed it as 50)
- [x] Running with “spaghetti=5” worked but produced weird results

**19_graddar**
- [ ] Quite a few warnings when I run the example
mcsiple commented 3 years ago

13: Fixed with 8caca529 . Still need to add range for z checks 14: I have broken the code at some point and need to come back to it I think. Yuck!! commits 8f30edc7 thru f0bc83eb

mcsiple commented 3 years ago

14: TheMNPL and z values that go into this equation in the app go in the following flow: 1) the user specifying an MNPL (we agreed that this was more straightforward than the user entering z), 2) user-specified MNPL is used to calculate z 3) z is then used in this function. So only in the example is there an input that comes Since the MNPL and z used here will always be linked in the app, it makes sense for them to both be inputs. I will add a check to make sure that if there is a Shiny session running, both z and MNPL_in can be specified (time saver), otherwise only z should be entered. Need to fix upstream stuff.

mcsiple commented 3 years ago

Fixed so that it checks whether z is between -0.5 and 6 with commit 91b22aaa Need to return to this later!

mcsiple commented 3 years ago

17

18

19