Description Usage Arguments Details Value Examples
Produces a sequence of booleans of the same length as input, with sequences of TRUE values shorter than n replaced with FALSE.
1 | select.blocks.gt.length(d, n, na.value = FALSE)
|
d |
Sequence of booleans. |
n |
Longest sequence of TRUE to replace with FALSE. |
na.value |
Values to replace NAs with. |
This function takes a series of booleans and returns a sequence of booleans
of equal length, with all sequences of TRUE of length n
or shorter
replaced with sequences of FALSE. NA values are replaced with
na.value
.
A vector of booleans, with the length n
or less sequences of
TRUE replaced with FALSE.
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.