Dear fellow R-users, Is there a function that does the bisection method? I was unable to find one. Thanks in advance. Gregory [[alternative HTML version deleted]]
Hi Gregory,
I have a function bisection.method() in the animation package, but it
is mainly for demonstration purpose, so it is probably not what you
really want for computation. Anyway, you may take a look at what it
looks like before you decide:
http://animation.yihui.name/compstat:bisection_method
You may play with any univariate function f(x) once you
install.packages('animation').
Regards,
Yihui
--
Yihui Xie <xieyihui at gmail.com>
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA
On Fri, Sep 10, 2010 at 5:10 PM, Gregory Gentlemen
<gregory_gentlemen at 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
>
>
>
> ? ? ? ?[[alternative HTML version deleted]]
>
> ______________________________________________
> 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.
>
uniroot On Sat, Sep 11, 2010 at 6:10 AM, Gregory Gentlemen < gregory_gentlemen@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 > > > > [[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<http://www.r-project.org/posting-guide.html> > and provide commented, minimal, self-contained, reproducible code. >[[alternative HTML version deleted]]
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_gentlemen at 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