is_decrease: check whether the vector is decreasing

Description Usage Arguments Value Examples

Description

check whether the vector is decreasing

Usage

1

Arguments

x

a numeric vector

Value

TRUE if decreasing, FALSE if npt.

Examples

1
2
is_decrease(rev(c(1,1,1,10,10)))
is_decrease(c(1,2,1,10,10))

Fan-Yang-Econ/linear.tools_github documentation built on May 6, 2019, 4:34 p.m.