Determines if the sequence of vector elements are increasing or decreasing with the option to specify strictness.
1 | is_monotone(x, strict)
|
x |
numeric vector |
strict |
logical; if true then strict monotonicity is determined |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.