[R] mode

Christian Mora christian_mora at vtr.net
Fri Dec 12 00:08:21 CET 2003


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
CM




More information about the R-help mailing list