Learn R Programming

spartan (version 3.0.2)

ensemble_abc_wrapper: Wrapper to allow EasyABC functions to run using Ensemble

Description

Provides a means of running the ensemble within the EasyABC methods. This method should be stated as the "model" argument of EasyABC methods such as ABC_sequential. Note that as arguments cannot be passed to the model function, these must be created before calling any EasyABC method (see code description for create_abc_settings_object. The created object most contain the simulation parameters, output measures, an ensemble object to be run, declared as built_ensemble, and whether or not the prior (and generated predictions) should be normalised (normalise). Should this object not exist an error message will be produced.

Usage

ensemble_abc_wrapper(x)

Arguments

x

Set of parameter values generated by an EasyABC method

Value

Ensemble prediction using parameter set in x