The current version of the MSEtool
package is available
for download from CRAN.
plot.Data
Misc
information to PPD
for
MMSE
devtools
from Suggests and replace with
remotes
SS2MOM_plots
plotsSS2Data
SSMOM2OM
SS2OM
in
SSinternal
SS2MOM_plots
L95array
when Mat_age
passed in through cpars
SS2OM
when
report=TRUE
parallel=TRUE
in runMSE
and
multiMSE
. To run MPs in parallel, specify a named list with
the name of the MP(s) assigned as TRUE. For
example,parallel=list(AvC=TRUE
).summary.MMSE
generic functionLag_Data
function to be used internally in custom
MPs to lag all time-series data by specified number of time-steps (or
optionally only some data slots). See ?Lag_Data
for more
information.MOM
) to
(multiHist)
Real.Data.Map
to cpars
. This allows
mapping of simulated data across stocks in MOMs
where the
real data is not stock-specific; e.g., cases where MOM
includes male and female stocks but the real data in
cpars$Data
is not sex-specificrunMSE
can use the split-apply-combine technique to run
projections in parallel with argument parallel = "sac"
.
Implementation details and notable issues are documented in the help doc
?runMSE
. This is the fastest method for running simulations
but may not be suitable for all operating models and it may be more
difficult to troubleshoot errors.ASAP2Data
Assess2OM
multiHist
object (now
only returns biological information for fleet=1)gettaxa
function for species that are found in
FishBase database but not in FishLife databasejoinData
, joinHist
,
joinMSE
, and addMPs
functionsrunMSE
calculates vulnerable biomass from fishery
weight at age cpars$Wt_age_C
if provided.0.5 * VBiomass
(a legacy feature which is now removed). The
constraint is updated to 0.999 * Biomass
.OM
completeness and default values for
some parametersmultiMSE
parallel
in runMSE
can takes a
named list of MPsWHAM2OM
and ASAP2OM
to
import assessments into operating modelsAssess2MOM
to generate a multi-fleet operating model,
either for a 2-sex population where recruitment is predicted from female
spawning output, or a single-sex population.Assess2OM
supports Ricker stock-recruit
relationship.MMPs
OM@cpars$Len_age
is provided.MOM
(introduced in
3.4.0)Data@Misc$StockPars
(slot N_P
,
SSB_P
, etc.) during closed-loopusethis
for console messagesmakeRel
and makeMOM
with
methods for developing MICE relationships, e.g., density-dependent
M.multiMSE
uses
Wt_age_C
for catch fraction calculations.parallel
in runMSE
can now be
MP-specific by specifying a logical vector of length(MPs). This is
useful to apply slow-running MPs in parallel, while avoiding the
parallel overhead time for fast-running MPs.multiMSE
when growth and natural
mortality are time-varying. Internal code in HistMICE
,
qestMICE
, popdynMICE
and
popdynOneMICE
was updated for better readability, i.e.,
removing obsolete/redundant code and better references for array
dimensions.rfishbase
Awatea2OM
to import MCMC output from an Awatea
assessment model to openMSESS2MOM
and SS2OM
is one. The issue was
noticeable when the autocorrelation is high.plot_mov
for plotting movement matrices.ProjectMOM
and multiMSE
now drop the
multiHist
object from the MMSE
object unless
argument dropHist=FALSE
SSMOM2OM
where selectivity was NA when
fishing mortality was 0silent
option to SS2Data
cpars$Fec_age
)SSMOM2OM
where it was generating
redundant rec devsplot_SS2MOM
to compare MOM dynamics with SS3
predictionscpars$Wt_age_C
Hist@Ref$ByYear
control$D <- 'SBMSY'
OM@cpars$control$CAL="removals"
. Default is to
simulate only retained catch-at-length.OM@cpars$control$TAC="removals"
. Default is to for TAC to
refer to retained catch (i.e., removals will be greater than TAC if
there are discards)multiMSE
popdynOneTScpp
AddInd
in the
projection yearsStock
,
Fleet
, and Obs
objects (many thanks to Sarah
Valencia).XL2Data
for importing data from
CSVI_beta
, SpI_beta
, and
VI_beta
for the individual indices. Defaults to use
OM@beta
for all, unless a real index is supplied, e.g.,
OM@cpars$Data@Ind
, OM@cpars$Data@SpInd
, or
OM@cpars$Data@VInd
, or if supplied in cpars, e.g.,
OM@cpars$I_beta
OM@Ksd
was not implemented correctly (5e6e8c6).new('Data',..)
(issue #33)cpars$beta
and cpars$Esd
issue (issue
#34)This is a new major release of the MSEtool
package. It
is not backwards compatible with previous versions of
MSEtool
or DLMtool
.
MSEtool
package now contains all code related to generating
operating models, simulating fisheries dynamics, conducting management
strategy evaluation, and examining the results (previously in the
DLMtool
package). This change was primarily done to better
align the actual contents of the packages with the respective package
names.MSEtool
now only has a set of reference management
procedures (e.g., FMSYref
)MSEtool
V3+ as a dependency; i.e.,
installing and loading DLMtool
will also install and load
MSEtool
and make all functions for generating OMs,
conducting MSE, etc available.DLMtool
had recruitment to
age-1).Data
object now includes
age-0 (i.e., all age data must be length maxage+1
)