createflagfragment: Create Flag for Small Data Fragments

Description Usage Arguments

View source: R/functions_L2.R

Description

createflagfragment flags short fragments of not flagged data that is in-between flagged data. Such cases occur often in spikes of outlier data.

Usage

1
createflagfragment(df, frag_len = NULL)

Arguments

frag_len

numeric, specifies the length of data fragments occurring in-between missing data that are automatically deleted during data cleaning. This can be helpful to remove short fragments of erroneous data within a period of missing data, i.e. after jumps. If frag_len = NULL the default value is set to frag_len = 2.1.

out

logical, vector with outlier flags.


treenet/treenetproc documentation built on June 16, 2021, 4:39 p.m.