mp | R Documentation |
An individual management procedure (MP) is run for a number of years, on an operating model, observation error model, control and arguments.
mp(
om,
oem = NULL,
iem = NULL,
control = ctrl,
ctrl = control,
args,
scenario = "NA",
tracking = "missing",
logfile = tempfile(),
verbose = !handlers(global = NA),
parallel = TRUE
)
om |
The operating model (OM), an object of class FLom or FLombf. |
oem |
The observation error model (OEM), an object of class FLoem. |
iem |
The implementation error model (IEM), an object of class FLiem. |
ctrl |
A control structure for the MP run, an object of class mpCtrl. |
args |
MSE arguments, list. Only 'iy', the intermediate (starting) year, is required. |
scenario |
Name of the scenario tested in this run, character. |
tracking |
Extra elements (rows) to add to the standard tracking FLQuant in its first dimensions, character. |
verbose |
Should output be verbose or not, logical. |
An object of class FLmse.
# dataset contains both OM (FLom) and OEM (FLoem)
data(sol274)
# Set control: sa and hcr
control <- mpCtrl(list(
est = mseCtrl(method=perfect.sa),
hcr = mseCtrl(method=hockeystick.hcr, args=list(lim=0,
trigger=41500, target=0.27))))
tes <- mp(om, oem=oem, ctrl=control, args=list(iy=2021, fy=2034))
tes3 <- mp(om, oem=oem, ctrl=control, args=list(iy=2021, fy=2034, frq=3))
plot(om, list(annual=tes, triannual=tes3))
# 'perfect.oem' is used if none is given
tes <- mp(om, ctrl=control, args=list(iy=2021, fy=2035))
plot(om, tes)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.