find.valid.periods {kollaR} | R Documentation |
Find subsequent periods in a vector with values below a threshold. Used internally by the function suggest_threshold
Description
This function is used internally by suggest_threshold.
Usage
find.valid.periods(data_in, threshold, min_samples, margin = 0)
Arguments
data_in |
Data to process |
threshold |
Search for values under this threshold |
min_samples |
Minimum length of consecutive run in samples |
margin |
Shrink the period of consecutive runs at both ends with this margin |
[Package kollaR version 1.1.1 Index]