consecutive_str: Find sub-vectors of a certain minimum size and average value...

Description Usage Arguments Value

View source: R/bowtie_functions.R

Description

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

Usage

1
consecutive_str(input_vector, window_length, min_value)

Arguments

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.

Value

Returns a list of indicies that specify the location of found sub-vectors in the input vector


k-niss/bowtie documentation built on March 10, 2020, 10:10 a.m.