Skip to contents

Fit a model for each grid cell defined in grid where each grid cell has a different combination of fixed parameter values.

Usage

run_grid(
  data,
  grid,
  bounds,
  map = list(),
  random = c(),
  control = list(eval.max = 200, iter.max = 150)
)

Arguments

data

a list containing the data created using get_data.

grid

a list of parameter inputs for each grid cell.

bounds

the lower and upper parameter bounds.

map

a list defining how to optionally collect and fix parameters.

random

a character vector defining the random effect parameters.

control

a list defining the controls passed to nlminb.

Value

a list of grid cells.