gadget.retro runs an analytical retrospective model fitting run.

gadget.retro(
  path = ".",
  main.file = "main",
  params.file = "params.in",
  optinfofile = "optinfofile",
  num.years = 5,
  pre = "RETRO",
  iterative = FALSE,
  ...
)

Arguments

path

location of the Gadget model, all filenames are relative to the path

main.file

name of the main file, defaults to 'main'

params.file

name of the starting parameter value file, defaults to 'params.in'

optinfofile

name of the file containing the optimizer settings, defaults to 'optinfofile'

num.years

number of years (models) should be used, defaults to 5 yeaes

pre

location of the model runs, defaults to 'RETRO'

iterative

logical should the iterative reweighting be used, defaults FALSE

...

additional parameter passed gadget.iterative

Value

null

Examples

if (FALSE) {
gadget.retro(iterative =TRUE)
}