length_true | R Documentation |
Length of consecutive TRUE
length_true(x)
x |
Logical vector. |
x <- c(TRUE, TRUE, FALSE, TRUE)
length_true(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.