R/convergence.r

Defines functions convergenceCriterion

convergenceCriterion <- function(method)
{
  switch(tolower(method),
         `newton-raphson` = c(1L, 2L),
         nr = c(1L, 2L),
         bfgs = 0L,
         bfgsr = c(1L, 2L),
         `bfgs-r` = c(1L, 2L),
         bhhh = c(1L, 2L),
         `nelder-mead` = 0L,
         nm = 0L,
         sann = 0L)
}

Try the sigInt package in your browser

Any scripts or data that you put into this service are public.

sigInt documentation built on Jan. 11, 2020, 9:20 a.m.