Are you looking for something like nlm()? It does minimization in any number of dimensions using a Newton-type algorithm; it can be manually given gradients / Hessians, or alternatively you can give it neither and let them approximated empirically.
Taylor On Wed, Nov 16, 2011 at 11:00 AM, Edward Patzelt <patze...@umn.edu> wrote: > R - > > Does anyone know of a cubic gradient descent package? I found grad.desc() > but that only allows for a 2d function. I have 3 free parameters and thus > am looking for a 3d function. > > Thank you, > > -- > Edward H. Patzelt > Research Assistant TRiCAM Lab > University of Minnesota Psychology/Psychiatry > VA Medical Center > S355 Elliot Hall: 612-626-0072 > www.psych.umn.edu/research/tricam > > [[alternative HTML version deleted]] > > > ______________________________________________ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > > [[alternative HTML version deleted]]
______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.