Subset the custom parameters of an operating model by simulation and projection years
SubCpars(x, ...) # S4 method for OM SubCpars(x, sims = 1:x@nsim, proyears = x@proyears) # S4 method for MOM SubCpars(x, sims = 1:x@nsim, proyears = x@proyears)
Arguments for method.
A logical vector of length
x@nsim to either retain (TRUE) or remove (FALSE).
Alternatively, a numeric vector indicating which simulations (from 1 to nsim) to keep.
If provided, a numeric to reduce the number of projection years (must be less than
Useful function for running multiMSE in batches if running into memory constraints.