R/grnd.R

############### grnd.R ####################
grnd<-function(par, userfn, ...) { # using grad from numDeriv
# with Richardson method
   tryg<-grad(userfn, par, ...)
}
############### end grnd ####################

Try the optimx package in your browser

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

optimx documentation built on June 14, 2019, 3:01 p.m.