R/ORDER.R

Defines functions ORDER.times ORDER.timeDate ORDER.default ORDER

Documented in ORDER ORDER.default

ORDER <- function(x, ...)
  UseMethod("ORDER")

ORDER.default <- function(x, ..., na.last = TRUE, decreasing = FALSE)
  order(x, ..., na.last = na.last, decreasing = decreasing)

ORDER.timeDate <- function(x, ...) {
  order(as.POSIXct(x), ...)
}

ORDER.chron <- ORDER.dates <- ORDER.times <- function(x, ...) {
  order(as.numeric(x), ...)
}
parsifal9/test documentation built on Dec. 31, 2020, 1:14 a.m.