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).
collect.optimx(res, opt = "min")
Dataframe with results from the different methods.
Parameter values from method that attained minimum/maximum across the methods.
Function value from method that attained minimum/maximum across the methods.
Output from a call to optimx().
Either "min" or "max" to extract results for he methods that obtained the minimum or maximum function value across the methods.
Jens Hainmueller
Also see optimx
.