Hopefully this is a pretty simple question: Is there a function in R that calculates the "mode" of a sample? That is, I would like to be able to determine the value that occurs the most frequently in a data set. I tried the default R "mode" function, but it appears to provide a storage type or something else. I tried the RSeek and some R documentation that I downloaded, but nothing seems to mention calculating the "mode". Thanks again.
[[alternative HTML version deleted]]
______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.