View source: R/data.frame-handling.R
| arrange_rows | R Documentation | 
Arranges the rows of a data.frame according to the positions of their maxima or their minima. The earlier a rows maximum/minimum appears the earlier the row will appear in the returned data.frame.
arrange_rows(df, according.to, verbose, across = NULL)
df | 
 A data.frame with at least one numeric variable.  | 
according.to | 
 Character. Either 'maxima or 'minima'.  | 
verbose | 
 Logical. If set to TRUE informative messages regarding the computational progress will be printed. (Warning messages will always be printed.)  | 
across | 
 Deprecated in favor of   | 
The arranged data.frame.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.