Re: [R] Solve f(x) = 0

From: Achim Zeileis <Achim.Zeileis_at_wu-wien.ac.at>
Date: Thu 09 Jun 2005 - 01:45:55 EST

On Wed, 8 Jun 2005 17:08:35 +0200 Fredrik Thuring wrote:

>
> Hi!
>
> Im need a function that solves the equation f(x) = 0 (i.e. the root
> of the function) when f is a nonlinear function. Is there any? Ive
> tried nlm and optim on the square of the function but the solution is
> very unstable.

Look at
  ?uniroot
hth,
Z

> Thanks before hand.
>
> / Fredrik Thuring
>
>
> ---------------------------------------------------------------------
> --------- This e-mail and any attachment may be confidential and may
> also be privileged. If you are not the intended recipient, please
> notify us immediately and then delete this e-mail and any attachment
> without retaining copies or disclosing the contents thereof to any
> other person. Thank you.
> ---------------------------------------------------------------------
> ---------
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide!
> http://www.R-project.org/posting-guide.html
>



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Thu Jun 09 01:59:12 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:32:27 EST