arrange_across.: Arrange by a selection of variables

View source: R/arrange_across.R

arrange_across.R Documentation

Arrange by a selection of variables

Description

Deprecated

Usage

arrange_across.(.df, .cols = everything(), .fns = NULL)

Arguments

.df

A data.table or data.frame

.cols

vector c() of unquoted column names. tidyselect compatible.

.fns

Function to apply. If desc it arranges in descending order

Details

Arrange all rows in either ascending or descending order by a selection of variables.

Examples

## Not run: 
df <- tidytable(a = c("a", "b", "a"), b = 3:1)

df %>%
  arrange_across.()

df %>%
  arrange_across.(a, desc.)

## End(Not run)

tidytable documentation built on Oct. 5, 2023, 5:07 p.m.