Skip to contents

Run a grid again

Usage

rerun_grid(
  grid,
  bounds,
  cells = NULL,
  control = list(eval.max = 10000, iter.max = 10000)
)

Arguments

grid

A list of fitted model objects from a previous run_grid call.

bounds

A list with lower and upper elements defining parameter bounds, created using the get_bounds function.

cells

Integer vector specifying which grid cells to rerun. Default is NULL, which reruns all cells.

control

A list of control parameters passed to nlminb. Default is list(eval.max = 10000, iter.max = 10000).

Value

A list of refitted model objects (TMB ADFun objects).