-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
plotYieldCurve() #53
Comments
Ken, do you have code to share for plotting the yield curve in mizer?
Not really. It should be straight-forward: the function should take the result of a simulation and a vector of the species for which to make the yield curves. It should then run through each of the species, and for each species calculate yield for fishing mortalities in the range of, say, 0 to 2.
Ken
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#53>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AMp1gWWtzTJB5pau1Ke5-6hMKJThJ9k2ks5vexecgaJpZM4ch0H->.
|
Would this do? It could go into the summary functions. Ken #' Calculate the a yield curve of a species return( apply(as.matrix(F), 1, yield) ) } |
Thank you Ken. That code would calculate the yield in year 100 after the change in fishing effort starting from the current initial condition (because the default for How would you use the yield curve while calibrating the model? |
Hi @Kenhasteandersen , thanks for contributing your code. I have for now moved it to the mizerExperimental package because it needs some work before it fits in nicely with the rest of mizer, see sizespectrum/mizerExperimental#6. All non-core code that can be developed first in mizerExperimental should first be developed there. |
Mizer should have a function for plotting the yield curve. @Kenhasteandersen mentioned that he found the yield curve to be useful while calibrating a model. Ken, do you have code to share for plotting the yield curve in mizer?
The text was updated successfully, but these errors were encountered: