find.valid.periods: Find subsequent periods in a vector with values below a...

View source: R/PreprocessingFunctions.R

find.valid.periodsR 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


kollaR documentation built on June 8, 2025, 10:03 a.m.