read.MFCLPseudoCatchEffort: Read MFCLPseudo Catch and Effort

View source: R/read.MFCLPseudo.r

read.MFCLPseudoCatchEffortR Documentation

Read MFCLPseudo Catch and Effort

Description

Reads in simulated catch and effort data from the MFCL generated files 'catch_sim' and 'effort_sim' and returns a partially complete object of MFCLPseudo. The size composition slots of the MFCLPseudo object are not filled.

Usage

read.MFCLPseudoCatchEffort(
  catch = "catch_sim",
  effort = "effort_sim",
  projfrq = projfrq,
  ctrl = "missing",
  historical = FALSE
)

Arguments

catch

A character string for the 'catch_sim' input file name.

effort

A character string for the 'effort_sim' input file name.

projfrq

An MFCLFrq object for the projection period over which the pseudo data have been generated.

ctrl

An MFCLMSEControl.

historical

Boolean TRUE or FALSE If the simulated data include the historical period or just the projecion period.

Details

There are now several functions for reading pseudo data :

  • read.MFCLPseudo - reads both catch, effort and size comps. Works when you only have either pseudo length or weight composition data (e.g. skipjack).

  • read.MFCLCatchEffort - only reads in the simulated catch and effort data

  • read.MFCLPseudoSizeComp - only reads the size comp data from test_lw_sim but works when you have both length and weight data.

Value

An object of class MFCLPseudo.

See Also

MFCLprojControl MFCLFrq MFCLPar

Examples

## Not run: 
# Expanding an MFCLFrq, e.g. that was used from in an assessment
pseudo <- read.MFCLPseudoCatchEffort('catch_sim', 'effort_sim', projfrq, mseCtrl, historical=FALSE)

## End(Not run)

robscott3/FLR4MFCL documentation built on April 9, 2024, 3:31 p.m.