ordering: Test, Check, Verify, Investigate the Monotonic Properties of Vectors

Functions to test/check/verify/investigate the ordering of vectors. The 'is_[strictly_]*' family of functions test vectors for 'sorted', 'monotonic', 'increasing', 'decreasing' order; 'is_constant' and 'is_incremental' test for the degree of ordering. `ordering` provides a numeric indication of ordering -2 (strictly decreasing) to 2 (strictly increasing).

Getting started

Package details

AuthorChristopher Brown [aut, cre], Decision Patterns [cph]
MaintainerChristopher Brown <chris.brown@decisionpatterns.com>
LicenseGPL (>= 2)
Version0.7.0
URL https://github.com/decisionpatterns/ordering
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("ordering")

Try the ordering package in your browser

Any scripts or data that you put into this service are public.

ordering documentation built on May 1, 2019, 9:16 p.m.