RunFn: Run the model

Description Usage Arguments Value Author(s) References Examples

View source: R/RunFn.R

Description

Writes DAT input file and runs the Punt et al. (2008) model programmed in ADMB

Usage

1
RunFn(Data, SigOpt, BiasOpt, NDataSets, MinAge, MaxAge, RefAge, MinusAge, PlusAge, MaxSd, MaxExpectedAge, SaveFile, EffSampleSize = 0, Intern = TRUE, AdmbFile = NULL, JustWrite = FALSE)

Arguments

Data
SigOpt
BiasOpt
NDataSets
MinAge
MaxAge
RefAge
MinusAge
PlusAge
MaxSd
MaxExpectedAge
SaveFile
EffSampleSize
Intern
AdmbFile
JustWrite

Value

This does not return any values, but instead generates ADMB model output in the chosen directory

Author(s)

James Thorson

References

Punt, A.E., Smith, D.C., KrusicGolub, K., and Robertson, S. 2008. Quantifying age-reading error for use in fisheries stock assessments, with application to species in Australias southern and eastern scalefish and shark fishery. Canadian Journal of Fisheries and Aquatic Sciences 65: 1991-2005.

Examples

1
2
3
4
5
#for example, please run:

example(nwfscAgeingError)

#Or consult R code

nwfscAgeingError documentation built on May 2, 2019, 5:23 p.m.