is_increase: check whether the vector is increasing

Description Usage Arguments Value Examples

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))

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