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

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