Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

41_sequence_properties

Sequence Properties


Description

Functions to test basic sequence properties, excluding unique-related properties.

Usage

is.increasing (x)
is.decreasing (x)
is.nondecreasing (x)
is.nonincreasing (x)

Arguments

x

An integer/numeric vector.

Value

All functions return true or false.

See Also

Examples

x <- c (0, 0, 1, 2)

is.increasing (x)
is.nondecreasing (x)

vectools

Advanced Vector Toolkit

v0.2.0
GPL (>= 2)
Authors
Abby Spurdle
Initial release
2020-10-22

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.