filterLongRuns {REddyProc} | R Documentation |
filterLongRuns
Description
replace runs, i.e sequences of numerically equal values, by NA
Usage
filterLongRuns(data, colNames, ...)
Arguments
data |
data.frame with columns to filter |
colNames |
string vector of names indicating which columns to filter |
... |
further arguments to |
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 <U+0160>igut <sigut.l@czechglobe.cz> [ctb]