R/grnd.R

Defines functions grnd

Documented in grnd

############### grnd.R ####################
grnd<-function(par, userfn, ...) { # using grad from numDeriv
# with Richardson method
   tryg<-numDeriv::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 Oct. 24, 2023, 5:06 p.m.