grid.fit: grid.fit

Description Usage Arguments

View source: R/fitmethod-gridSearch.R

Description

use grid search to fit a model to data

Usage

1
2
grid.fit(model.obj, data, verbose = FALSE, M = 3, delta = 0.1,
  grid.dim = 20, theta.init = NULL, cpp = FALSE, ...)

Arguments

model.obj

the model object

data

a mortalityData object

verbose

if TRUE, print details of fit to the screen

M

the number of rounds of grid search to use (see optimize.grid)

delta

the delta parameter (see optimize.grid)

grid.dim

the size of each dimension of the grid (see optimize.grid)

theta.init

if not NULL, the values around which the grid should be centered. if NULL, defaults will be used

cpp

if TRUE, use C++ version of the grid search algorithm (defaults to FALSE)

...

TODO


dfeehan/mortfit documentation built on Nov. 14, 2020, 9:04 p.m.