Learn R Programming

Synth (version 1.1-8)

collect.optimx: Collect results from optimx optimization methods

Description

An internal function that collects the results from the different optimization methods run by optimx. It stores the parameter and function values and extracts the results for the best performing method (minimum or maximum).

Usage

collect.optimx(res, opt = "min")

Value

out.list

Dataframe with results from the different methods.

par

Parameter values from method that attained minimum/maximum across the methods.

value

Function value from method that attained minimum/maximum across the methods.

Arguments

res

Output from a call to optimx().

opt

Either "min" or "max" to extract results for he methods that obtained the minimum or maximum function value across the methods.

Author

Jens Hainmueller

See Also

Also see optimx.