[R] Question about R mode

2010-04-15 Thread djackson
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

Re: [R] Question about R mode

2010-04-15 Thread Paul Hiemstra
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

Re: [R] Question about R mode

2010-04-15 Thread Patrick Burns
On 15/04/2010 08:52, Paul Hiemstra wrote: 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

Re: [R] Question about R mode

2010-04-15 Thread Greg Snow
- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r- project.org] On Behalf Of djack...@miners.utep.edu Sent: Wednesday, April 14, 2010 8:55 PM To: r-help@r-project.org Subject: [R] Question about R mode Hello all, I am using R to perform certain calculations on huge amounts