turboSim {turboEM} | R Documentation |
Conduct benchmark studies of EM accelerator
Description
The turboSim
function conducts benchmark studies to compare performance of multiple acceleration schemes over a large number of repetitions. The turboSim
function outputs objects of class turbosim
.
Usage
turboSim(parmat, fixptfn, objfn, method = c("em","squarem","pem","decme","qn"),
boundary, pconstr = NULL, project = NULL, parallel = FALSE, method.names,
keep.pars = FALSE, ..., control.method = replicate(length(method),list()),
control.run = list())
Arguments
parmat |
A matrix of starting parameter values, where each row corresponds to a single benchmark study repetition. |
fixptfn |
A vector function, |
objfn |
This is a scalar function, |
method |
Specifies which algorithm(s) will be applied. Must be a vector containing one or more of |
boundary |
Argument required for Dynamic ECME ( |
pconstr |
Optional function for defining boundary constraints on parameter values. Function maps a vector of parameter values to TRUE if constraints are satisfied. Note that this argument is only used for the Squarem ( |
project |
Optional function for defining a projection that maps an out-of-bound parameter value into the constrained parameter space. Requires the |
parallel |
Logical indicating whether the repetitions of the benchmark study will be run in parallel. Note that the parallel implementation is based on the |
method.names |
Vector of unique names that identify the algorithms being compared. |
keep.pars |
Logical indicating whether the parameter values at termination should be kept. Defaults to FALSE. |
control.method |
If |
control.run |
List of control parameters for convergence and stopping the algorithms.
See *Details* of |
... |
Arguments passed to |
Value
turboSim
returns an object of class turbosim
.
See Also
Examples
###########################################################################
# Examples provided in the vignette, which can be seen by typing
# vignette("turboEM")