desc: Descending order.

Description Usage Arguments Examples

View source: R/desc.r

Description

Transform a vector into a format that will be sorted in descending order.

Usage

1
desc(x)

Arguments

x

vector to transform

Examples

1
2
3
4
desc(1:10)
desc(factor(letters))
first_day <- seq(as.Date("1910/1/1"), as.Date("1920/1/1"), "years")
desc(first_day)

sctyner/dplyr050 documentation built on May 17, 2019, 2:22 p.m.