View source: R/read.MFCLPseudo.r
read.MFCLPseudoSizeComp | R Documentation |
Reads in simulated length and weight size composition data from the MFCL generated file 'test_lw_sim' (or 'test_lw_sim_alt') and returns a partially complete object of MFCLPseudo. The 'catcheff' slot of the MFCLPseudo object is not filled.
read.MFCLPseudoSizeComp(
lw_sim = "test_lw_sim_alt",
projfrq = projfrq,
ctrl = "missing",
historical = FALSE
)
lw_sim |
A character string for the 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.MFCLPseudoSizeComp('test_lw_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.