[R] Fwd: Re: Nonlinear equation
Paul Smith
phhs80 at gmail.com
Wed Apr 2 18:55:41 CEST 2008
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
More information about the R-help
mailing list