consectrue: Maximum number of consecutive TRUE values in each column/row...

Description Usage Arguments

View source: R/matstat_utils.R

Description

consectrue is helper function of tanova. It computes the longest streak of TRUE values in each column (or row) of a two-dimensional input.

Usage

1
consectrue(x, col = TRUE, any_NA = NULL)

Arguments

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.


tdeenes/eegR documentation built on April 19, 2021, 4:17 p.m.