[R] multiroot() anyone?

Prof Brian D Ripley
2002-03-19T21:47:43Z

On Tue, 19 Mar 2002, Mai Zhou wrote:

> Dear list, Did anybody have something like multiroot(),
> similar to uniroot() only for several varibles/function?
>
> I know the difficulty several varibles bring. But for
> nice functions, it can be useful.
>
> We are thinking of writing one....I thought to ask first.

I use optim() on the squared difference from the target value (here zero).

--
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595