get_series_lengths | R Documentation |
Calculates the lengths of consecutive TRUE values in a logical vector.
get_series_lengths(bools)
bools |
Logical vector. |
Numeric vector. Lengths of consecutive TRUE runs.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.