calc_msy: Calculate covariate-linked MSY over time

Description Usage Arguments

View source: R/calc_msy.R

Description

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.

Usage

1
calc_msy(output, cov_df, ntrajs = 1000)

Arguments

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)


cfree14/splink documentation built on Dec. 19, 2021, 2:57 p.m.