xsa.sa: An FLXSA estimator module for the mse package

View source: R/xsa.sa.R

xsa.saR Documentation

An FLXSA estimator module for the mse package

Description

The 'mse' package can use different stock assessment methods as modules in the estimation step of a management procedure. This functions provides such a module for FLXSA. As a flag for convergence, the returned tracking FLQuant contains the number of maximum number of iterations (maxit).

Usage

xsa.sa(stk, idx, args, tracking, ...)

Arguments

stk

An FLStock.

idx

An FLIndices.

args

Arguments for call to mp(), list.

tracking

Tracking FLQuant.

Value

A list containing the updated FLStock, and the tracking FLQuant.

Examples

data(ple4)
data(ple4.index)
xsa.sa(stk=ple4, idx=ple4.index, args=list(ay=2018),
 tracking=FLQuant(dimnames=list(quant='conv.est', year=2018)))

flr/FLXSA documentation built on Dec. 6, 2024, 9:20 a.m.