wrap_optim: A wrapper for optim function

View source: R/wrap_optim.R

wrap_optimR Documentation

A wrapper for optim function

Description

A wrapper for optim function

Usage

wrap_optim(optim_options, param_info, crit_options)

Arguments

optim_options

see description in estim_param

param_info

see description in estim_param

crit_options

List containing several arguments given to estim_param function: param_names, obs_list, crit_function, model_function, model_options, param_info, transform_obs, transform_sim that must be passed to main_crit function by the methods wrappers.

Value

prints, graphs and a list containing: final_values, the vector of estimated values for optimized parameters for the repetition that lead to the lowest value of the criterion init_values, the vector of initial values for optimized parameters est_values, the vector of estimated values for optimized parameters for all repetitions ind_min_crit, the index of the repetition that lead to the lowest value of the criterion optim, the data structure returned by nloptr


SticsRPacks/CroptimizR documentation built on Dec. 16, 2024, 11:54 a.m.