Description Usage Arguments Details Value Author(s)
View source: R/reOrderDataFrameFactors.R
this function takes a data frame and returns it with reordered levels
1 | reOrderAll(mydata, factCols = NULL)
|
mydata |
a data frame |
factCols |
a character vector of factor columns (optional) |
only reoders factor levels
a data frame with factors levels so most frequent is first
a data frame or factor with the the most frequent level first for each factor
Matthew Davis
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.