Re: [R] Fwd: Re: Nonlinear equation

From: Paul Smith <phhs80_at_gmail.com>
Date: Wed, 02 Apr 2008 17:55:41 +0100

On Wed, Apr 2, 2008 at 5:05 PM, <robert-mcfadden_at_o2.pl> wrote:
> > >> > hi: you need to give an example and details or
> > >> > you won't get much response, if any.
> > >
> > > Equation e.g. (A, B are known constants):
> > > 3log(gamma(x))-log(gamma(x)*gamma(2x))+(x-1)*A+B=0
> >
> > uniroot() can solve that if you can bracket the solution.
>
> Thank you very much - that's exactly what I need.

To bracket the solution, plot the curve of your function (?curve).

Paul



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. Received on Wed 02 Apr 2008 - 16:58:03 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 02 Apr 2008 - 17:30:26 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive