gadget_optimize: Evaluate a gadget model

View source: R/callGadget.R

gadget_optimizeR Documentation

Evaluate a gadget model

Description

Evaluate a gadget model

Usage

gadget_optimize(
  path,
  params.in = attr(path, "params_in"),
  params.out = attr(path, "params_out"),
  control = attr(path, "optinfo"),
  ...
)

Arguments

path

locatoin of the gadget model

params.in

parameter input file

params.out

parameter output file

control

optimization parameters, can be the location of the optinfo file, gadgetfile object or NULL

...

additional arguments passed on to callGadget

Value

path

Examples

## Not run: 
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)

## End(Not run)

gadget-framework/rgadget documentation built on July 20, 2022, 12:16 p.m.