fit_de: fit_de

View source: R/fit_de.R

fit_deR Documentation

fit_de

Description

runs optimization using RcppDE package (Rcpp version of DEoptim)

Usage

fit_de(
  objective,
  start = NULL,
  lower = NULL,
  upper = NULL,
  hessian = FALSE,
  sigma = 0.1,
  n_pop = 50L,
  opt_args = list(),
  obj_args = list(),
  ...
)

Arguments

objective

function; the objective function to minimize

start

numeric vector; starting parameters

lower

numeric vector; lower bounds on parameters

upper

numeric vector; upper bounds on parameters

hessian

logical; if TRUE, hessian is calculated at solution. Default = FALSE

sigma

numeric vector; standard deviation to create random initial population

n_pop

numeric vector; size of population

opt_args

list; list of arguments passed to DEoptim, see RcppDE::DEoptim for details

obj_args

list; list of arguments to pass on to objective function

...

further arguments passed to objective


gkane26/modelfitr documentation built on March 21, 2022, 10:52 a.m.