[R] uniroot vs.optimize

Don MacQueen macq at llnl.gov
Fri Nov 20 04:54:45 CET 2009


Well, there is a difference between finding a root, and finding a 
minimum or a maximum. So you would use one or the other depending on 
which you need to do.

-Don


At 7:00 PM -0800 11/19/09, <rkevinburton at charter.net> wrote:
>I looked at the descriptions for uniroot and optimize and they are 
>somewhat different but the book reference is the same and I am 
>wondering if there are reasons to pick one over the other?
>
>Thank you.
>
>Kevin
>
>______________________________________________
>R-help at 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.


-- 
---------------------------------
Don MacQueen
Lawrence Livermore National Laboratory
Livermore, CA, USA
925-423-1062
macq at llnl.gov




More information about the R-help mailing list