gadget_optimize.Rd
Evaluate a gadget model
locatoin of the gadget model
parameter input file
parameter output file
optimization parameters, can be the location of the optinfo file, gadgetfile object or NULL
additional arguments passed on to callGadget
path
if (FALSE) {
gd <- gadget.variant.dir('model_dir')
optinfo <- read.gadget.file('/',system.file('extdata','optinfo',package = 'Rgadget'))
gadget_optimize(gd,params.in = 'params.in',params.out = 'params.opt', control = optinfo)
}