[R] How to obtain final gradient estimation from optim

Stéphane Luchini luchini at ehess.cnrs-mrs.fr
Thu Mar 27 12:24:53 CET 2003


I use optim to compute maximum likelihood estimations without giving an 
analytical gradient to optim. However, I would like to 
get an output of the final numerical gradient vector and the final matrix of 
contributions to the gradient. But I did not 
find any mention of this kind of output in help pages. Does anyone know how to 
do that ?

Stephane Luchini
GREQAM
Marseille, France



More information about the R-help mailing list