run_optimx: run_optimx

View source: R/run_optimx.R

run_optimxR Documentation

run_optimx

Description

runs optimization using optimx package

Usage

run_optimx(
  objective,
  start,
  lower = -Inf,
  upper = Inf,
  hessian = FALSE,
  method = "nmkb",
  control = list(),
  ...
)

Arguments

objective

function; the objective function to minimize

start

numeric vector; starting parameters

lower

numeric vector; lower bounds for parameters

upper

numeric vector; upper bounds for parameters

hessian

logical; if TRUE, find the hessian at the optimum

method

string; method to use. See optimx for details

control

list; a list of control parameters, see optimx for details

...

further arguments passed to optimx and objective


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