Description Usage Arguments Value
View source: R/bowtie_functions.R
Using a sliding window approach, this function returns sub-vectors of a minimum size and average value found in a numeric vector containing values between 0-1
1 | consecutive_str(input_vector, window_length, min_value)
|
input_vector |
A numeric vector containing values between 0 and 1. |
window_length |
The minimum size of the desired sub-vectors. |
min_value |
The minimum average value of the sub-vectors. |
Returns a list of indicies that specify the location of found sub-vectors in the input vector
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.