optimizing_all: Run several instances of the optimization algorithm.

Description Usage Arguments Value

Description

Note that this function returns the results of all the instances while optimizing_best only returns the converging instance with highest log posterior density.

Usage

1
optimizing_all(stanDots, nRuns, nCores)

Arguments

stanDots

The arguments to the passed to rstan's optimizing.

nRuns

An optional integer with the number of initializations.

nCores

An optional integer with the number of cores to be used. If equal to one, the instances are run sequentially. Otherwise, doParallel's backend is used for parallel computing. It defaults to one.

Value

An OptimizationList object.


luisdamiano/BayesHMM documentation built on May 20, 2019, 2:59 p.m.