View source: R/make_monotonic.R
make_monotonic | R Documentation |
Given a vector v
of length greater than 1, returns a logical vector
the same length as v
indicating whether each element of v
is
greater (or less-than, if decreasing==TRUE
) than all previous elements.
make_monotonic(vect, decreasing = T)
vect |
A numeric vector. |
decreasing |
Should the output indicate monotonically decreasing? |
A logical vector.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.