Description Usage Arguments Value Examples
Transform a function (typically used in sort_by), so that its
ouput can be sorted in descending order.
| 1 | descending(f)
 | 
| f | a function to modify. | 
A function returning a numeric vector which, if passed to
order, will be used to sort some data.
| 1 2 3 4 5 | desc_abs <- descending(abs)
x <- -2:1
order(abs(x))
order(desc_abs(x))
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.