View source: R/matstat_utils.R
consectrue
is helper function of tanova
. It
computes the longest streak of TRUE values in each column (or row) of a
two-dimensional input.
1 | consectrue(x, col = TRUE, any_NA = NULL)
|
x |
logical vector, matrix or data.frame |
col |
logical value if the search shall be performed column-wise (TRUE, the default). Set to FALSE for row-wise counting. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.