SimulatorFn: Simulate double reading data

Description Usage Arguments Value Author(s) References Examples

View source: R/SimulatorFn.R

Description

A function to generate simulated double reading data with given properties

Usage

1
SimulatorFn(Nreaders, M, SelexForm, ErrorParams, BiasParams, SelexParams, ReadsMat, RecCv = 0.6, RecAr1 = 0.8, Amax = 100)

Arguments

Nreaders

The number of ageing readers

M

True natural mortality

SelexForm

Form of selectivity

ErrorParams

Error type

BiasParams

Bias type

SelexParams

Selectivity parameters

ReadsMat

Matrix describing number of reads per reader combination

RecCv

CV of recruitment

RecAr1

First-order autoregressive coefficient for recruitment

Amax

True maximum age

Value

Returns a simulated double read matrix

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.