R/f_easy.R

f_easy <- function(x, h, core_data){
  fv <- sum(x*x)
  fv <- fv*(1 + 0.1*sin(10*(x[1]+x[2])))
  ifail <- 0
  icount <- 1
  list(fv = fv, ifail = ifail, icount = icount)
}

Try the rImfil package in your browser

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

rImfil documentation built on May 2, 2019, 4:46 p.m.