filterLongRuns.Rd
replace runs, i.e sequences of numerically equal values, by NA
filterLongRuns(data, colNames, ...)
data.frame with columns to filter
string vector of names indicating which columns to filter
further arguments to filterLongRunsInVector
such as minNRunLength
.
Longer runs, i.e. sequences of numerically identical values, in a series of measurements hint to problems during a noisy measurement, e.g. by sensor malfunction due to freezing. This function, replaces such values in such runs to indicate missing values.
data.frame ans
with long runs in specified columns replaced by NA