Combine all of the variances determined from DEPM parameter functions in this package. The structure of this object is compatible with the Estimate_biomass() function to facilitate its use. If multiple time steps/Regions are included then parameter variances specific to those surveys will be combined. Parameters that are used across years (for example a constant sex ratio) will automatically be included for each survey even if other parameters are being specified for specific steps/Regions.

combine_variances(P0, R, S, W_F = NULL)

Arguments

P0

The results of Estimate_P0() which can include several egg mortalities (Z). Can be specified for each Time/Region combination if necessary

R

A data.frame of sex ratios. Can be specified for each Time/Region combination if necessary

S

A data.frame of spawning fractions. Can be specified for each Time/Region combination if necessary

W_F

The results of Estimate_mean_W_F(). This is optional and only required if using the standard DEPM methods. Can be specified for each Time/Region combination if necessary

Value

A data.frame of DEPM parameters compatible with the Estimate_biomass() function