| sampling.oem {mse} | R Documentation |
This observation error model (OEM) function mimics the most common data collection regime, in which catch-at-age and biology is sampled from the population, and one or more indices of abundance are derived from surveys or CPUE data.
sampling.oem(stk, deviances, observations, args, tracking)
stk |
An FLStock object as obtained by the call to stock(om). |
deviances |
A named list of deviances, see Details. |
observations |
A named list of observations, see Details. |
args |
Options and arguments passed on by mp(). |
tracking |
The tracking object. |
The FLStock object passed to sampling.oem by the mp function is simplified to match the dimensions of that present in the observations slot.
A named list with elements stk, idx, observations and tracking.
Iago Mosqueira (WUR) & Ernesto Jardim (MSC).
data(sol274) # Generate samples from year 2000:2016 sampling.oem(stock(om), deviances=deviances(oem), observations=observations(oem), args=list(y0=2000, dy=2021, frq=1), tracking=FLQuant())