Skip to contents

the returned objective function has only one argument: the ABC variables that shall be mapped to ODE-model parameters.

Usage

makeObjective(
  experiments,
  modelName = NULL,
  distance,
  parMap = identity,
  simulate = NULL
)

Arguments

experiments

a list of simulation experiments

modelName

and model storage file as comment

distance

a function that calculates ABC scores

parMap

a function that transforms ABC variables into acceptable model parameters

simulate

closure that simulates the model

Value

an objective function