This function calculates covariate-linked MSY based on (1) model estimates of the impact of the covariate on MSY and (2) a dataframe providing the covariate data overwhich to predict MSY.
1 | calc_msy(output, cov_df, ntrajs = 1000)
|
output |
Output of model fit |
cov_df |
Data frame containing: stockid, year, cov_col (which must already be scaled correctly) |
ntrajs |
Number of trajectories to bootstrap (defaut=1000) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.