Reoptimizes selected cells from a legacy run_grid() result, starting
from each cell's last parameter vector.
Usage
rerun_grid(
grid,
bounds,
cells = NULL,
control = list(eval.max = 10000L, iter.max = 10000L),
n_passes = 3L
)Arguments
- grid
A
listof fitted model objects from a previousrun_gridcall.- bounds
A
listwithlowerandupperelements defining parameter bounds, created using theget_boundsfunction.- cells
Integer
vectorspecifying which grid cells to rerun. Default isNULL, which reruns all cells.- control
A
listof control parameters passed tonlminb. Default islist(eval.max = 10000, iter.max = 10000).- n_passes
Integer number of repeated
nlminbpasses per grid cell. Default is3.
Legacy status
These helpers predate canonical portable sbt_fit grid cells and the
current provenance and biological-state gates. They are retained for
compatibility and exploratory work. Production posterior grids should use
run_grid_mcmc() and grid_mcmc_to_tmbfit().
