Indicates if a sequence of values are (non strictly) montonic increasing, decreasing or either.
isMonotonic(v_n_values, s_direction = "either")
numeric vector. Length of
a string of the monotonic direction we are interested. Must be 'decreasing' 'increasing' or 'either'.
a boolean (logic vector length one) indicating if the sequence of values is monotonic. If v_n_values has a
NA value the result is
1 2 3 4 5
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.