[R] statistical mode function

Elena MOLTCHANOVA moltchan at iiasa.ac.at
Fri Aug 24 14:08:15 CEST 2001


Hello R-users,

I am aware that this is a very basic question, but still... Since mode() 
function is reserved for something else, is there a function to calculate 
statistical mode for a vector or a matrxi?

i.e. mode.function(c(1,2,2,2,3,3))=2

Thanks in advance,

	Elena Moltchanova
Elena MOLTCHANOVA
IIASA
International Institute for Applied Systems Analysis
A-2361 Laxenburg, Austria
E-Mail: moltchan at iiasa.ac.at
Phone : +43 2236 807-0
Fax   : +43 2236 71313

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list