writeResultsToFile: Save DM output.

Description Usage Arguments Value

Description

Write DM output (posteriors) to csv file and RData file.

Usage

1
writeResultsToFile(input, dat, tDat, mlEst, bdat, plist, filename)

Arguments

input

a list with the other values needed for a DM run. The following are the defaults used, but can be passed in to specify something different: naturalMort = c(0.5,0.4,0.3,0.2,0.1,0), analysisType = "DM", SRfunction = "ricker", covariates = "no", includeMarineSurvival = "no", includeFlow = "no"

dat

data from the A & P file

tDat

a data frame of the posteriors and calculated process error and Smsy for each draw. From calculatePEandSmsy().

mlEst

The maximum likelihood estimate for the four SR parameters

bdat

data for the bayesian specification of a DM run

filename

name to give the outputfiles file

population

Name of the population.

Value

nothing is returned but the csv and RData files are written.


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