mode_data.frame | R Documentation |
Calculate the mode frequency for each column of the data frame.
mode_data.frame(data)
data |
a data frame. |
The result is in the form of a data frame that returns answers in the form of column name, mode, and frequency. More than one answer may be returned for a column as the mode may not be uniquely obtained.
mode_data.frame(iris)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.