is.unsorted-nanoival-method: Test if a 'nanoival' vector is Not Sorted

is.unsorted,nanoival-methodR Documentation

Test if a nanoival vector is Not Sorted

Description

Test if an object is not sorted (in increasing order), without the cost of sorting it.

Usage

## S4 method for signature 'nanoival'
is.unsorted(x, na.rm = FALSE, strictly = FALSE)

Arguments

x

a nanoival vector

na.rm

logical. Should missing values be removed before checking?

strictly

logical indicating if the check should be for _strictly_ increasing values.

See Also

sort


nanotime documentation built on Sept. 30, 2024, 9:44 a.m.