Skip to contents

Method for checking if signal is increasing or decreasing monotonously

Usage

is_monotonous(signal)

Arguments

signal

Signal values (Numeric | vector)

Value

Boolean

Details

A monotonic signal is a function that keeps increasing or decreasing as its domain variable proceeds.#'

Author

Shubhra Prakash, shubhraprakash279@gmail.com

Examples

x=1:100
is_monotonous(x)
#> [1] TRUE