R/2.1.addMethodIfMissing.R

Defines functions addMethodIfMissing

addMethodIfMissing <- function(optimParams) {
  if (!"method" %in% names(optimParams)) {
    method <- "L-BFGS-B"
  }

  return(method)
}

Try the Mmcsd package in your browser

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

Mmcsd documentation built on March 31, 2023, 7:23 p.m.