Skip to contents

Set up a grid

Usage

get_grid(
  par,
  m0 = c(0.4, 0.45, 0.5),
  m10 = c(0.065, 0.085, 0.105),
  h = c(0.55, 0.63, 0.72, 0.8),
  psi = c(1.5, 1.75, 2)
)

Arguments

par

a list containing the parameter inputs.

m0

the M0 values to be included in the grid.

m10

the M10 values to be included in the grid.

h

the h values to be included in the grid.

psi

the psi values to be included in the grid.

Value

a list of parameter inputs ready to be passed to MakeADFun.

Examples

Param <- get_parameters()
Grid <- get_grid(par = Param)