View source: R/read.MFCLPseudo.r
read.MFCLPseudoCatchEffort | R Documentation |
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.
read.MFCLPseudoCatchEffort(
catch = "catch_sim",
effort = "effort_sim",
projfrq = projfrq,
ctrl = "missing",
historical = FALSE
)
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. |
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.
An object of class MFCLPseudo.
MFCLprojControl
MFCLFrq
MFCLPar
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.