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, nyr_par_mu = 2, Author = "No author provided", report = F, silent = F )
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)
integer, the number of recent years to estimate vulnerability over for future projections
Who did the assessment
logical should a numbers at age reconstruction plot be produced?
logical should progress reporting be printed to the console?