extract_best: Return the optimization object for the run with the hightest...

Description Usage Arguments Value

Description

It doesn't do anything fancy but it's a neat quality-of-life feature :).

Usage

1
extract_best(stanoptimList)

Arguments

stanoptimList

An object returned by optimizing when called with 'nRuns' greater than one and 'keep = "all"'.

Value

A named matrix with one row for each time the optimization procedure was run. Columns include the seed, the estimated log posterior evaluated at the maximum, the code returned by the optimization algorithm, the time elapsed (user, system and total) in seconds, and the estimated value of the parameters selected in


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