[R] summary() and the mode

Jim Lemon jim at bitwrit.com.au
Thu Jan 23 22:25:58 CET 2014

On 01/24/2014 07:27 AM, Ruhil, Anirudh wrote:
> A student asked: Why does R's summary() command yield the Mean and the Median, quartiles, min, and max but was written to exclude the Mode?
> I said I had no clue, googled the question without much luck, and am now posting it to see if anybody knows why.
> Ani
Hi Ani,
I seem to recall some objection to including the mode when this question 
was asked previously. In any case, there is a Mode (note the capital M) 
function in the prettyR package.


More information about the R-help mailing list