R/is_sorted.R

Defines functions is_unsorted is_strictly_unsorted

Documented in is_strictly_unsorted is_unsorted

#' @details 
#' 
#' [is_sorted()] is a alias for [is_monotonic()] and [is_strictly_sorted()] is
#' an alias for [is_strictly_monotonic()].
#' 
#' @rdname tests
#' @md
#' @export   

is_sorted <- is_monotonic


#' @rdname tests
#' @md
#' @export   

is_strictly_sorted <- is_strictly_monotonic


#' @rdname tests
#' @md
#' @export   

is_unsorted <- function(...) ! is_monotonic(...) 


#' @rdname tests
#' @md
#' @export  

is_strictly_unsorted <- function(...) ! is_strictly_monotonic(...) 
decisionpatterns/ordering documentation built on May 5, 2019, 7:09 a.m.