Deterministic self test #420
-
I'm currently trying to set up a deterministic model run for a new scenario. Based on the vignette I use the following:
However is the changing of sigmaR not overwritten by the changing of natural mortality? The resulting df only has natural mortality for the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Thank you @kinmic for the question (which I have now moved to a Discussion - Question and Answer, rather than an Issue). The Introduction vignette has an example for when you want to change a single parameter in your estimation method. If I am understanding correctly, you would like to change more than one parameter in each of your scenarios?
But for your code, to change multiple parameters in the first scenario you will need to use single quotes around a vector if there are quotes in the vector. The vector that you supply for the other estimation method arguments must be as long as the vector of parameter names. Again, note that the example below is just to change your first scenario. If you wanted to do this for both scenarios just remove the indexing from the left side of the operator and it will supply the same information to both scenario 1 and scenario 2.
Please let me know if you have any additional questions. The Discussion board is a great place to get help and the Issues board can be searched for known bugs in the code or desired feature requests. |
Beta Was this translation helpful? Give feedback.
Ahh, I see. This is in fact a bug in the vignette. Thank you for bringing that to my attention. No wonder things were not working for you, again my apologies. The code should be