Order Data Frame Decreasingly by one Column
Examples
(df <- data.frame(a = 1:3, b = 11:13))
#> a b
#> 1 1 11
#> 2 2 12
#> 3 3 13
orderDecreasinglyBy(df, "a")
#> a b
#> 1 3 13
#> 2 2 12
#> 3 1 11
Order Data Frame Decreasingly by one Column
(df <- data.frame(a = 1:3, b = 11:13))
#> a b
#> 1 1 11
#> 2 2 12
#> 3 3 13
orderDecreasinglyBy(df, "a")
#> a b
#> 1 3 13
#> 2 2 12
#> 3 1 11