Skip to contents

Perform a retrospective analysis by sequentially removing recent years of data.

Usage

run_retrospective(data, parameters, map, obj, n_peels = 5)

Arguments

data

A list containing the model data structure.

parameters

A list containing the model parameters.

map

A list specifying which parameters are fixed or mapped.

obj

A fitted TMB model object created using MakeADFun.

n_peels

An integer specifying the number of retrospective peels to perform.

Value

A list containing obj_list and data_list for each retrospective peel.