retrospective: Retrospective analysis of assessment models

Description Usage Arguments Value Author(s) Examples

View source: R/report_core.R

Description

Perform a retrospective analysis, successive removals of most recent years of data to evaluate resulting parameter estimates.

Usage

1
2
retrospective(Assessment, nyr = 5, figure = TRUE, save_figure = TRUE,
  save_dir = tempdir())

Arguments

Assessment

An S4 object of class Assessment.

nyr

The maximum number of years to remove for the retrospective analysis.

figure

Indicates whether plots will be drawn.

save_figure

Indicates whether figures will be saved to directory.

save_dir

The directory to which figures will be saved. By default: getwd()

Value

A list with an array of model output and of model estimates from the retrospective analysis.

Figures showing the time series of biomass and exploitation and parameter estimates with successive number of years removed. Returns invisibly a list of model output and model estimates.

Author(s)

Q. Huynh

Examples

1
2
output <- DD_TMB(Data = DLMtool::Red_snapper)
get_retro <- retrospective(output, nyr = 5, figure = FALSE)

MSEtool documentation built on Oct. 17, 2018, 9:04 a.m.