R/optim_fobj.R

Defines functions optim_fobj

Documented in optim_fobj

optim_fobj <-
function(x){
  #Trick to avoid passing lists to nls
  extra_args[[1]]<-x
  f<-do.call(fobj_global, extra_args);
  n_fun_eval <<- n_fun_eval + 1;  
	return(f[1])
}

Try the MEIGOR package in your browser

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

MEIGOR documentation built on Nov. 8, 2020, 7:46 p.m.