stat.mode | R Documentation |
Compute the sample mode Nearly copy-paste from an answer from Ken Williams http://stackoverflow.com/users/169947/ken-williams see http://stackoverflow.com/a/8189441/2116422
stat.mode(x, type = "mode")
x |
a numeric vector |
type |
mode' for the mode; anything else gives the frequence of the mode |
the mode (single numeric value) or its frequence
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.