check whether the vector is increasing

Share:

Description

check whether the vector is increasing

Usage

1

Arguments

x

a numeric vector

Value

TRUE if increasing, FALSE if not

Examples

1
2
is_increase(c(1,1,1,10,10))
is_increase(c(1,2,1,10,10))

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.