Performs check to determine if a vector is strictly increasing, strictly decreasing, not decreasing, or not increasing.

1 |

`x` |
a numeric vector |

`increasing` |
test for increasing/decreasing values |

`strictly` |
are duplicates OK |

Designed for internal use with xts, this provides highly optimized tests for ordering.

Logical

Jeffrey A. Ryan

`is.unsorted`

1 2 3 4 5 6 7 8 9 |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.