Arrange rows by a selection of variables
Scoped verbs (_if
, _at
, _all
) have been superseded by the use of
across()
in an existing verb. See vignette("colwise")
for details.
arrange_all(.tbl, .funs = list(), ..., .by_group = FALSE) arrange_at(.tbl, .vars, .funs = list(), ..., .by_group = FALSE) arrange_if(.tbl, .predicate, .funs = list(), ..., .by_group = FALSE)
.tbl |
A |
.funs |
A function |
... |
Additional arguments for the function calls in
|
.by_group |
If |
.vars |
A list of columns generated by |
.predicate |
A predicate function to be applied to the columns
or a logical vector. The variables for which |
The grouping variables that are part of the selection participate in the sorting of the data frame.
df <- as_tibble(mtcars) arrange_all(df) # -> arrange(df, across()) arrange_all(df, desc) # -> arrange(df, across(everything(), desc))
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.