checkOMdims: Check Operating Model Dimensions

Description Usage Arguments

Description

Check that all dimensions of the operating model are consistent (e.g., number of years, ages, indices). Use all(unlist(checklist) == TRUE) to see if all checks passed.

Usage

1
2
checkOMdims(years, nAge, nInd, nyear1list, Rlist, Mlist, Flist, Wlist,
  indexlist, catcherrorlist, indexerrorlist, processerrorlist = FALSE)

Arguments

years

vector of years in operating model (OM)

nAge

number of ages in OM (assumed to start at age 1)

nInd

number of indices

nyear1list

N in first year list

Rlist

recruitment list

Mlist

natural mortality list

Flist

fishing mortality list

Wlist

weights at age list

indexlist

list of index lists

catcherrorlist

list for observation errors in catch

indexerrorlist

list of lists for observation errors in the indices

processerrorlist

list for process error in survival equation, default=FALSE


cmlegault/WKFORBIAS documentation built on May 30, 2019, 2:08 p.m.