You can try nlm or optimize (for the univariate case) with several
starting points.
Hope this helps,
Giovanni
__________________________________________________
[ ]
[ Giovanni Petris GPetris at uark.edu ]
[ Department of Mathematical Sciences ]
[ University of Arkansas - Fayetteville, AR 72701 ]
[ Ph: (479) 575-6324, 575-8630 (fax) ]
[ http://definetti.uark.edu/~gpetris/ ]
[__________________________________________________]
> Date: Mon, 29 Jul 2002 22:01:03 +0200
> From: Stephan Holl <sholl at gmx.net>
> Organization: Steph_online
> X-Sender: 510007208979-0001 at t-dialin.net
> Sender: owner-r-help at stat.math.ethz.ch
>
> --=.0:+4HVM5sai6SJ
> Content-Type: text/plain; charset=US-ASCII
> Content-Transfer-Encoding: 7bit
>
> Dear R-List,
>
> I am looking for a function which calculates the mode of a distribution.
>
> Are there any functions around or do I have co write my own?
>
> Thank you
>
> Stephan
>
> --
> Linux: the operating system with a CLUE...
> Command Line User Environment.
> --------------------------------------
> Stephan Holl
> GnuPG Key-ID: 11946A09
> ICQ# 117277975
> --------------------------------------
>
> --=.0:+4HVM5sai6SJ
> Content-Type: application/pgp-signature
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.0.7 (GNU/Linux)
>
> iD8DBQE9RZ8CEg9SKhGUagkRAkZ/AJ0Vy5VoLCvje1ysD0RaKNIzB2pp2QCfQgWk
> JXaRS7BvxGL8fujbiCOgiNI> =TC8o
> -----END PGP SIGNATURE-----
>
> --=.0:+4HVM5sai6SJ--
>
>
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
> r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
> Send "info", "help", or "[un]subscribe"
> (in the "body", not the subject !) To: r-help-request at
stat.math.ethz.ch
>
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
>
>
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at
stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._