Order Data Frame Decreasingly by one Column

order_decreasingly_by(df, column)

Arguments

df

data frame

column

name of column by which to order decreasingly.

Examples

(df <- data.frame(a = 1:3, b = 11:13))
#> a b #> 1 1 11 #> 2 2 12 #> 3 3 13
kwb.pathdict:::order_decreasingly_by(df, "a")
#> a b #> 1 3 13 #> 2 2 12 #> 3 1 11