View source: R/arrange_across.R
arrange_across. | R Documentation |
Deprecated
arrange_across.(.df, .cols = everything(), .fns = NULL)
.df |
A data.table or data.frame |
.cols |
vector |
.fns |
Function to apply. If |
Arrange all rows in either ascending or descending order by a selection of variables.
## Not run:
df <- tidytable(a = c("a", "b", "a"), b = 3:1)
df %>%
arrange_across.()
df %>%
arrange_across.(a, desc.)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.