g.part5.handle_lux_extremes: Check lux values for extremes and imputes or removes them

View source: R/g.part5.handle_lux_extremes.R

g.part5.handle_lux_extremesR Documentation

Check lux values for extremes and imputes or removes them

Description

Extreme values are imputed by mean of neightbours if they occur isolated or in a sequence of two, and removed if they occure in a sequence of 3 or longer.

Usage

  g.part5.handle_lux_extremes(lux)

Arguments

lux

Vector with lux values

Value

List of imputed lux values and a vector with matching length named correction_log indicating which timestamps where imputed (value=1), replaced by NA (value=2) or untouched (value=0).

Author(s)

Vincent T van Hees <v.vanhees@accelting.com>


GGIR documentation built on Oct. 17, 2023, 1:12 a.m.