clean: clean a sensor or a flagged sensor

Description Usage Arguments Examples

Description

clean a sensor or a flagged sensor

Usage

1

Arguments

x

sensor object

which

flags to replace

replace

replacement value for flagged indices. NULL removes the flagged row

...

additional flags to use (passed to flag(x,...))

Examples

1
2
3
4
data = c(999999, 1,2,3,4,2,3,4)
sensor = flag(data, 'x > 9999')
clean(sensor)
clean(data, 'x > 9999', 'persist(x) > 10', 'MAD(x) > 3', replace=NA)

USGS-R/sensorQC documentation built on May 9, 2019, 8:46 p.m.