Skip to content

Commit

Permalink
Mention the forder-applicable case for a descending sort operation (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
Anirban166 authored Mar 30, 2024
1 parent 566bff0 commit 898dce3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions man/setorder.Rd
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ setorder(x, \dots, na.last=FALSE)
setorderv(x, cols = colnames(x), order=1L, na.last=FALSE)
# optimised to use data.table's internal fast order
# x[order(., na.last=TRUE)]
# x[order(., decreasing=TRUE)]
}
\arguments{
\item{x}{ A \code{data.table}. }
Expand Down

0 comments on commit 898dce3

Please sign in to comment.