djack...@miners.utep.edu wrote:
Hello all,

I am using R to perform certain calculations on huge amounts of data.  In short 
I need a function that does the mode function, ie returns the most common 
element.  I looked at the mode function in R but it seems to return the type of 
the data element you give it.  Does such a method exist?  I have tried googling 
this to no avail as all the results lead me back to the mode function I do not 
want.
I googled for "R calculate mode", the first hit was this result:

http://www.mail-archive.com/r-help@r-project.org/msg30197.html

this is probably what you want.

cheers,
Paul
Thanks,

Don
[[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

--
Drs. Paul Hiemstra
Department of Physical Geography
Faculty of Geosciences
University of Utrecht
Heidelberglaan 2
P.O. Box 80.115
3508 TC Utrecht
Phone:  +3130 274 3113 Mon-Tue
Phone:  +3130 253 5773 Wed-Fri
http://intamap.geo.uu.nl/~paul
http://nl.linkedin.com/pub/paul-hiemstra/20/30b/770

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to