A function that uses the file location of a fitted iSCAM model including input files to population the various slots of an operating model parameter estimates. iSCAM2OM relies on several functions written by Chris Grandin (DFO PBS).
iSCAM2OM(
iSCAMdir,
nsim = 48,
proyears = 50,
mcmc = F,
Name = NULL,
Source = "No source provided",
length_timestep = 1,
Author = "No author provided"
)
A folder with iSCAM input and output files in it
The number of simulations to take for parameters with uncertainty (for OM@cpars custom parameters)
The number of MSE projection years
Whether to use mcmc samples to create custom parameters cpars
The name of the operating model
Reference to assessment documentation e.g. a url
How long is a model time step in years (e.g. a quarterly model is 0.25, a monthly model 1/12)
Who did the assessment