R/cov_clm__addConfigToOptimParams__addMethodIfMissing.R

Defines functions addMethodIfMissing

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

  return(method)
}
phmpacheco-ufjf/clm documentation built on Dec. 22, 2021, 8:40 a.m.