filterLongRuns: filterLongRuns

Description Usage Arguments Details Value Author(s)

View source: R/DataFunctions.R

Description

replace runs, i.e sequences of numerically equal values, by NA

Usage

1
filterLongRuns(data, colNames, ...)

Arguments

data

data.frame with columns to filter

colNames

string vector of names indicating which columns to filter

...

further arguments to filterLongRunsInVector such as minNRunLength.

Details

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.

Value

data.frame ans with long runs in specified columns replaced by NA

Author(s)

Department for Biogeochemical Integration at MPI-BGC, Jena, Germany <REddyProc-help@bgc-jena.mpg.de> [cph], Thomas Wutzler <twutz@bgc-jena.mpg.de> [aut, cre], Markus Reichstein <mreichstein@bgc-jena.mpg.de> [aut], Antje Maria Moffat <antje.moffat@bgc.mpg.de> [aut, trl], Olaf Menzer <omenzer@bgc-jena.mpg.de> [ctb], Mirco Migliavacca <mmiglia@bgc-jena.mpg.de> [aut], Kerstin Sickel <ksickel@bgc-jena.mpg.de> [ctb, trl], Ladislav Šigut <sigut.l@czechglobe.cz> [ctb]


REddyProc documentation built on March 18, 2020, 9:07 a.m.