Skip to content
Prev 33679 / 398513 Next

mode of a data set

Dear Erin,
Assuming that by "data set" you mean a vector "v", then

sort(table(v))

will give you what you want.
On Mon, 23 Jun 2003, Erin Hodgess wrote:

            
J.R. Lockwood
412-683-2300 x4941
lockwood at rand.org
http://www.rand.org/methodology/stat/members/lockwood/