replace runs of numerically equal values by NA
     
    
    filterLongRunsInVector(x, minNRunLength = 8, 
    replacement = NA, na.rm = TRUE)
 
    
    Arguments
    
- x
- vector in which to replace long runs 
- minNRunLength
- minimum length of a run to replace.
Defaults to 4 hours in half-hourly spaced data. 
- replacement
- value replacing the original values in long run 
- na.rm
- set to FALSE if NA values interrupt runs 
 
    
    Value
    vector x with long runs replaced by NA
     
    
    Author
    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]