desc.: Descending order

Description Usage Arguments Examples

View source: R/desc.R

Description

Arrange in descending order. Can be used inside of arrange.()

Usage

1
desc.(x)

Arguments

x

Variable to arrange in descending order

Examples

1
2
3
4
5
6
7
8
test_df <- data.table(
  a = c(1,2,3),
  b = c(4,5,6),
  c = c("a","a","b")
)

test_df %>%
  arrange.(c, desc.(a))

mtfairbanks/gdt documentation built on May 4, 2021, 9:44 a.m.