mode | R Documentation |
Mode
mode(x, nbins=NA)
x |
vector of numerical or categorical values |
nbins |
Number of bins to use for continuous data |
#generate some data
data <- rnorm(10)
#calculate mode
mode(data)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.