[R] mode

Douglas Bates bates at stat.wisc.edu
Fri Dec 12 02:32:24 CET 2003


"Christian Mora" <christian_mora at vtr.net> writes:

> How can I get the mode (most frequent value) from a dataset (continuos
> variables)? I can obtain it when the data is discrete (by making a table
> and looking at the higher frequency) but I don't know how obtain it
> from, for example, a density plot of the data. Does anyone know how to
> do it? Thanks

I don't think the mode of a sample from a continuous random variable is well
defined.




More information about the R-help mailing list