calculatePEandSmsy: Calculate process error and SMSY.

Description Usage Arguments Value

Description

This function takes input and dat produced from the A & P files along with x (the posteriors) from getPosteriors(). It computes the process error estimates (MSE and autoCorr or mean and sterr) along with the SMSY for each posterior draw. It then assembles all these into a dataframe tDat and returns that.

Usage

1
calculatePEandSmsy(input, dat, postdraws)

Arguments

input

a list with the other values needed for a DM run. The following are examples naturalMort, analysisType = "DM", SRfunction, includeMarineSurvival, includeFlow

dat

data from the A & P file

postdraws

posterior list from getPostDraws() call

Value

A dataframe tDat with a column for posterior draws from each parameter and the smsy for each draw.


eeholmes/DM documentation built on May 26, 2019, 3:36 p.m.