Why does it matter what method is used? The uniroot function used a quicker method than bisection, but solves the same problem, so why do you need bisection? The only reason I can think is this is a homework problem, in which case we don't do homework.
In fact I have assigned this as homework before (to write a function to find roots using bisection) so I know it has been done, and is not that hard for you to do yourself. -- Gregory (Greg) L. Snow Ph.D. Statistical Data Center Intermountain Healthcare greg.s...@imail.org 801.408.8111 > -----Original Message----- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r- > project.org] On Behalf Of Gregory Gentlemen > Sent: Friday, September 17, 2010 1:29 PM > To: huang min; David Winsemius > Cc: r-help@r-project.org > Subject: Re: [R] Is there a bisection method in R? > > If uniroot is not a bisection method, then what function in R does use > bisection? > > Thanks. > > --- On Fri, 9/10/10, David Winsemius <dwinsem...@comcast.net> wrote: > > From: David Winsemius <dwinsem...@comcast.net> > Subject: Re: [R] Is there a bisection method in R? > To: "huang min" <minhua...@gmail.com> > Cc: "Gregory Gentlemen" <gregory_gentle...@yahoo.ca>, r-h...@r- > project.org > Received: Friday, September 10, 2010, 9:56 PM > > > On Sep 10, 2010, at 8:35 PM, huang min wrote: > > > uniroot > > ... is not a bisection method. > > > > > On Sat, Sep 11, 2010 at 6:10 AM, Gregory Gentlemen < > > gregory_gentle...@yahoo.ca> wrote: > > > >> Dear fellow R-users, > >> > >> Is there a function that does the bisection method? I was unable to > find > >> one. > >> > >> Thanks in advance. > >> Gregory > > --David Winsemius, MD > West Hartford, CT > > > > > [[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. ______________________________________________ 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.