nlminb_wrapper: Wrapper around 'nlminb'

View source: R/nlminb_wrapper.R

nlminb_wrapperR Documentation

Wrapper around nlminb

Description

This is a wrapper around nlminb to use scaling, as this is not available in optimx.

Usage

nlminb_wrapper(
  par,
  ll,
  ugr = NULL,
  lower = NULL,
  upper = NULL,
  mcontrol,
  hess = NULL,
  ddfobj,
  data,
  ...
)

Arguments

par

starting parameters

ll

log likelihood function

ugr

gradient function

lower

lower bounds on parameters

upper

upper bounds on parameters

mcontrol

control options

hess

hessian function

ddfobj

detection function specification object

data

the data

...

anything else to pass to ll

Value

optimx object

Author(s)

David L Miller, modified from optimx.run by JC Nash, R Varadhan, G Grothendieck.


mrds documentation built on May 29, 2024, 3:56 a.m.