View source: R/mathematical_functions.R
check_monotonic_increase | R Documentation |
Check that values in matrix-like object are (strictly) monotonically increasing/decreasing
check_monotonic_increase(
x,
MARGIN = 1L,
increase = TRUE,
strictly = FALSE,
fail = FALSE,
replacement = NA,
na.rm = FALSE
)
x |
A numeric matrix like object. |
MARGIN |
An integer value giving the subscripts over which the monotonicity will be checked; 1 indicates rows, 2 indicates columns. |
increase |
A logical value. If |
strictly |
A logical value. If |
fail |
A logical value. If |
replacement |
A value that replaces non-(strictly) monotonically
increasing/decreasing values if |
na.rm |
A logical value. If |
The updated x
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.