| trendMSY | R Documentation | 
trendMSY subdivides the range of the successful K values into a set of classes of width 'inc' and for each class calculates the mean (geometric mean) of the MSY for the subset of r and K values. This enables the central value of MSY to be plotted on the scatter of successful points.
trendMSY(inr, inK, inc = 100)
| inr | the set of r values to be tested, derives from summarycMSY | 
| inK | the set of K values to be tested, derives from summarycMSY | 
| inc | the class width of the K classes | 
a matrix of r, K and MSY values
## Not run: 
 data(invert)
 fish <- invert$fish 
 glb <- invert$glb 
 reps <- 5000  # one would run at least 20000, preferably more 
 answer <- run_cMSY(fish,glb,n=reps,sigpR=0.04) 
 summcMSY <- summarycMSY(answer,fish,final=TRUE) 
 trendMSY(summcMSY$r,summcMSY$K,inc=200) 
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.