Standard library function in R for finding the mode?
Posted
by Nick
on Stack Overflow
See other posts from Stack Overflow
or by Nick
Published on 2010-03-30T17:55:07Z
Indexed on
2010/03/30
18:23 UTC
Read the original article
Hit count: 214
In statistical language R, mean()
and median()
are standard functions which do what you'd expect. mode()
tells you the internal storage mode of the R object, not the value that occurs the most in its argument. But surely there is a standard library function that implements mode for a vector (or list).
© Stack Overflow or respective owner